Yandex Array Coding Interview Questions
39 array coding problems are tagged as asked at Yandex in interviews and online assessments reported by candidates. By difficulty they split into 17 basic, 17 intermediate and 5 advanced. The topics they most often combine with are Sorting, Sliding Window, Hash Table, Stack.
Reported questions change over time and are not a guarantee of what you will be asked, so use the list to see which patterns Yandex tends to test. For each problem, practise explaining your approach, its time and space cost and the edge cases before you write the code; every problem opens in an editor that runs your code against test cases.
Coding problems
- Two Sum (Basic)
- Best Time to Buy and Sell Stock (Basic)
- Maximum Subarray (Intermediate)
- Product of Array Except Self (Intermediate)
- Move Zeroes (Basic)
- Search Insert Position (Basic)
- Coin Change (Intermediate)
- Longest Increasing Subsequence (Advanced)
- Majority Element (Basic)
- Intersection of Two Arrays (Basic)
- Two Sum in a Sorted Array (Basic)
- Minimum Size Subarray Sum (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Container With Most Water (Intermediate)
- Trapping Rain Water (Advanced)
- Remove Element (Basic)
- Max Consecutive Ones (Basic)
- Squares of a Sorted Array (Basic)
- Daily Temperatures (Intermediate)
- Search in a Rotated Sorted Array (Advanced)
- Minimum in a Rotated Sorted Array (Intermediate)
- Merge Intervals (Intermediate)
- Subarrays Divisible by K (Intermediate)
- Find K Closest Elements (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Container With Most Water (Intermediate)
- Top K Frequent Values (Intermediate)
- LRU Cache Operations (Basic)
- Hit Counter (Intermediate)
- Min Stack Operations (Basic)
- Interval List Intersections (Intermediate)
- Sliding Window Maximum Values (Advanced)
- Maximize Distance to Closest Person (Basic)
- Median of Two Sorted Arrays (Advanced)
- Find the Difference of Two Arrays (Basic)
- Monotonic Array (Basic)
- Number of Recent Calls (Basic)
- Implement Queue Using Stacks (Basic)
- Running Median of Stream (Intermediate)
Related
- Yandex coding interview questions
- Array problems
- Yandex basic problems
- Yandex intermediate problems
- Yandex advanced problems
- Company interview roadmaps
- All interview guides
Frequently asked questions
How should I use the Yandex problem list?
Start with the basic problems, then the intermediate and advanced ones, and note which topics repeat. Solve each under a timer, then read the explanation.
Are these the exact Yandex interview questions?
They are problems candidates reported being asked. Companies rotate questions, so use them to learn the patterns, not to predict the exact question.