Build your intuition. Click the correct answer from the options.
Reversing words in a string is a problem that can be solved by two-pointer technique. How should the two pointers be used?
Click the option that best answers the question.
- Both pointers placed at the beginning of array
- Pointers placed at beginning and end of array
- Pointer placed at first and second element of array
- None of the above