Data Structures and Algorithms with JavaScript

Data Structures and Algorithms with JavaScript

by Michael McMillan

250 pages· 2014· ISBN 9781449373962
About
As an experienced JavaScript developer moving to server-side programming, you need to implement classic data structures and algorithms associated with conventional object-oriented languages like C# and Java. This practical guide shows you how to work hands-on with a variety of storage mechanisms—including linked lists, stacks, queues, and graphs—within the constraints of the JavaScript environment. Determine which data structures and algorithms are most appropriate for the problems you’re trying to solve, and understand 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 structures Linked lists: how they overcome the shortcomings of arrays Dictionaries: storing data as key-value pairs Hashing: good for quick insertion and retrieval Sets: useful for storing unique elements that appear only once Binary Trees: storing data in a hierarchical manner Graphs and graph algorithms: ideal for modeling networks Algorithms: including those that help you sort or search data Advanced algorithms: dynamic programming and greedy algorithms

Discuss Data Structures and Algorithms with JavaScript with other readers

Join or start a book club for Data Structures and Algorithms with JavaScript on Readfeed. Live chat, shared reading progress, and AI discussion questions — free to get started.

Frequently asked questions

How do I join a book club for Data Structures and Algorithms with JavaScript?

Sign up free on Readfeed, then browse public clubs or start your own club with Data Structures and Algorithms with JavaScript as the current read. Invite friends with a share link and discuss together with live chat and AI discussion questions.

Can I discuss Data Structures and Algorithms with JavaScript with other readers online?

Yes. Readfeed book clubs let you chat live, share progress, and join discussions about Data Structures and Algorithms with JavaScript with readers worldwide — whether your club is virtual, in-person, or hybrid.

Is Readfeed free?

Yes. Creating an account and joining book clubs is free. Sign up to find readers who love the same books and start discussing today.