Data Structures and Algorithms with JavaScript (Paperback)

Data Structures and Algorithms with JavaScript (Paperback)

作者: Michael McMillan
出版社: O'Reilly
出版在: 2014-03-24
ISBN-13: 9781449364939
ISBN-10: 1449364934
裝訂格式: Paperback
總頁數: 252 頁





內容描述


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 structuresStacks and queues: more complex list-like data structuresLinked lists: how they overcome the shortcomings of arraysDictionaries: storing data as key-value pairsHashing: good for quick insertion and retrievalSets: useful for storing unique elements that appear only onceBinary Trees: storing data in a hierarchical mannerGraphs and graph algorithms: ideal for modeling networksAlgorithms: including those that help you sort or search dataAdvanced algorithms: dynamic programming and greedy algorithms




相關書籍

Angular 2 Cookbook - Second Edition

作者 Matt Frisbie

2014-03-24

Web Development and Design Foundations with HTML5, 7/e (Paperback)(美國原版)

作者 Terry Felke-Morris

2014-03-24

Mastering Modular JavaScript (Paperback)

作者 Nicolas Bevacqua

2014-03-24