封面
版权页
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. JavaScript – A Quick Overview
Setting up the environment
JavaScript basics
Control structures
Functions
Object-oriented programming
Debugging and tools
Summary
Chapter 2. Arrays
Why should we use arrays?
Creating and initializing arrays
Adding and removing elements
Two-dimensional and multi-dimensional arrays
References for JavaScript array methods
Summary
Chapter 3. Stacks
Creating a stack
Decimal to binary
Summary
Chapter 4. Queues
Creating a queue
The priority queue
The circular queue – Hot Potato
Summary
Chapter 5. Linked Lists
Creating a linked list
Doubly linked lists
Circular linked lists
Summary
Chapter 6. Sets
Creating a set
Set operations
Summary
Chapter 7. Dictionaries and Hashes
Dictionaries
The hash table
Summary
Chapter 8. Trees
Trees terminology
Binary tree and binary search tree
Tree traversal
Searching for values in a tree
More about binary trees
Summary
Chapter 9. Graphs
Graph terminology
Representing a graph
Creating the Graph class
Graph traversals
Summary
Chapter 10. Sorting and Searching Algorithms
Sorting algorithms
Searching algorithms
Summary
Index
更新时间:2021-08-05 17:31:33