Explain It in Your Own Words: Two Pointers
Explain it in your own words, the way you would in an interview. The interviewer will listen and ask a couple of follow-up questions. About 4 minutes; headphones work best.
Объясни приём «два указателя»: когда он применим, почему даёт O(n) вместо O(n²), и на каком примере ты бы это показал на собесе?Answer by voice