Skip to main content
Back to Companies
Yandex logo

Yandex Interview Questions (130)

Practice real interview problems from Yandex

#206

Reverse Linked List

Easyβœ“ SolutionπŸ“Ή Video
Accenture+33
#227

Basic Calculator II

Mediumβœ“ SolutionπŸ“Ή Video
Adobe+31
#228

Summary Ranges

Easyβœ“ Solution
Amazon+8
#232

Implement Queue using Stacks

Easyβœ“ SolutionπŸ“Ή Video
Amazon+11
#234

Palindrome Linked List

Easyβœ“ SolutionπŸ“Ή Video
Amazon+16
#238

Product of Array Except Self

Mediumβœ“ SolutionπŸ“Ή Video
Accenture+39
#242

Valid Anagram

Easyβœ“ SolutionπŸ“Ή Video
Accenture+39
#281Premium

Zigzag Iterator

Mediumβœ“ SolutionπŸ“Ή Video
Amazon+4
#283

Move Zeroes

Easyβœ“ SolutionπŸ“Ή Video
Accenture+45
#347

Top K Frequent Elements

Mediumβœ“ SolutionπŸ“Ή Video
Adobe+52
#356Premium

Line Reflection

Mediumβœ“ SolutionπŸ“Ή Video
Google+1
#380

Insert Delete GetRandom O(1)

Mediumβœ“ SolutionπŸ“Ή Video
Affirm+37
#415

Add Strings

Easyβœ“ SolutionπŸ“Ή Video
Airbnb+13
#443

String Compression

Mediumβœ“ SolutionπŸ“Ή Video
Accenture+40
#485

Max Consecutive Ones

Easyβœ“ Solution
Accenture+13
#523

Continuous Subarray Sum

Mediumβœ“ SolutionπŸ“Ή Video
Amazon+8
#560

Subarray Sum Equals K

Mediumβœ“ SolutionπŸ“Ή Video
Accenture+46
#605

Can Place Flowers

Easyβœ“ SolutionπŸ“Ή Video
Airbnb+15
#704

Binary Search

Easyβœ“ SolutionπŸ“Ή Video
Amazon+10
#771

Jewels and Stones

Easyβœ“ SolutionπŸ“Ή Video
Amazon+5
#849

Maximize Distance to Closest Person

Mediumβœ“ SolutionπŸ“Ή Video
Amazon+7
#896

Monotonic Array

Easyβœ“ SolutionπŸ“Ή Video
Amazon+6
Page 2 of 3

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.