How often are these problems asked?
Frequency scores are based on crowdsourced interview reports. A higher score means the problem has been reported more often in recent Quora interviews.
Very Likely
75-100%
Likely
50-74%
Sometimes
25-49%
Rare
0-24%
Problem database last updated: June 20, 2025
17 problems · 6 Easy, 9 Medium, 2 Hard · Ranked #102 of 458
6 Easy
35% · avg 23%
9 Medium
53% · avg 59%
2 Hard
12% · avg 18%
Based on 17 reported problems, Quora interviews are in line with industry averages - 12% Hard vs 18% overall. The majority (53%) of questions are Medium difficulty, which is typical for companies that want to see solid fundamentals without excessive trick questions.
Compared to the industry average, Quora puts unusual emphasis on design (23.5% of problems, 4.1x the industry average), prefix-sum (11.8% of problems, 3.5x the industry average), counting (11.8% of problems, 3.5x the industry average). If you're short on time, these are the categories to double down on.
The most common topics are array (64.7%), hash-table (41.2%), math (29.4%), design (23.5%). Problems below are sorted by frequency, the ones at the top are asked most often.
| Problem | Difficulty | Frequency | Topics | |
|---|---|---|---|---|
Construct Target Array With Multiple Sums You are given an array target of n integers. From a starting array arr consisting of n 1's, you may perform the following procedure : | Hard | Very Likely | arrayheap-priority-queue | Solve |
Maximum Number of Words You Can Type There is a malfunctioning keyboard where some letter keys do not work. All other keys on the keyboard work properly. | Easy | Very Likely | hash-tablestring | Solve |
Sort the Matrix Diagonally A matrix diagonal is a diagonal line of cells starting from some cell in either the topmost row or leftmost column and going in the bottom-right direction until... | Medium | Very Likely | arraysortingmatrix | Solve |
Get Biggest Three Rhombus Sums in a Grid You are given an m x n integer matrix grid. | Medium | Very Likely | arraymathsorting | Solve |
Substrings of Size Three with Distinct Characters A string is good if there are no repeated characters. | Easy | Very Likely | hash-tablestringsliding-window | Solve |
Finding Pairs With a Certain Sum You are given two integer arrays nums1 and nums2. You are tasked to implement a data structure that supports queries of two types: | Medium | Very Likely | arrayhash-tabledesign | Solve |
1-bit and 2-bit Characters We have two special characters: | Easy | Very Likely | array | Solve |
Find the K-Beauty of a Number The k-beauty of an integer num is defined as the number of substrings of num when it is read as a string that meet the following conditions: | Easy | Very Likely | mathstringsliding-window | Solve |
Find Numbers with Even Number of Digits Given an array nums of integers, return how many of them contain an even number of digits. | Easy | Very Likely | arraymath | Solve |
3Sum With Multiplicity Given an integer array arr, and an integer target, return the number of tuples i, j, k such that i < j < k and arr[i] + arr[j] + arr[k] == target. | Medium | Very Likely | arrayhash-tabletwo-pointers | Solve |
Subtract the Product and Sum of Digits of an Integer Given an integer number n, return the difference between the product of its digits and the sum of its digits. | Easy | Very Likely | math | Solve |
Range Frequency Queries Design a data structure to find the frequency of a given value in a given subarray. | Medium | Very Likely | arrayhash-tablebinary-search | Solve |
Exam Room There is an exam room with n seats in a single row labeled from 0 to n - 1. | Medium | Very Likely | designheap-priority-queueordered-set | Solve |
Number of Subarrays with Bounded Maximum Given an integer array nums and two integers left and right, return the number of contiguous non-empty subarrays such that the value of the maximum array elemen... | Medium | Likely | arraytwo-pointers | Solve |
Insert Delete GetRandom O(1) Implement the RandomizedSet class: | Medium | Likely | arrayhash-tablemath | Solve |
Binary Tree Cameras You are given the root of a binary tree. We install cameras on the tree nodes where each camera at a node can monitor its parent, itself, and its immediate chil... | Hard | Likely | dynamic-programmingtreedepth-first-search | Solve |
Subarray Sum Equals K Given an array of integers nums and an integer k, return the total number of subarrays whose sum equals to k. | Medium | Likely | arrayhash-tableprefix-sum | Solve |
Construct Target Array With Multiple Sums
SolveYou are given an array target of n integers. From a starting array arr consisting of n 1's, you may perform the following procedure :
Maximum Number of Words You Can Type
SolveThere is a malfunctioning keyboard where some letter keys do not work. All other keys on the keyboard work properly.
Sort the Matrix Diagonally
SolveA matrix diagonal is a diagonal line of cells starting from some cell in either the topmost row or leftmost column and going in the bottom-right direction until...
Get Biggest Three Rhombus Sums in a Grid
SolveYou are given an m x n integer matrix grid.
Substrings of Size Three with Distinct Characters
SolveA string is good if there are no repeated characters.
Finding Pairs With a Certain Sum
SolveYou are given two integer arrays nums1 and nums2. You are tasked to implement a data structure that supports queries of two types:
Find the K-Beauty of a Number
SolveThe k-beauty of an integer num is defined as the number of substrings of num when it is read as a string that meet the following conditions:
Find Numbers with Even Number of Digits
SolveGiven an array nums of integers, return how many of them contain an even number of digits.
3Sum With Multiplicity
SolveGiven an integer array arr, and an integer target, return the number of tuples i, j, k such that i < j < k and arr[i] + arr[j] + arr[k] == target.
Subtract the Product and Sum of Digits of an Integer
SolveGiven an integer number n, return the difference between the product of its digits and the sum of its digits.
Range Frequency Queries
SolveDesign a data structure to find the frequency of a given value in a given subarray.
Exam Room
SolveThere is an exam room with n seats in a single row labeled from 0 to n - 1.
Number of Subarrays with Bounded Maximum
SolveGiven an integer array nums and two integers left and right, return the number of contiguous non-empty subarrays such that the value of the maximum array elemen...
Binary Tree Cameras
SolveYou are given the root of a binary tree. We install cameras on the tree nodes where each camera at a node can monitor its parent, itself, and its immediate chil...
Subarray Sum Equals K
SolveGiven an array of integers nums and an integer k, return the total number of subarrays whose sum equals to k.
Frequency scores are based on crowdsourced interview reports. A higher score means the problem has been reported more often in recent Quora interviews.
Very Likely
75-100%
Likely
50-74%
Sometimes
25-49%
Rare
0-24%
Quora interviews focus heavily on array, hash-table, math problems. If you're short on time, these are the categories to prioritize. The problems on this page are sorted by frequency, so start from the top and work your way down.
Beyond solving problems, practice explaining your approach. Quora interviewers care about your thought process - how you break down a problem, consider edge cases, and evaluate tradeoffs between solutions. A clean O(n) solution you can explain clearly beats an O(log n) solution you can't articulate.
Looking for more companies? Browse all 458 companies in our directory, or sharpen your fundamentals with our free data structure visualizers and AI-powered DSA tutor.
Quora has been reported to ask 17 distinct coding problems. The most common topics are array, hash-table, math. 6 are Easy difficulty, 9 are Medium, and 2 are Hard. Problems are sorted by frequency - the ones at the top are asked most often.
Based on 17 reported problems, Quora interviews are in line with industry averages - 12% Hard vs 18% overall. 53% of questions are Medium difficulty. Focus on the high-frequency Medium problems first, then work through the Hard ones.
Start with the highest-frequency problems listed on this page. Focus on the core topics: array, hash-table, math. Practice solving them under time pressure and explaining your approach out loud. Mock interviews with AI can simulate the real experience.
Simulate a real Quora coding interview with an AI interviewer. Get a scorecard with specific feedback on your problem-solving, code quality, and communication.
Simulate a Quora interview with AIarrow_forward