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

Shortest Path in a Cell

Medium

algorithms

LinkedIn

Utilize the quadratic formula on a sorted array to ensure that the resulting array remains sorted.

Medium

algorithms

Meta (Facebook)

Identify the shared ancestors within a tree.

Medium

algorithms

Apple

Create a doubly linked list.

Medium

algorithms

Airbnb

Given two strings (Word 1 and Word 2) and a list of acceptable words in a dictionary, determine the least number of operations needed to transform Word 1 into Word 2.

Medium

algorithms

Amazon

Discover all the permutations of a specified string.

Medium

algorithms

Meta (Facebook)

Given an array of integers, display all subarrays that have a sum of 0.

Medium

algorithms

Apple

Determine the distance between two points in three-dimensional space.

Medium

algorithms

Google

Create a task scheduler using Python.

Medium

algorithms

Sales Journey

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.