Guided preparation plan
Frontend Algorithms 75 Interview Curriculum
Seventy-five data-structure and algorithm questions prioritized for frontend interviews and solved in JavaScript.
75 questions · 5 modules
Frontend interview practice questions
Module 1
- AlgorithmsCoding exercise
Find Duplicates in Array
EASYImplement a function that checks whether an array contains any duplicate numbers.
15 minPractice - AlgorithmsCoding exercise
Optimal Stock Trading
EASYImplement a function that computes the maximum profit obtainable from one buy and one sell of a stock.
15 minPractice - AlgorithmsCoding exercise
Move Zeroes
EASYMove all zeroes to the end of an array in place while keeping the non-zero elements in their original order.
20 minGoogle · MetaPractice - AlgorithmsCoding exercise
Distinct Paths in Grid
MEDIUMImplement a function that counts the number of unique paths a robot can take from the top-left to bottom-right of an m by n grid.
25 minPractice - AlgorithmsCoding exercise
Segment Words
MEDIUMImplement a function that decides whether a string can be broken into a sequence of words from a given dictionary.
25 minAmazon · Google · Meta +1Practice - AlgorithmsCoding exercise
Array Product Excluding Current
MEDIUMReturn an array where each entry is the product of every element except the one at that index, without division and in O(n).
25 minAmazon · Apple · Meta +1Practice - AlgorithmsCoding exercise
Find Element in Rotated Array
MEDIUMImplement a function that locates a target integer in a sorted array that has been rotated at an unknown pivot.
25 minPremium questionPractice - AlgorithmsCoding exercise
Matrix Rotation
MEDIUMRotate an n×n matrix 90 degrees clockwise and return the result as a new array.
25 minAmazon · Apple · MicrosoftPractice - AlgorithmsCoding exercise
Maximum Product in Contiguous Array
MEDIUMImplement a function that finds the contiguous subarray with the largest product, handling negatives and zeros.
25 minPractice - AlgorithmsCoding exercise
Maximum Sum in Contiguous Array
MEDIUMImplement a function that finds the contiguous subarray with the largest sum.
25 minPractice - AlgorithmsCoding exercise
Maximum Water Trapped Between Walls
MEDIUMImplement a function that finds the maximum amount of water that can be trapped between two walls.
25 minPractice - AlgorithmsCoding exercise
Smallest Element in Rotated Sorted Array
MEDIUMImplement a function that finds the minimum value in a sorted array that has been rotated at an unknown pivot.
25 minPremium questionPractice - AlgorithmsCoding exercise
Roman to Integer
EASYConvert a Roman numeral string to its integer value, handling subtractive pairs like IV and IX.
15 minAdobe · Amazon · MicrosoftPractice - AlgorithmsCoding exercise
Decode Message
MEDIUMImplement a function that counts how many ways a digit string can be decoded into letters using a 1 to 26 mapping.
25 minPractice - AlgorithmsCoding exercise
Longest Repeating Substring After Replacements
MEDIUMImplement a function that finds the longest substring made of one repeated character allowing up to k swaps.
25 minAmazon · Google · MetaPractice
Unlock the complete Frontend Algorithms 75
Your free preview includes Module 1. Upgrade to access the remaining 4 modules and 60 carefully prioritized questions.
Complete roadmap
Follow every remaining step in order.
Premium solutions
Unlock walkthroughs, editors, and tests.
Focused practice
Search and filter the complete plan.