Does anyone face problem like me? I found that when I tried to write two pointer, I am very confused and I struggle with my code for very long time. Sometimes, I easily bugged. How can I improve this?
Why is two pointer algorithm very difficult?
Does anyone face problem like me? I found that when I tried to write two pointer, I am very confused and I struggle with my code for very long time. Sometimes, I easily bugged. How can I improve this?