更新时间:2021-08-05 17:31:33
封面
版权页
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
Chapter 3. Stacks
Creating a stack
Decimal to binary
Chapter 4. Queues
Creating a queue
The priority queue
The circular queue – Hot Potato
Chapter 5. Linked Lists
Creating a linked list
Doubly linked lists
Circular linked lists
Chapter 6. Sets
Creating a set
Set operations
Chapter 7. Dictionaries and Hashes
Dictionaries
The hash table
Chapter 8. Trees
Trees terminology
Binary tree and binary search tree
Tree traversal
Searching for values in a tree
More about binary trees
Chapter 9. Graphs
Graph terminology
Representing a graph
Creating the Graph class
Graph traversals
Chapter 10. Sorting and Searching Algorithms
Sorting algorithms
Searching algorithms
Index