We know that A read-only Turing machine or Two-way deterministic finite-state automaton (2DFA)is class of models of computability that behave like a standard Turing machine and can move in both directions across input, except cannot write to its input tape. The machine in its bare form is equivalent to a Deterministic finite automaton in computational power, and therefore can only parse a regular language.
This language $L = \{ (u\#,v\#)| u, v \in(a,b)^*, |u|=|2v| \}$ is checked by 2-way DFA but not possible to check $|u|=|2v|$ by DFA ,so my question is how could we say 2-way DFA is equivalent to DFA? Because by 2-way DFA we are able to check $|u|=|2v|$ but not possible by DFA or 1-way DFA.