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

Apple

Sudoku Solution Finder

Medium

algorithms

Snap

For a provided list of integers, return 1 if the number is a power of 2, and return 0 if it is not a power of 2.

Medium

algorithms

Microsoft

Invert a Sentence

Medium

algorithms

Google, Robinhood

Retrieve all distinct substrings from a specified string.

Medium

algorithms

Meta (Facebook)

Identify the smallest element that is absent from a sorted array.

Medium

algorithms

Smallest Absent Integer

Medium

algorithms

Locate the largest key in the BST that is smaller.

Medium

algorithms

JP Morgan Chase

Leetcode 1010. Song Pairs Whose Total Length is Divisible by 60

Medium

algorithms

Identify the Variations Between Two Strings.

Medium

algorithms

Waymo

How can you add two strings, each containing a number greater than 32 bits, and return the result as a string?

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.