Liknande böcker
"Learning JavaScript Data Structures and Algorithms : Write complex and powerful JavaScript code using the latest ECMAScript, 3rd Edition"
Bok av Loiane Groner
Hone your skills by learning classic data structures and algorithms in JavaScriptAbout This BookUnderstand common data structures and the associated algorithms, as well as the context in which they are used.Master existing JavaScript data structures such as array, set and map and learn how to implement new ones such as stacks, linked lists, trees and graphs.All concepts are explained in an easy way, followed by examples.Who This Book Is ForIf you are a student of Computer Science or are at the start of your technology career and want to explore JavaScript's optimum ability, this book is for you. You need a basic knowledge of JavaScript and programming logic to start having fun with algorithms.What You Will LearnDeclare, initialize, add, and remove items from arrays, stacks, and queuesGet the knack of using algorithms such as DFS (Depth-first Search) and BFS (Breadth-First Search) for the most complex data structuresHarness the power of creating linked lists, doubly linked lists, and circular linked listsStore unique elements with hash tables, dictionaries, and setsUse binary trees and binary search treesSort data structures using a range of algorithms such as bubble sort, insertion sort, and quick sortIn DetailThis book begins by covering basics of the JavaScript language and introducing ECMAScript 7, before gradually moving on to the current implementations of ECMAScript 6. You will gain an in-depth knowledge of how hash tables and set data structure functions, as well as how trees and hash maps can be used to search files in a HD or represent a database. This book is an accessible route deeper into JavaScript. Graphs being one of the most complex data structures you'll encounter, we'll also give you a better understanding of why and how graphs are largely used in GPS navigation systems in social networks.Toward the end of the book, you'll discover how all the theories presented by this book can be applied in real-world solutions while working on your own computer networks and Facebook searches.Style and approachThis book gets straight to the point, providing you with examples of how a data structure or algorithm can be used and giving you real-world applications of the algorithm in JavaScript. With real-world use cases associated with each data structure, the book explains which data structure should be used to achieve the desired results in the real world.