Algorithms in a Nutshell: A Practical Guide, 2/e

George T. Heineman, Gary Pollice, Stanley Selkow

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

商品描述

Creating robust software requires the use of efficient algorithms, but programmers seldom think about them until a problem occurs. This updated edition of Algorithms in a Nutshell describes a large number of existing algorithms for solving a variety of problems, and helps you select and implement the right algorithm for your needs—with just enough math to let you understand and analyze algorithm performance.

With its focus on application, rather than theory, this book provides efficient code solutions in several programming languages that you can easily adapt to a specific project. Each major algorithm is presented in the style of a design pattern that includes information to help you understand why and when the algorithm is appropriate.

With this book, you will:

  • Solve a particular coding problem or improve on the performance of an existing solution
  • Quickly locate algorithms that relate to the problems you want to solve, and determine why a particular algorithm is the right one to use
  • Get algorithmic solutions in C, C++, Java, and Ruby with implementation tips
  • Learn the expected performance of an algorithm, and the conditions it needs to perform at its best
  • Discover the impact that similar design decisions have on different algorithms
  • Learn advanced data structures to improve the efficiency of algorithms

商品描述(中文翻譯)

創建強大的軟體需要使用高效的演算法,但程式設計師往往只有在出現問題時才會考慮到它們。這本更新版的《演算法大全》描述了許多現有的演算法,用於解決各種問題,並幫助您選擇和實現適合您需求的正確演算法,同時提供足夠的數學知識讓您理解和分析演算法的效能。

本書著重於應用而非理論,提供了幾種程式語言的高效程式碼解決方案,您可以輕鬆地適應到特定的專案中。每個主要演算法都以設計模式的形式呈現,包含了幫助您理解為何以及何時使用該演算法的相關資訊。

這本書將幫助您:

- 解決特定的編碼問題或改進現有解決方案的效能
- 快速找到與您想解決的問題相關的演算法,並確定為何選擇特定演算法
- 獲得 C、C++、Java 和 Ruby 的演算法解決方案以及實作技巧
- 了解演算法的預期效能以及其達到最佳效能所需的條件
- 發現相似設計決策對不同演算法的影響
- 學習高級資料結構以提高演算法的效率