Hands-On Data Structures and Algorithms with Rust

Claus Matzinger

  • Hands-On Data Structures and Algorithms with Rust-preview-1
  • Hands-On Data Structures and Algorithms with Rust-preview-2
  • Hands-On Data Structures and Algorithms with Rust-preview-3
  • Hands-On Data Structures and Algorithms with Rust-preview-4
  • Hands-On Data Structures and Algorithms with Rust-preview-5
  • Hands-On Data Structures and Algorithms with Rust-preview-6
  • Hands-On Data Structures and Algorithms with Rust-preview-7
  • Hands-On Data Structures and Algorithms with Rust-preview-8
Hands-On Data Structures and Algorithms with Rust-preview-1

買這商品的人也買了...

相關主題

商品描述

 

Key Features

  • Use data structures such as arrays, stacks, trees, lists and graphs with real-world examples
  • Learn the functional and reactive implementations of the traditional data structures
  • Explore illustrations to present data structures and algorithms, as well as their analysis, in a clear, visual manner.

Book Description

Rust has come a long way and is now utilized in several contexts. Its key strengths are its software infrastructure and resource-constrained applications, including desktop applications, servers, and performance-critical applications, not forgetting its importance in systems' programming. This book will be your guide as it takes you through implementing classic data structures and algorithms in Rust, helping you to get up and running as a confident Rust programmer.

The book begins with an introduction to Rust data structures and algorithms, while also covering essential language constructs. You will learn how to store data using linked lists, arrays, stacks, and queues. You will also learn how to implement sorting and searching algorithms. You will learn how to attain high performance by implementing algorithms to string data types and implement hash structures in algorithm design. The book will examine algorithm analysis, including Brute Force algorithms, Greedy algorithms, Divide and Conquer algorithms, Dynamic Programming, and Backtracking.

By the end of the book, you will have learned how to build components that are easy to understand, debug, and use in different applications.

What you will learn

  • Design and implement complex data structures in Rust
  • Analyze, implement, and improve searching and sorting algorithms in Rust
  • Create and use well-tested and reusable components with Rust
  • Understand the basics of multithreaded programming and advanced algorithm design
  • Become familiar with application profiling based on benchmarking and testing
  • Explore the borrowing complexity of implementing algorithms

Who this book is for

This book is for developers seeking to use Rust solutions in a practical/professional setting; who wants to learn essential Data Structures and Algorithms in Rust. It is for developers with basic Rust language knowledge, some experience in other programming languages is required.

商品描述(中文翻譯)

關鍵特點

- 使用數據結構,如數組、堆疊、樹、列表和圖,並提供真實世界的示例
- 學習傳統數據結構的函數式和反應式實現
- 通過圖示以清晰可視的方式展示數據結構和算法,以及它們的分析

書籍描述

Rust已經取得了長足的發展,在多個領域得到了應用。它的主要優勢在於軟件基礎設施和資源受限應用,包括桌面應用程序、服務器和性能關鍵應用程序,同時也不忘其在系統編程中的重要性。本書將引導您在Rust中實現經典的數據結構和算法,幫助您成為一名自信的Rust程序員。

本書首先介紹了Rust數據結構和算法,同時涵蓋了基本的語言結構。您將學習如何使用鏈表、數組、堆疊和隊列來存儲數據。您還將學習如何實現排序和搜索算法。您將學習如何通過實現算法來實現高性能的字符串數據類型和哈希結構。本書還將探討算法分析,包括暴力算法、貪婪算法、分治算法、動態規劃和回溯算法。

通過閱讀本書,您將學會如何構建易於理解、調試和在不同應用中使用的組件。

你將學到什麼

- 在Rust中設計和實現複雜的數據結構
- 分析、實現和改進Rust中的搜索和排序算法
- 使用經過良好測試和可重用的組件
- 了解多線程編程的基礎和高級算法設計
- 探索基於基準測試和測試的應用程序性能分析
- 探索實現算法時的借用複雜性

本書適合對在實際/專業環境中使用Rust解決方案感興趣的開發人員;希望在Rust中學習基本數據結構和算法的開發人員。需要具備基本的Rust語言知識,並且需要一些其他編程語言的經驗。

目錄大綱

Table of Contents

  1. Hello Rust!
  2. Crates, Cargo, And The Ecosystem
  3. Storing Efficiently
  4. Lists, Lists, More Lists
  5. Robust Trees
  6. Exploring Maps and Sets
  7. Rust's std::collections
  8. Algorithm Evaluation
  9. Finding Stuff
  10. Ordering Things
  11. Random and Combinatorial
  12. Algorithms of std::collections

目錄大綱(中文翻譯)

目錄


  1. Hello Rust!

  2. Crates, Cargo, 與生態系統

  3. 高效儲存

  4. 列表,列表,還有更多列表

  5. 強大的樹

  6. 探索地圖與集合

  7. Rust 的 std::collections

  8. 演算法評估

  9. 尋找東西

  10. 排序事物

  11. 隨機與組合

  12. std::collections 的演算法