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, Google

Invert a string.

Medium

algorithms

DoorDash

Locate the nearest value in a sorted array.

Medium

algorithms

Google

Determine how many methods exist to divide a string.

Medium

algorithms

Identify the Largest Numbers

Medium

algorithms

Apple

Create a red-black tree.

Medium

algorithms

Create a Calculator

Medium

algorithms

Google

Given two strings of the same length, assess whether it's feasible to create a palindrome by splitting them in half.

Medium

algorithms

Amazon, Microsoft

Koko is consuming bananas.

Medium

algorithms

Google

Organize a list of natural numbers along with their squares in the most efficient manner.

Medium

algorithms

Array Differences

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.