Запитання 6
How does the 'staged traversal' two-pointer approach operate?
Варіанти відповідей
One pointer moves to find a condition, then the second pointer proceeds to gather additional information
Both pointers move simultaneously and stop upon meeting
Pointers alternate moving every other step without relation
Both pointers move randomly with no specific condition