Yandex Interview Questions (130)
Practice real interview problems from Yandex
| Status | Title | Solution | Practice | Difficulty | Companies | Topics |
|---|---|---|---|---|---|---|
| 4. Median of Two Sorted Arrays | Solution | Solve | Hard | Accenture+44 | ||
| 23. Merge k Sorted Lists | Solution | Solve | Hard | Airbnb+49 | ||
| 42. Trapping Rain Water | Solution | Solve | Hard | Accenture+72 | ||
| 68. Text Justification | Solution | Solve | Hard | Airbnb+43 | ||
| 76. Minimum Window Substring | Solution | Solve | Hard | Adobe+34 | ||
| 124. Binary Tree Maximum Path Sum | Solution | Solve | Hard | Adobe+24 | ||
| 239. Sliding Window Maximum | Solution | Solve | Hard | Adobe+47 | ||
| 295. Find Median from Data Stream | Solution | Solve | Hard | Amazon+39 | ||
| 332. Reconstruct Itinerary | Solution | Solve | Hard | Adobe+22 | ||
| 992. Subarrays with K Different Integers | Solution | Solve | Hard | Amazon+17 |
About Yandex Coding Interviews
Yandex, often called the "Google of Russia," is known for its strong engineering culture and highly analytical hiring process. The company builds large-scale systems across search, maps, ride-hailing, eβcommerce, and machine learning platforms. Because of this, Yandex interviews heavily evaluate a candidate's ability to solve complex data structures and algorithms (DSA) problems efficiently while writing clean, production-quality code.
The typical Yandex coding interview focuses on algorithmic thinking, problem decomposition, and performance optimization. Candidates are expected to handle problems that require careful reasoning about time and space complexity. Many questions resemble competitive programming challenges, reflecting Yandex's strong connection to algorithmic competitions.
Across real interviews, candidates most frequently encounter problems involving:
- Graphs and trees (BFS, DFS, shortest paths)
- Dynamic programming and optimization problems
- Binary search and greedy algorithms
- Hash maps, arrays, and string manipulation
- Advanced data structures such as heaps, segment trees, and tries
The difficulty distribution typically includes a mix of medium and hard problems, with many questions requiring multi-step reasoning rather than straightforward implementations. Interviewers often ask follow-up questions that test how well you can extend your solution or improve its complexity.
FleetCode helps you prepare effectively by providing 134 real Yandex interview problems organized by difficulty and topic. Each problem includes clear explanations and solutions in Python, Java, and C++. By practicing these curated questions, you can recognize common Yandex patterns, strengthen your algorithmic intuition, and approach the coding interview with confidence.
Interview Tips for Yandex
Preparing for a Yandex coding interview requires strong algorithmic fundamentals and consistent problem-solving practice. Yandex is known for asking challenging questions that test both theoretical understanding and implementation ability.
Typical Yandex interview process for software engineers includes:
- Recruiter screening β A short discussion about your background, projects, and interests.
- Technical phone interview (1β2 rounds) β Live coding on algorithmic problems involving arrays, graphs, or dynamic programming.
- Onsite or virtual onsite (3β4 rounds) β Multiple coding interviews plus one system design or architecture discussion for experienced roles.
- Hiring committee review β Feedback from interviewers determines the final decision.
Most coding rounds last 45β60 minutes. Candidates are expected to explain their thought process clearly, analyze time complexity, and write clean code without relying heavily on library shortcuts.
Common problem categories in Yandex interviews include:
- Graph traversal and shortest path problems
- Dynamic programming with tricky state definitions
- Binary search on answers
- Greedy algorithms with correctness proofs
- String algorithms and hashing
- Tree traversal and recursion
Preparation strategy that works well:
- Start with core topics: arrays, hashing, and two pointers.
- Spend significant time on graphs and dynamic programming, which appear frequently.
- Practice writing code quickly while explaining trade-offs and complexity.
- Simulate timed interviews with medium and hard problems.
Common mistakes to avoid include jumping straight into coding without clarifying the problem, ignoring edge cases, and failing to discuss time and space complexity. Yandex interviewers appreciate structured thinking and iterative improvement of solutions.
For most candidates, a focused 8β10 week preparation plan solving 120β200 high-quality problems is enough to build the pattern recognition required for Yandex interviews. Practicing the curated 134-question set on FleetCode is an excellent way to cover the patterns that repeatedly appear in real Yandex coding rounds.