A Common-Sense Guide to Data Structures and Algorithms: Level Up Your Core Programming Skills

Jay Wengrow

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

商品描述

If you last saw algorithms in a university course or at a job interview, you're missing out on what they can do for your code. Learn different sorting and searching techniques, and when to use each. Find out how to use recursion effectively. Discover structures for specialized applications, such as trees and graphs. Use Big O notation to decide which algorithms are best for your production environment. Beginners will learn how to use these techniques from the start, and experienced developers will rediscover approaches they may have forgotten.

Algorithms and data structures are much more than abstract concepts. Mastering them enables you to write code that runs faster and more efficiently, which is particularly important for today's web and mobile apps. This book takes a practical approach to data structures and algorithms, with techniques and real-world scenarios that you can use in your daily production code. Graphics and examples make these computer science concepts understandable and relevant.

Use Big O notation, the primary tool for evaluating algorithms, to measure and articulate the efficiency of your code, and modify your algorithm to make it faster. Find out how your choice of arrays, linked lists, and hash tables can dramatically affect the code you write. Use recursion to solve tricky problems and create algorithms that run exponentially faster than the alternatives. Dig into advanced data structures such as binary trees and graphs to help scale specialized applications such as social networks and mapping software. You'll even encounter a single keyword that can give your code a turbo boost. Jay Wengrow brings to this book the key teaching practices he developed as a web development bootcamp founder and educator.

Use these techniques today to make your code faster and more scalable.

商品描述(中文翻譯)

如果你最後一次接觸演算法是在大學課程或工作面試時,那麼你錯過了它們對你的程式碼能帶來的好處。學習不同的排序和搜尋技巧,以及何時使用每一種技巧。了解如何有效地使用遞迴。探索專門應用的結構,例如樹和圖。使用大O符號來判斷哪些演算法最適合你的生產環境。初學者將從一開始學習如何使用這些技巧,而有經驗的開發人員將重新發現他們可能已經忘記的方法。

演算法和資料結構遠不止是抽象的概念。掌握它們使你能夠撰寫運行更快、更高效的程式碼,這對於今天的網頁和移動應用程式尤其重要。本書以實用的方式介紹資料結構和演算法,提供你可以在日常生產程式碼中使用的技巧和實際場景。圖形和例子使這些計算機科學概念易於理解且具有相關性。

使用大O符號,這是評估演算法的主要工具,來衡量和說明你的程式碼的效率,並修改你的演算法使其更快。了解你選擇的陣列、鏈結串列和雜湊表如何顯著影響你所撰寫的程式碼。使用遞迴來解決棘手的問題,並創建比其他替代方案運行速度指數級更快的演算法。深入研究高級資料結構,如二元樹和圖,以幫助擴展專門應用,例如社交網絡和地圖軟體。你甚至會遇到一個關鍵字,可以讓你的程式碼加速。Jay Wengrow在本書中運用了他作為網頁開發訓練營創辦人和教育者所發展的關鍵教學方法。

立即使用這些技巧,讓你的程式碼更快、更具擴展性。