mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-04-29 20:26:07 -04:00
77 lines
2.7 KiB
Markdown
77 lines
2.7 KiB
Markdown
# Python, Algorithms, and Data Structures (Book)
|
|
|
|
<br>
|
|
|
|
### Hello, anon 👋🏻
|
|
### This repository contains my book on Algorithms and Data Structure in Python, published by [Hanbit Media](http://www.hanbit.co.kr/) in 2014.
|
|
|
|
[👾 here is a proof that this repo used to have 600+ stars and 300 forks before shit happened](https://github.com/MEV-WAIFU-LABS/pentesting_toolkit/blob/master/STARS.png)
|
|
|
|
<br>
|
|
|
|
---
|
|
|
|
|
|
<p align="center">
|
|
<img src="https://user-images.githubusercontent.com/1130416/156927662-1cc6d09f-1124-4a87-8c40-10159b24d307.jpeg" width="50%" align="center" style="padding:1px;border:1px solid black;">
|
|
</p>
|
|
|
|
|
|
|
|
<p align="center">
|
|
<img src="https://user-images.githubusercontent.com/1130416/156927665-8f574012-bb9d-4698-bef2-bb4f5173d63c.png" width=90%" align="center" style="padding:1px;border:1px solid black;">
|
|
</p>
|
|
|
|
<p align="center">
|
|
<img src="https://user-images.githubusercontent.com/1130416/156927666-04e64766-8d8b-4973-a2b1-6e0c48dc6cc1.jpeg" width=90%" align="center" style="padding:1px;border:1px solid black;">
|
|
|
|
<p align="center">
|
|
<img src="https://user-images.githubusercontent.com/1130416/156927664-25102b50-301c-4d18-aa15-b399b9716ff1.png" width=90%" align="center" style="padding:1px;border:1px solid black;">
|
|
</p>
|
|
|
|
<br>
|
|
|
|
----
|
|
|
|
<br>
|
|
|
|
### Summary
|
|
|
|
|
|
* This book as one of the first publications to solve the classic computer science algorithm and data structure problems in Python.
|
|
|
|
* [Here is the PDF for the free e-book](https://github.com/bt3gl/Book_on_Python_Algorithms_and_Data_Structure/blob/master/book/ebook_pdf/book_second_edition.pdf).
|
|
|
|
* [Here is the source code, including abstract structures, bitwise operations, builtin Python data structures, searching and sorting, trees, and real interview problems](https://github.com/bt3gl/Book_on_Python_Algorithms_and_Data_Structure/tree/master/book/ebook_src).
|
|
|
|
<br>
|
|
|
|
---
|
|
|
|
<br>
|
|
|
|
|
|
### [The Zen of Python](https://www.python.org/dev/peps/pep-0020/)
|
|
|
|
```
|
|
Beautiful is better than ugly.
|
|
Explicit is better than implicit.
|
|
Simple is better than complex.
|
|
Complex is better than complicated.
|
|
Flat is better than nested.
|
|
Sparse is better than dense.
|
|
Readability counts.
|
|
Special cases aren't special enough to break the rules.
|
|
Although practicality beats purity.
|
|
Errors should never pass silently.
|
|
Unless explicitly silenced.
|
|
In the face of ambiguity, refuse the temptation to guess.
|
|
There should be one-- and preferably only one --obvious way to do it.
|
|
Although that way may not be obvious at first unless you're Dutch.
|
|
Now is better than never.
|
|
Although never is often better than *right* now.
|
|
If the implementation is hard to explain, it's a bad idea.
|
|
If the implementation is easy to explain, it may be a good idea.
|
|
Namespaces are one honking great idea -- let's do more of those!
|
|
```
|