Book Description
As a experienced JavaScript developer moving to server-side programming, you need to implement classic data structures an D algorithms associated with conventional object-oriented languages like C # and Java. This practical guide shows do hands-on with a variety of storage mechanisms-including linked lists, stacks, q Ueues, and Graphs-within the constraints of the JAVASCRIPT environment.
Determine which data structures and algorithms is most appropriate for the problems "re trying to solve, and Understan D the tradeoffs when using them in a JavaScript program. An overview of the JavaScript features used throughout the book is also included.
This book covers:
- Arrays and lists:the most common data structures
- Stacks and Queues:more complex list-like data struc Tures
- Linked Lists:how They overcome the shortcomings of arrays
- dictionaries:storing data as Key-val UE pairs
- Hashing:good for quick insertion and retrieval
- sets:useful for storing unique elements appear only once
- Binary trees:storing data in a hierarchical manner
- Graphs and graph Algorithms:ide Al for modeling Networks
- algorithms:including Those this help you sort or search data
- Advanced Algori Thms:dynamic programming and greedy algorithms
Table of Contents
Chapter 1. The JavaScript programming environment and Model
Chapter 2. Arrays
Chapter 3. Lists
Chapter 4. Stacks
Chapter 5. Queues
Chapter 6. Linked Lists
Chapter 7. Dictionaries
Chapter 8. Hashing
Chapter 9. Sets
Chapter 10. Binary Trees and binary Search Trees
Chapter 11. Graphs and Graph algorithms
Chapter 12. Sorting algorithms
Chapter 13. Searching algorithms
Chapter 14. Advanced Algorithms
Book Details
- Paperback: 224 pages
- Publisher: O ' Reilly Media (March 2014)
- Language: 中文版
- ISBN-10: 1449364934
- ISBN-13: 978-1449364939
Link: http://j.gs/926397/data-structures-and-algorithms-with-javascript Password: 9lbf
Data structures and algorithms with JavaScript