Trees are a commonly-encountered data structure in Front End development because the DOM is a tree, so if you have to prioritize, definitely focus on being good at tree data structures and common algorithms for trees, such as Breadth-first Search and Depth-first Search.
The Tech Interview Handbook goes into great detail about preparing for Algorithms questions.Go to Tech Interview Handbook →
Free practice questions
AlgoMonster aims to help you ace the technical interview in the shortest time possible. By Google engineers, AlgoMonster uses a data-driven approach to teach you the most useful key question patterns and has contents to help you quickly revise basic data structures and algorithms. Best of all, AlgoMonster is not subscription-based - pay a one-time fee and get lifetime access. Check it out →
|Master the Coding Interview: Data Structures + Algorithms
|Basic data structures and algorithms, job application, behavioral interview, negotiation
|Basic and advanced data structures and algorithms
|Basic data structures and algorithms, system design, object-oriented design