0 day streak

Yandex coding interview questions

Big tech Global

Ranked by how often candidates report them. Each opens in the editor with hidden tests, an animated walkthrough and solutions in four languages; a question you solve once counts for every company that asks it.

0%ready
Your level: practise every reported question.
ProgressTitleDifficultyTopicHow often hereAlso asked atNext step
Longest Subarray of 1's After Deleting One ElementSliding Window · Variable Medium Arrays & Hashing Elastic, Epic Games, Adyen +1 Solve
Summary RangesTwo Pointer Easy Arrays & Hashing Netflix, Indeed, Cisco Solve
Maximize Distance to Closest PersonTwo Pointer Medium Arrays & Hashing Snowflake, Roblox, Samsung Solve
Longest Substring Without Repeating CharactersSliding Window · Variable Medium Arrays & Hashing Google, Amazon, Microsoft +114 Solve
Valid Palindrome IITwo Pointer Easy Arrays & Hashing Meta, Apple, Bloomberg +8 Solve
Find K Closest ElementsBisect Medium Binary Search DoorDash, Asana, Coupang +7 Solve
String CompressionTwo Pointer Medium Arrays & Hashing Microsoft, Stripe, Nvidia +34 Solve
Subarray Sum Equals KPrefix Sum Strategy Medium Arrays & Hashing Google, Amazon, Microsoft +41 Solve
Merge IntervalsBasics Medium Intervals Google, Amazon, Microsoft +107 Solve
Move ZeroesTwo Pointer Easy Arrays & Hashing Amazon, Microsoft, Meta +42 Solve
Insert Delete GetRandom O(1)Hash Map + Array Medium Design Data Structures Google, Amazon, Apple +50 Solve
Valid PalindromeTwo Pointer Easy Arrays & Hashing Microsoft, Meta, Apple +53 Solve
Isomorphic StringsHashing Easy Arrays & Hashing LinkedIn, Yelp, American Express +6 Solve
Longest Palindromic SubstringStrings Medium Dynamic Programming Amazon, Microsoft, Apple +68 Solve
Line ReflectionHash Set Lookup Medium Arrays & Hashing X (Twitter), Micron Technology, Brex +1 Solve
Two SumTwo Sum Easy Arrays & Hashing Google, Amazon, Microsoft +135 Solve
One Edit DistanceTwo Pointer Medium Arrays & Hashing Stripe, Snap, X (Twitter) Solve
Permutation in StringSliding Window · Fixed Medium Arrays & Hashing Databricks, Lyft, Zynga +10 Solve
Interval List IntersectionsBasics Medium Intervals Meta, DoorDash, Nuro +3 Solve
Find All Anagrams in a StringSliding Window · Fixed Medium Arrays & Hashing Amazon, Databricks, Snowflake +5 Solve
Merge Two Sorted ListsDummy Node Pattern Easy Linked List Google, Amazon, Microsoft +60 Solve
Group AnagramsHashing Medium Arrays & Hashing Amazon, Microsoft, Meta +82 Solve
Merge Sorted ArrayTwo Pointer Easy Arrays & Hashing Meta, Apple, Nvidia +40 Solve
Number of IslandsConnected Components Medium Graphs Google, Amazon, Microsoft +114 Solve
Squares of a Sorted ArrayTwo Pointer Easy Arrays & Hashing Uber, Bloomberg, Instacart +9 Solve
Is SubsequenceTwo Pointer Easy Arrays & Hashing Pinterest, Tesla, Electronic Arts +12 Solve
Valid ParenthesesStack Basics Easy Stack Google, Amazon, Microsoft +119 Solve
Symmetric TreeRecursion Easy Trees & BST Microsoft, LinkedIn, Electronic Arts +3 Solve
Search in Rotated Sorted ArrayRotated Array Medium Binary Search Amazon, Microsoft, Apple +59 Solve
Trapping Rain WaterTwo Pointer Hard Arrays & Hashing Google, Amazon, Microsoft +88 Solve
Max Consecutive Ones IIISliding Window · Variable Medium Arrays & Hashing Amazon, Microsoft, Meta +16 Solve
Min StackStack Medium Design Data Structures Microsoft, Apple, Snowflake +33 Solve
Binary Tree Right Side ViewViews Medium Trees & BST Google, Meta, TikTok (ByteDance) +16 Solve
Product of Array Except SelfRight to Left Traversal Medium Arrays & Hashing Amazon, Microsoft, Meta +37 Solve
Container With Most WaterTwo Pointer Medium Arrays & Hashing Google, Amazon, Microsoft +59 Solve
LRU CacheLinked Lists Medium Design Data Structures Google, Amazon, Microsoft +140 Solve
Lowest Common Ancestor of a Binary TreeLCA Medium Trees & BST Google, Amazon, Microsoft +46 Solve
Reconstruct ItineraryEulerian Path (Hierholzer) Hard Graphs Amazon, Netflix, Airbnb +16 Solve
Add Two NumbersDummy Node Pattern Medium Linked List Amazon, Microsoft, Meta +33 Solve
Median of Two Sorted ArraysBinary Search on Partition Hard Binary Search Google, Amazon, Microsoft +49 Solve
Merge k Sorted ListsMerge K Sorted Hard Heaps Google, Amazon, Microsoft +59 Solve
Remove ElementTwo Pointer Easy Arrays & Hashing Zoom, HP Inc., Plaid +2 Solve
Binary Tree Maximum Path SumPostorder + Multiple Return Values Hard Trees & BST Google, Amazon, Meta +29 Solve
Kadane's Algorithm - SimpleKadane's Algorithm Medium Arrays & Hashing Amazon, Microsoft, Apple +79 Solve
Generate ParenthesesPick / Not-Pick Medium Recursion & Backtracking Google, Amazon, Microsoft +28 Solve
Also reported, being added to AlgoRung (5)

Longest Strictly Increasing or Strictly Decreasing Subarray · Find the Prefix Common Array of Two Arrays · Design an ATM Machine · Find Duplicate Subtrees · Count Substrings Without Repeating Character

Questions people ask

What coding questions does Yandex ask most?

Longest Subarray of 1's After Deleting One Element, Summary Ranges, Maximize Distance to Closest Person, Longest Substring Without Repeating Characters, Valid Palindrome II, Find K Closest Elements, String Compression, Subarray Sum Equals K.

Which topics come up in Yandex coding rounds?

arrays, strings, two pointers, sliding window, hashing, intervals.

How hard are Yandex coding questions?

Of the reported questions, 13 are easy, 27 medium and 5 hard. A 45 to 60 minute live interview where you solve one or two data-structures-and-algorithms problems while explaining your thinking. Interviewers score problem solving, code quality, testing and communication.