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

Snap

Based on a list of conversion items between various symbols, create an algorithm that provides the conversion ratio for each symbol pair.

Medium

algorithms

LinkedIn

Identify the longest subarray composed of consecutive integers.

Medium

algorithms

Microsoft

Display all the words from a dictionary that appear on a specified boggle board.

Medium

algorithms

Microsoft

Given an integer array, return a response array where the i-th element of the output is the product of all elements in the input array, excluding the i-th element itself.

Medium

algorithms

LinkedIn

Arrange an array that consists solely of 0s, 1s, and 2s.

Medium

algorithms

Create an LRU cache using JavaScript.

Medium

algorithms

Microsoft

Derived from trees

Medium

algorithms

Apple

Describe the function of the filter.

Medium

algorithms

Bolt

Develop a string sorting algorithm that treats digits as numerical values.

Medium

algorithms

Duplicate a Spiral Matrix

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.