Amazon Interview QuestionsStudy programming and algorithm questions
Generate primes up to N
The popular Sieve of Eratosthenes algorithm that produces a list of primes quickly.
Two sum problem
A popular interview question that requires you to determine if two numbers in an array sum to a specific value. A solution can be written that runs in linear time.
Find all duplicates in an array (version 1)
Solution for finding all duplicates in an array where the elements range from 1 to n-1.
Find all duplicates in an array (version 2)
A common interview question where your goal is to find all duplicates in an array in linear time.
Merge two sorted linked lists
Method to efficiently merge two already sorted linked lists.
Arrays and Lists
Improve your algorithms knowledge with this course on sorting, linked lists, hash tables, queues, and more.