Practical JavaScript Data Structures and Algorithms

Kashyap Mukkamala

  • 出版商: Packt Publishing
  • 出版日期: 2018-01-29
  • 售價: $1,940
  • 貴賓價: 9.5$1,843
  • 語言: 英文
  • 頁數: 332
  • 裝訂: Paperback
  • ISBN: 1788398556
  • ISBN-13: 9781788398558
  • 相關分類: JavaScriptAlgorithms-data-structures
  • 海外代購書籍(需單獨結帳)

商品描述

Key Features

  • Create custom data structures based on project requirements
  • Learn to optimize code based on space and time complexity
  • Focus more on solving the business problem and less about the technical challenges involved

Book Description

Data structures and algorithms are 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 is key in JavaScript to solving the crisis and ensuring your application is a success. 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 ring 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, and trees, and simplify complex applications using Graphs. You will learn to implement different types of sorting algorithms before gradually calculating and analyzing space time complexity. Finally, you will dive deep into increasing the performance of your application using micro optimizations and memory management.

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

What you will learn

  • Employ different Algorithms based on the use case and data structure in play
  • Use Backtracking Algorithms to encrypt messages
  • Simplify complex problems using graph data structure based on the application.
  • Build a high performance caching tool using circular queues
  • Generate accurate recommendations for credit card approval chances using Decision Trees
  • Increase the performance of an application using micro optimizations

商品描述(中文翻譯)

主要特點


  • 根據項目需求創建自定義數據結構

  • 根據空間和時間複雜度優化代碼

  • 更多關注解決業務問題,而不是技術挑戰

書籍描述

數據結構和算法是計算機編程的基本構建塊。它們對於任何問題都至關重要,提供完整的解決方案,並像可重用的代碼一樣工作。在JavaScript中使用適當的數據結構並對算法分析有良好的理解是解決危機並確保應用程序成功的關鍵。您想要構建高性能和快速的應用程序嗎?您是否正在尋找以實用方式實現複雜數據結構和算法的完整解決方案?如果這兩個問題中有一個讓您心動,那麼這本書就是為您而寫的!

您將從構建堆棧並了解性能和內存影響開始。您將學習如何選擇適合應用程序的正確類型的隊列。然後,您將使用集合、映射和樹,並使用圖形簡化複雜應用程序。您將學習實現不同類型的排序算法,然後逐步計算和分析空間時間複雜度。最後,您將深入研究使用微優化和內存管理來提高應用程序的性能。

通過閱讀本書,您將獲得創建和應用各種數據結構所需的技能和專業知識,以滿足項目或用例的需求。

您將學到什麼


  • 根據使用情況和數據結構選擇不同的算法

  • 使用回溯算法加密消息

  • 根據應用程序使用圖形數據結構簡化複雜問題

  • 使用循環隊列構建高性能緩存工具

  • 使用決策樹生成準確的信用卡批准建議

  • 使用微優化提高應用程序的性能