Solving algorithms in leetcode, preparing for interviews together. Entering Russian Big Tech in 1...

Опубликовано: 04 Сентябрь 2026
на канале: ШОРТКАТ — менторская программа
553
10

In the second stream, we'll continue the topic of arrays, looking at two approaches:
Two pointers
Sliding window

Both approaches are widely used in array-related tasks, but not only in them. In the stream, I'll discuss when else these approaches can be applied.

First task: Checking a string for a valid palindrome
This task clearly demonstrates which tasks this approach is best used for and what advantages it provides.
https://leetcode.com/problems/valid-p...

Second task: Choosing the best time to buy and sell stocks
https://leetcode.com/problems/best-ti...