Prepin
Log in

Algorithm Interview Questions

Algorithm problems from coding interviews. Practice explaining your approach, its complexity and the edge cases before you write code.

All interview questions

Showing 10 of 112 questions

Highest Profit

Medium

algorithms

Apple

Describe the sorting function.

Medium

algorithms

Google

Create Parentheses

Medium

algorithms

Amazon, Google

Given the root of a binary tree, return the diameter length of the tree.

Medium

algorithms

Meta (Facebook)

Evaluate the outcome of a mathematical expression presented in string format.

Medium

algorithms

Number Locator

Medium

algorithms

Google

Distance of Edits

Medium

algorithms

K-Messed Array Sorting

Medium

algorithms

Fibonacci Sequence

Medium

algorithms

Meta (Facebook)

Combine Intervals

Medium

algorithms

Companies

Topics

Product design
Behavioral
Product strategy
Algorithms
SQL

Product

For CandidatesFor RecruitersCompaniesBrowse JobsInterview QuestionsDeep ProfileSkill AssessmentOpportunity Matching
Prepin.ai

© 2026 Prepin LLC · Philadelphia, PA · All rights reserved.