The Recursive Book of Recursion: Ace the Coding Interview with Python and JavaScript (Paperback)
暫譯: 遞迴的遞迴書:用 Python 和 JavaScript 精通程式面試 (平裝本)
Sweigart, Al
- 出版商: No Starch Press
- 出版日期: 2022-08-16
- 定價: $1,500
- 售價: 9.0 折 $1,350
- 語言: 英文
- 頁數: 328
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1718502028
- ISBN-13: 9781718502024
-
相關分類:
JavaScript、Python、程式語言、面試技巧
-
相關翻譯:
遞歸算法與項目實戰 (簡中版)
遞迴演算法大師親授面試心法:Python 與 JavaScript 解題全攻略 (The Recursive Book of Recursion) (繁中版)
立即出貨 (庫存 < 4)
買這商品的人也買了...
-
$450$356 -
$1,530$1,454 -
$1,300$1,235 -
$650$585 -
$520$411 -
$1,050$998 -
$1,840$1,748 -
$520$411 -
$420$332 -
$520$406 -
$580$458 -
$380$266 -
$1,190$1,131 -
$2,800$2,660 -
$347算法之禪 : 遞推與遞歸
-
$1,730$1,644 -
$560$442 -
$420$378 -
$2,860$2,717 -
$600$468 -
$380$342 -
$1,200$948 -
$630$498 -
$650$514 -
$2,190$2,081
商品描述
An accessible yet rigorous crash course on recursive programming using Python and JavaScript examples.
Recursion, and recursive algorithms, have a reputation for being intimidating. They're seen as an advanced computer science topic often brought up in coding interviews. Moreover, coders often perceive the use of a recursive algorithm as a sophisticated solution that only true programmers can produce. But there's nothing magical about recursion. Its fearsome reputation is more a product of poor teaching than of the complexity of recursion itself.
This book teaches the basics of recursion, exposes the ways it's often poorly taught, and clarifies the fundamental principles behind all recursive algorithms. It is project-based, containing complete, runnable programs in both Python and JavaScript, and covers several common recursive algorithms for tasks like calculating factorials, producing numbers in the Fibonacci sequence, tree traversal, maze solving, binary search, quicksort and merge sort, Karatsuba multiplication, permutations and combinations, and solving the eight queens problem.
The book also explains tail call optimization and memoization, concepts often employed to produce effective recursive algorithms, and the call stack, which is a critical part of how recursive functions work but is almost never explicitly pointed out in lessons on recursion. The last chapter, on fractals, culminates with examples of the beautiful fractal shapes recursion can produce.
商品描述(中文翻譯)
一本易於理解但又嚴謹的遞迴程式設計速成課程,使用 Python 和 JavaScript 範例。
遞迴及遞迴演算法常常被視為令人畏懼的主題。它們被認為是進階的計算機科學主題,經常在程式設計面試中被提及。此外,程式設計師通常認為使用遞迴演算法是一種只有真正的程式設計師才能產出的高級解決方案。但遞迴並沒有什麼神秘之處。它可怕的聲譽更多是由於教學不當,而非遞迴本身的複雜性。
本書教授遞迴的基本概念,揭示其常被教得不佳的方式,並澄清所有遞迴演算法背後的基本原則。這是一本以專案為基礎的書籍,包含完整且可執行的 Python 和 JavaScript 程式,並涵蓋幾個常見的遞迴演算法,例如計算階乘、生成費波那契數列、樹的遍歷、迷宮解決、二元搜尋、快速排序和合併排序、Karatsuba 乘法、排列組合,以及解決八皇后問題。
本書還解釋了尾呼叫優化和備忘錄化,這些概念常用於產生有效的遞迴演算法,以及呼叫堆疊,這是遞迴函數運作的關鍵部分,但在遞迴教學中幾乎從未明確指出。最後一章關於分形,展示了遞迴可以產生的美麗分形形狀的範例。
作者簡介
Al Sweigart is a software developer and tech book author living in Houston. Python is his favorite programming language, and he is the developer of several open source modules for it. His other books are freely available under a Creative Commons license on his website at https: //www.inventwithpython.com/.
作者簡介(中文翻譯)
Al Sweigart 是一位軟體開發人員和技術書籍作者,居住在休士頓。他最喜愛的程式語言是 Python,並且是幾個開源模組的開發者。他的其他書籍可以在他的網站 https://www.inventwithpython.com/ 上以創用CC授權免費獲得。