0 day streak

Quora coding interview questions

Product 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
Text JustificationSimulation Hard Arrays & Hashing Google, Microsoft, LinkedIn +28 Solve
Insert Delete GetRandom O(1)Hash Map + Array Medium Design Data Structures Google, Amazon, Apple +50 Solve
Serialize and Deserialize Binary TreeTree Serialization / Deserialization Hard Trees & BST Google, Amazon, Meta +22 Solve
Longest Common PrefixString Basics Easy Arrays & Hashing Amazon, Microsoft, Bloomberg +41 Solve
Subarray Sum Equals KPrefix Sum Strategy Medium Arrays & Hashing Google, Amazon, Microsoft +41 Solve
Rectangle Area IILine Sweep Hard Intervals Siemens EDA, Flipkart Solve
Sliding Window MaximumMonotonic Stack Hard Monotonic Stack Google, Amazon, Microsoft +51 Solve
Binary Tree CamerasPostorder + Multiple Return Values Hard Trees & BST Nutanix, eBay, UiPath +5 Solve
Contiguous ArrayPrefix Sum Strategy Medium Arrays & Hashing Microsoft, Robinhood, Akamai +9 Solve
Path Sum IIIBacktracking Medium Trees & BST TikTok (ByteDance), Zillow, ServiceNow +4 Solve
Diagonal TraverseMatrix Traversal Medium Arrays & Hashing Microsoft, Meta, Airbnb +8 Solve
Meeting Rooms IILine Sweep Medium Intervals Google, Amazon, Meta +50 Solve
Path Sum IIBacktracking Medium Trees & BST Apple, Zillow, Palo Alto Networks +3 Solve
Find Peak ElementUnique 1-D Binary Search Medium Binary Search Meta, Netflix, Uber +26 Solve
Next PermutationRight to Left Traversal Medium Arrays & Hashing Google, Amazon, Microsoft +31 Solve
Minimum Number of Arrows to Burst BalloonsBasics Medium Intervals Expedia Group, Barclays, PhonePe +3 Solve
Reaching PointsMath / Number Theory Hard Arrays & Hashing Nvidia, Snap, Wayfair +7 Solve
Rotate ImageIn-place Transformations Medium Arrays & Hashing Amazon, Apple, Nvidia +38 Solve
3SumTwo Sum Medium Arrays & Hashing Google, Amazon, Microsoft +68 Solve
Combination Sum (repeating elements)Pick / Not-Pick Medium Recursion & Backtracking Airbnb, Pinterest, Snap +20 Solve
Two SumTwo Sum Easy Arrays & Hashing Google, Amazon, Microsoft +135 Solve
House RobberAlternate Selection / Pick / Not pick Medium Dynamic Programming Google, Microsoft, Airbnb +43 Solve
Also reported, being added to AlgoRung (20)

Construct Target Array With Multiple Sums · Range Frequency Queries · Encode Number · 1-bit and 2-bit Characters · Sort the Matrix Diagonally · Exam Room · 3Sum With Multiplicity · Maximum Number of Words You Can Type · Subtract the Product and Sum of Digits of an Integer · Find Numbers with Even Number of Digits · Find the K-Beauty of a Number · Substrings of Size Three with Distinct Characters · Get Biggest Three Rhombus Sums in a Grid · Finding Pairs With a Certain Sum · Number of Subarrays with Bounded Maximum · Count Different Palindromic Subsequences · Previous Permutation With One Swap · Longest Arithmetic Subsequence · Peak Index in a Mountain Array · Elimination Game

Questions people ask

What coding questions does Quora ask most?

Text Justification, Insert Delete GetRandom O(1), Serialize and Deserialize Binary Tree, Longest Common Prefix, Subarray Sum Equals K, Rectangle Area II, Sliding Window Maximum, Binary Tree Cameras.

Which topics come up in Quora coding rounds?

arrays, strings, hash maps, prefix sums, heaps, matrices.

How hard are Quora coding questions?

Of the reported questions, 2 are easy, 14 medium and 6 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.