Part I: Data Structures
1. Introduction to Data Structures
2. Big-O Notation and Complexity Analysis
3. Arrays
4. Linked Lists
5. Stacks
6. Queues
7. Trees
8. Binary Trees
9. Binary Search Trees
10. Heaps
11. Hashtable (aka Hashmap or Dictionary)
12. Trie (aka Prefix Tree)
13. Graphs
Part II: Algorithms
14. Introduction to Recursion
15. Fibonacci and Going Beyond Recursion
16. Towers of Hanoi
17. Search Algorithms and Linear Search
18. Faster Searching with Binary Search
19. Binary Tree Traversal
20. Depth-First Search (DFS) and Breadth-First Search (BFS)
21. Quicksort
22. Bubblesort
23. Insertion Sort
24. Selection Sort
25. Mergesort
26. Conclusion
A hands-on, easy-to-comprehend guide that is perfect for anyone who needs to understand algorithms.
With the explosive growth in the amount of data and the diversity of computing applications, efficient algorithms are needed now more than ever. Programming languages come and go, but the core of programming-algorithms and data structures-remains the same.
Absolute Beginner's Guide to Algorithmsis the fastest way to learn algorithms and data structures. Using helpful diagrams and fully annotated code samples in Javascript, you will start with the basics and gradually go deeper and broader into all the techniques you need to organize your data.
Start fast with data structures basics: arrays, stacks, queues, trees, heaps, and more
Walk through popular search, sort, and graph algorithms
Understand Big-O notation and why some algorithms are fast and why others are slow
Balance theory with practice by playing with the fully functional JavaScript implementations of all covered data structures and algorithms
Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.