Two Pointer interview questions
Practice 3 questions on two pointer. Each runs in a real in-browser editor with Jest tests and a worked, diagram-backed solution.
3 questions
- 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 - JavaScriptCoding exercise
Pull / PullAll
MEDIUMImplement lodash pull and pullAll — remove every occurrence of the given values from an array in place, mutating the original.
30 minPremium questionPractice - AlgorithmsCoding exercise
Search a 2D Matrix
MEDIUMSearch a matrix whose rows and columns are both sorted by walking a staircase from the top-right corner, eliminating a whole row or column at each step.
25 minPremium questionPractice