A Common-Sense Guide to Data Structures and Algorithms in Python, Volume 1: Level Up Your Core Programming Skills

Wengrow, Jay

相關主題

商品描述

p>If you thought data structures and algorithms were all just theory, you're missing out on what they can do for your Python code. Learn to use Big O notation to make your code run faster by orders of magnitude. Choose from data structures such as hash tables, trees, and graphs to increase your code's efficiency exponentially. With simple language and clear diagrams, this book makes this complex topic accessible, no matter your background. Every chapter features practice exercises to give you the hands-on information you need to master data structures and algorithms for your day-to-day work.

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. Take a practical approach to data structures and algorithms, with techniques and real-world scenarios that you can use in your daily production code. The Python edition uses Python exclusively for all code examples, exercise, and solutions.

Use Big O notation 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. Practice your new skills with exercises in every chapter, along with detailed solutions.

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

商品描述(中文翻譯)

如果你認為資料結構和演算法只是理論,那麼你就錯過了它們對於你的 Python 代碼所能帶來的好處。學習使用大 O 表示法,讓你的代碼運行速度提升數倍。選擇使用哈希表、樹和圖等資料結構,讓你的代碼效率成倍提升。本書以簡單易懂的語言和清晰的圖表,使這個複雜的主題對於任何背景的讀者都易於理解。每一章都包含練習題,讓你能夠實踐所學的資料結構和演算法,並應用於日常工作中。

演算法和資料結構遠不止於抽象的概念。掌握它們能夠讓你編寫更快、更高效的代碼,對於當今的網頁和移動應用程式尤其重要。本書以實用的方式介紹資料結構和演算法,提供技巧和真實場景,讓你能夠應用於日常的生產代碼中。本書的 Python 版本專門使用 Python 進行所有的代碼示例、練習和解答。

使用大 O 表示法來衡量和說明你的代碼效率,並修改你的演算法使其更快。了解你選擇使用陣列、鏈結串列和哈希表對於你所編寫的代碼有何重大影響。使用遞迴來解決棘手的問題,並創建比其他方法運行速度指數級更快的演算法。深入研究二元樹和圖等高級資料結構,以幫助擴展特定應用程式,如社交網絡和地圖軟體。你甚至會遇到一個關鍵字,可以讓你的代碼加速。每一章都有練習題,並提供詳細的解答,讓你能夠練習新的技能。

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

最後瀏覽商品 (1)