Hands-On Data Structures and Algorithms with JavaScript

Hands-On Data Structures and Algorithms with JavaScript

by Kashyap Mukkamala


View All Available Formats & Editions
Choose Expedited Shipping at checkout for delivery by Monday, August 2


Increase your productivity by implementing complex data structures and algorithms using JavaScript

Key Features

  • A step by step guide, which will provide you with a thorough discussion on the analysis and design of fundamental JavaScript data structures
  • Get a better understanding of advanced concepts such as space and time complexity to optimize your code
  • Focus more on solving the business problem and less on the technical challenges involved

Book Description

Data structures and algorithms are the fundamental building blocks of computer programming. They are critical to any problem, provide a complete solution, and act like reusable code. Using appropriate data structures and having a good understanding of algorithm analysis are key in JavaScript to solving crises and ensuring your application is less prone to errors.

Do you want to build applications that are high-performing and fast? Are you looking for complete solutions to implement complex data structures and algorithms in a practical way? If either of these questions rings a bell, then this book is for you!

You'll start by building stacks and understanding performance and memory implications. You will learn how to pick the right type of queue for the application. You will then use sets, maps, trees, and graphs to simplify complex applications. You will learn to implement different types of sorting algorithm before gradually calculating and analyzing space and time complexity. Finally, you'll increase the performance of your application using micro optimizations and memory management.

By the end of the book you will have gained the skills and expertise necessary to create and employ various data structures in a way that is demanded by your project or use case.

What you will learn

  • Build custom Back buttons embedded within your application
  • Build part of a basic JavaScript syntax parser and evaluator for an online IDE
  • Build a custom activity user tracker for your application
  • Generate accurate recommendations for credit card approval using Decision Trees
  • Simplify complex problems using a graphs
  • Increase the performance of an application using micro-optimizations

Who this book is for

If you are a JavaScript developer looking for practical examples to implement data structures and algorithms in your web applications, then this book is for you. Familiarity with data structures and algorithms will be helpful to get the most out of this book.

Related collections and offers

Product Details

ISBN-13: 9781788398558
Publisher: Packt Publishing
Publication date: 01/29/2018
Pages: 332
Product dimensions: 7.50(w) x 9.25(h) x 0.69(d)

About the Author

Kashyap Mukkamala has been a JavaScript enthusiast since he first started working with it back in 2011. Apart from his fun side projects using IoT devices (Arduino, LeapMotion, AR Drones) and mobile applications (PhoneGap, Ionic, NativeScript) his corporate experience has been focused around building scalable web SPAs for Fortune 100 companies. Over the past few years, Kashyap has also been a JavaScript instructor for his company and has trained a few hundred students.

Table of Contents

Table of Contents

  1. Building Stacks for Application State Management
  2. Creating Queues for In-Order Executions
  3. Using Sets and Maps for Faster Applications
  4. Using Trees for Faster Lookup and Modifications
  5. Simplify Complex Applications Using Graphs
  6. Exploring Types of Algorithms
  7. Sorting and Its Applications
  8. Big O notation, Space, and Time Complexity
  9. Micro-optimizations and Memory Management

Customer Reviews