Top 50
Topic roadmap
Updated weekly · Last refresh Oct 31

Top 50 Algorithms Interview Questions

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

50questions
~21htotal time
1,018companies covered
Track your progressSign up free to work through all 50 questions and resume where you left off.
Start practicing free →
1
RecursionStart here. 7 questions · ~175 min
Implement Binary SearchEasy
Practice
Recently asked

Implement binary search to find a target value in a sorted array in O(log n) time.

Recursionbinary searchArraysHHAeXchangeEDF RenewablesSRS Consulting
Check Palindrome StringEasy
Practice
Recently asked

Use a two-pointer string scan to determine whether a string reads the same forward and backward.

RecursionStringsData StructuresDsv Air & SeaLucid MotorsAfterquery
More Recursion questions with a free account
2
Coding4 questions · ~100 min
Explain Time ComplexityEasy
Practice
Recently asked

Implement a linear array-sum solution and explain why its time complexity is O(n).

CodingMathArraysArch CapitalCapella SpaceZynga
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
3
Linked Lists3 questions · ~75 min
Detect Cycle in Linked ListMedium
Practice
Recently asked

Detect whether a linked list contains a cycle using Floyd's tortoise-and-hare algorithm in O(n) time and O(1) space.

Linked ListsData Structurescycle detectionTTripJackLumenaltaJ.P. Morgan
Reverse Linked List In-PlaceEasy
Practice
Recently asked

Reverse a singly linked list in place by rewiring next pointers in one pass.

Linked ListsAlgorithmsGeneral AtomicsKKotakKotak Mahindra Bank
More Linked Lists questions with a free account
4
Arrays5 questions · ~125 min
More Arrays questions with a free account
5
coding challenge8 questions · ~200 min
More coding challenge questions with a free account
6
More topics23 questions · ~575 min
Optimizing a Slow ApplicationMedium
Practice
Recently asked

Optimize repeated range-sum computations with prefix sums instead of rescanning application workload data.

Hash TablesArraysSortingUniversity of FloridaCybertrend EngineeringDiamond Foundry
Maintainable and Scalable CodeMedium
Practice
Recently asked

Implement a modular top-k frequency algorithm that scales with input size and preserves deterministic tie ordering.

clean codecode qualityDynamic ProgrammingTotalEnergiesJohnson & JohnsonL3Harris Technologies
Cosine Similarity From ScratchMedium
Practice
Recently asked

Compute cosine similarity for equal-length high-dimensional vectors using dot products and Euclidean norms.

function implementationArraysArray ManipulationCommonwealth Bank of AustraliaLLogicFFever
More questions with a free account
The finish line: interview-readyComplete all 50 questions to finish this plan.