Table Of Content
Who is this book for?
What do you need to know to get most of this book
Recursion Re-introduction/Skip If you know what is recursion
Chapter 1: Arrays
- Print each value of array with recursion
- Sum the array of numbers
- Find max number in array
- Find min number in array
- Check if array is sorted
- Check if array contains a value
- Reverse an array
- Remove duplicates
- Second largest in array
- Merge two array
Chapter 2: Maps
- Letter frequency counter
- Map size
- Check if there are duplicates in array using map
- First unique character in string using map
- Find the indexes in array of values that add to certain number
- Valid anagram
Chapter 3: Linked Lists
- Append new node to linked list
- Reverse linked list
- Find middle of linked list
- Highest number in the linked list
- Remove node from linked list
- Remove duplicate from linked list
Chapter 4: Doubly linked lists
- Append to doubly linked list value
- Reverse doubly linked list
- Delete node by value in doubly linked list
Chapter 5: Sets
- Unique elements
- Find union of arrays using Set
- Remove duplicates from array with Set
- Find intersection of two arrays
- Union of two Sets
- Check equality of two sets
- Difference between two sets
Chapter 6: Stack
- Reverse string with stack
- Next greater element
Chapter 7: Queue
- Implement queue data structure
- Reverse the order of elements in queue
- Generate binary number using queue
Chapter 8: Binary tree
- Create binary tree
- Binary tree traversal
- Insert node in binary tree
- Reverse binary tree
- Maximum value in binary tree
- Path Sum (If binary tree matches sum)
Chapter 9: Graphs
- Depth-First-Search (DFS) graph traversal
- Shortest path with recursion
- Connected components