Top 50
Topic roadmap
Updated weekly · Last refresh Sep 13

Top 50 comparison Interview Questions

The most frequently asked comparison questions across all roles and companies, ranked by real interview frequency. Updated daily.

50questions
~11htotal time
61companies covered
Track your progressSign up free to work through all 50 questions and resume where you left off.
Start practicing free →
1
CodingStart here. 25 questions · ~317 min
Permutation Check for Two StringsEasy
Practice

Use character frequency counting to determine whether two PlayStation strings are permutations in linear time.

comparisonPlayStationPoshmark
Identical Binary TreesEasy
Practice

Determine whether two binary trees have identical structure and values using recursive tree traversal.

comparisonTreesUSTHopper
Second Largest Among Three NumbersEasy
Practice
Recently asked

Find the second-largest value among three integers using constant extra space and a single comparison pass.

comparisonQuest Global
Greatest of Three NumbersEasy
Practice
Recently asked

Determine the greatest of three sensor readings using constant-space comparisons.

comparisonTATA ELXSI
Compare Keys Across JSONMedium
Practice
Recently asked

Parse two JSON objects and return sorted keys whose values differ or whose key exists in only one object.

CodingcomparisonAlgorithmsIBM
Differing JSON KeysHard
Practice
Recently asked

Compare nested JSON objects and return sorted JSON Pointer paths whose values differ.

string manipulationcomparisonIBM
Greater vs Smaller CountsEasy
Practice
Recently asked

Use a single pass to compare counts of values above and below a target threshold.

comparisonCapital One
Character Difference Between StringsEasy
Practice

Use two pointers to find the one additional character in a sorted string in O(n) time and O(1) space.

ArraysStringsSortingBloomberg
More Coding questions with a free account

Sign up to see every question

Create a free account to unlock this list and practice real interview questions.

Get my prep plan
2
Behavioral & Leadership8 questions · ~101 min
More Behavioral & Leadership questions with a free account
3
SQL & Data Manipulation3 questions + 3 drills · ~68 min
4
Technical Fundamentals4 questions · ~51 min
More Technical Fundamentals questions with a free account
5
Machine Learning3 questions · ~38 min
More Machine Learning questions with a free account
6
More topics7 questions · ~89 min
More questions with a free account
The finish line: interview-readyComplete all 50 questions plus 3 hands-on drills to finish this plan.