
Approach
- Ifin_place reversal is required this can be considered.
- Ask, when will theslow_pointer be increased and when will thefast_pointer be increased?
- Theiteration_condition ortest_condition will mostly be based on the increment offast_pointer.
- Sometimes, only thefast_slow_pointers will be updated incurrent_iteration_scope and updation of actual data will happen in thenext_iteration_scope
NOTE:for_loop has initialisation,iteration_condition , updation (increament or decrement)