A Common-Sense Guide to Data Structures and Algorithms,Second Edition 版次: Level Up Your Core Programming Skills
by: Jay Wengrow
Print Length 页数: 250 pages
ISBN-10: 1680507222
ISBN-13: 9781680507225
05 x 2.59 x 23.5 cm
Publisher finelybook 出版社: The Pragmatic Programmers; 2nd edition (21 Aug. 2020)
Language 语言: English
Book Description
By finelybook
If you thought that data structures and algorithms were all just theory,you’re missing out on what they can do for your code. Learn to use Big O Notation to make your code run faster by: orders of magnitude. Choose from data structures such as hash tables,trees,and graphs to increase your code’s efficiency exponentially. With simple language and clear diagrams,this book makes this complex topic accessible,no matter your background. This new edition features practice exercises in every chapter,and new chapters on topics such as dynamic programming and heaps and tries. Get the hands-on info you need to master data structures and algorithms for your day-to-day work.
Algorithms and data structures are much more than abstract concepts. Mastering them enables you to write code that runs faster and more efficiently,which is particularly important for today’s web and mobile apps. Take a practical approach to data structures and algorithms,with techniques and real-world scenarios that you can use in your daily production code,with examples in JavaScript,Python,and Ruby: . This new and revised second edition features new chapters on recursion,dynamic programming,and using Big O in your daily work.
Use Big O notation to measure and articulate the efficiency of your code,and modify your algorithm to make it faster. Find out how your choice of arrays,linked lists,and hash tables can dramatically affect the code you write. Use recursion to solve tricky problems and create algorithms that run exponentially faster than the alternatives. Dig into advanced data structures such as binary trees and graphs to help scale specialized applications such as social networks and mapping software. You’ll even encounter a single keyword that can give your code a turbo boost. Practice your new skills with exercises in every chapter,along with detailed solutions.
Use these techniques today to make your code faster and more scalable.
Preface
1. Why Data Structures Matter
2. Why Algorithms Matter
3. OYes! Big O Notation
4. Speeding Up Your Code with Big O
5. Optimizing Code with and Without Big O
6. Optimizing for Optimistic Scenarios
7. Big O in Everyday Code
8. Blazing Fast Lookup with Hash Tables
9. Crafting Elegant Code with Stacks and Queues
10. Recursively Recurse with Recursion
11. Learning to Write in Recursive
12. Dynamic Programming
13. Recursive Algorithms for Speed
14. Node-Based Data Structures
15. Speeding Up All the Things with Binary Search Trees
16. Keeping Your Priorities Straight with Heaps
17. It Doesn’t Hurt to Trielt Doesn’t Hurt to Trie
18. Connecting Everything with Graphs
19. Dealing with Space Constraints
20. Techniques for Code Optimization
A Common-Sense Guide to Data Structures and Algorithms 2nd Edition 9781680507225. zip[/erphpdown]