Skip to main content
Back to Companies
Yandex logo

Yandex Interview Questions (130)

Practice real interview problems from Yandex

#1

Two Sum

Easyβœ“ SolutionπŸ“Ή Video
Accenture+126
#2

Add Two Numbers

Mediumβœ“ SolutionπŸ“Ή Video
Accenture+36
#7

Reverse Integer

Mediumβœ“ SolutionπŸ“Ή Video
Accenture+21
#9

Palindrome Number

Easyβœ“ SolutionπŸ“Ή Video
Accenture+31
#11

Container With Most Water

Mediumβœ“ SolutionπŸ“Ή Video
Accenture+57
#18

4Sum

Mediumβœ“ Solution
Accenture+19
#20

Valid Parentheses

Easyβœ“ SolutionπŸ“Ή Video
Accenture+112
#21

Merge Two Sorted Lists

Easyβœ“ SolutionπŸ“Ή Video
Accenture+35
#27

Remove Element

Easyβœ“ SolutionπŸ“Ή Video
Adobe+9
#35

Search Insert Position

Easyβœ“ SolutionπŸ“Ή Video
Accenture+11
#49

Group Anagrams

Mediumβœ“ SolutionπŸ“Ή Video
Accolite+86
#56

Merge Intervals

Mediumβœ“ SolutionπŸ“Ή Video
Accenture+111
#71

Simplify Path

Mediumβœ“ SolutionπŸ“Ή Video
Amazon+23
#74

Search a 2D Matrix

Mediumβœ“ SolutionπŸ“Ή Video
Adobe+18
#88

Merge Sorted Array

Easyβœ“ SolutionπŸ“Ή Video
Accenture+36
#141

Linked List Cycle

Easyβœ“ SolutionπŸ“Ή Video
Accenture+23
#146

LRU Cache

Mediumβœ“ SolutionπŸ“Ή Video
Accenture+119
#155

Min Stack

Mediumβœ“ Solution
Adobe+36
#161Premium

One Edit Distance

Mediumβœ“ SolutionπŸ“Ή Video
Apple+7
#169

Majority Element

Easyβœ“ SolutionπŸ“Ή Video
Accenture+22
Page 1 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.