Hands-On Data Structures and Algorithms with JavaScript

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

Hands-On Data Structures and Algorithms with JavaScript

Kashyap Mukkamala

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

Quick links: > What will you learn?> Table of content

Mapt Subscription
FREE
$29.99/m after trial
eBook
$18.00
RRP $35.99
Save 49%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$18.00
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Hands-On Data Structures and Algorithms with JavaScript Book Cover
Hands-On Data Structures and Algorithms with JavaScript
$ 35.99
$ 18.00
Hands-on Chatbots with Google Dialogflow [Video] Book Cover
Hands-on Chatbots with Google Dialogflow [Video]
$ 19.99
$ 4.00
Buy 2 for $21.50
Save $34.48
Add to Cart

Book Details

ISBN 139781788398558
Paperback332 pages

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.

Table of Contents

Chapter 1: Building Stacks for Application State Management
Prerequisites
Terminology
API
Don't we have arrays for this?
Creating a stack
Use cases
Summary
Chapter 2: Creating Queues for In-Order Executions
Types of queue
Implementing APIs
Creating a queue
Use cases for queues
Comparing performance
Summary
Chapter 3: Using Sets and Maps for Faster Applications
Exploring the origin of sets and maps
Analyzing set and map types
Sets versus WeakSets
Use cases
Performance comparison
Summary
Chapter 4: Using Trees for Faster Lookup and Modifications
Creating an Angular application
Creating a typeahead lookup
Creating a credit card approval predictor
Chapter 5: Simplify Complex Applications Using Graphs
Types of graphs
Use cases
Chapter 6: Exploring Types of Algorithms
Creating a Node.js application
Use cases
Summary
Chapter 7: Sorting and Its Applications
Types of sorting algorithms
Use cases of different sorting algorithms
Chapter 8: Big O Notation, Space, and Time Complexity
Terminology
Examples of time complexity
Space complexity and Auxiliary space 
Chapter 9: Micro-Optimizations and Memory Management
Best practices
HTML optimizations
CSS optimizations
JavaScript optimizations
Summary
What's next?

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

Authors

Table of Contents

Chapter 1: Building Stacks for Application State Management
Prerequisites
Terminology
API
Don't we have arrays for this?
Creating a stack
Use cases
Summary
Chapter 2: Creating Queues for In-Order Executions
Types of queue
Implementing APIs
Creating a queue
Use cases for queues
Comparing performance
Summary
Chapter 3: Using Sets and Maps for Faster Applications
Exploring the origin of sets and maps
Analyzing set and map types
Sets versus WeakSets
Use cases
Performance comparison
Summary
Chapter 4: Using Trees for Faster Lookup and Modifications
Creating an Angular application
Creating a typeahead lookup
Creating a credit card approval predictor
Chapter 5: Simplify Complex Applications Using Graphs
Types of graphs
Use cases
Chapter 6: Exploring Types of Algorithms
Creating a Node.js application
Use cases
Summary
Chapter 7: Sorting and Its Applications
Types of sorting algorithms
Use cases of different sorting algorithms
Chapter 8: Big O Notation, Space, and Time Complexity
Terminology
Examples of time complexity
Space complexity and Auxiliary space 
Chapter 9: Micro-Optimizations and Memory Management
Best practices
HTML optimizations
CSS optimizations
JavaScript optimizations
Summary
What's next?

Book Details

ISBN 139781788398558
Paperback332 pages
Read More

Read More Reviews

Recommended for You

Hands-on Chatbots with Google Dialogflow [Video] Book Cover
Hands-on Chatbots with Google Dialogflow [Video]
$ 19.99
$ 4.00
Data Structures in JavaScript [Video] Book Cover
Data Structures in JavaScript [Video]
$ 49.99
$ 10.00
Hands-On Microservices with Kotlin Book Cover
Hands-On Microservices with Kotlin
$ 35.99
$ 18.00
Learning JavaScript Data Structures and Algorithms - Second Edition Book Cover
Learning JavaScript Data Structures and Algorithms - Second Edition
$ 35.99
$ 18.00
Hands-On Data Science and Python Machine Learning Book Cover
Hands-On Data Science and Python Machine Learning
$ 31.99
$ 16.00
Hands-On Chatbots and Conversational UI Development Book Cover
Hands-On Chatbots and Conversational UI Development
$ 31.99
$ 16.00