Daily Coding Problem: Get exceptionally good at coding interviews by solving one problem every day
- Linked Lists
- Hash Tables
- Binary Search Trees
- Stacks and Queues
- Randomized Algorithms
- Dynamic Programming
- Bit Manipulation
- Data Structure Design
- System Design
First, we introduce you to the most essential data structures that pop up in coding interviews, such as linked lists, arrays, strings, and hash tables. For each data structure, we offer a refresher on its advantages and disadvantages, the time and space complexities of its operations, its implementation, and what themes and key words to look for in order to recognize it.
Next, we take a tour through a series of must-know algorithms, including dynamic programming, backtracking, sorting, and searching. At the start of each chapter, we discuss when it is a good idea to use each algorithm, and walk through a simple example to describe step by step how it is performed. We examine patterns one can identify to figure out which algorithm to apply in a given problem, and finally we look at a few specialized algorithms that require combining multiple approaches.
Third, we present a set of more advanced problems that require you to use the preceding data structures and algorithms in novel ways in order to solve real-world applications. From deriving a perfect blackjack strategy to deciphering an alien dictionary, these questions are designed to challenge you and widen your understanding of what can be achieved with the right concepts and implementation.
Lastly, we address the topic of design. It has become increasingly common for candidates to be asked to formulate novel data structures that deal with time and space constraints, or to design a high-level system that meets a particular need. Therefore, our final chapters on data structure and system design walk through each of these question types, respectively, and provide a general strategy for approaching similar problems in the future.
Certain content that appears on this site comes from Amazon Services LLC. This content is provided ‘as is’ and is subject to change or removal at any time.