master-algorithms-py icon indicating copy to clipboard operation
master-algorithms-py copied to clipboard

👾 𝗺𝘆 𝗱𝗲𝘁𝗮𝗶𝗹𝗲𝗱 𝘄𝗮𝗹𝗸-𝘁𝗵𝗿𝗼𝘂𝗴𝗵 𝗳𝗼𝗿 𝗺𝗮𝘀𝘁𝗲𝗿𝗶𝗻𝗴 𝗰𝗹𝗮𝘀𝘀𝗶𝗰𝗮𝗹 𝗮𝗹𝗴𝗼𝗿𝗶𝘁𝗵𝗺 𝗮𝗻𝗱 𝗱𝗮𝘁𝗮 𝘀𝘁𝗿𝘂𝗰𝘁𝘂𝗿𝗲 𝗽𝗿𝗼𝗯𝗹𝗲𝗺𝘀 (𝗮𝗻𝗱 𝘁𝗵𝗲 𝗯𝗼𝗼𝗸 𝗶 𝗽𝘂𝗯𝗹𝗶𝘀𝗵𝗲𝗱 𝗮 𝗱𝗲𝗰𝗮𝗱𝗲 𝗮𝗴𝗼)

👾🐍 master algorithms with python (and my book)




📖 algorithms and data structures: learn with my examples! (2023)


  • 𝟘𝟘𝟘𝟙. arrays and strings
  • 𝟘𝟘𝟙𝟘. bit operations
  • 𝟘𝟘𝟙𝟙. dynamic programming
  • 𝟘𝟙𝟘𝟘. graphs
  • 𝟘𝟙𝟘𝟙. hash objects
  • 𝟘𝟙𝟙𝟘. heaps
  • 𝟘𝟙𝟙𝟙. linked lists
  • 𝟙𝟘𝟘𝟘. math
  • 𝟙𝟘𝟘𝟙. queues
  • 𝟙𝟘𝟙𝟘. searching
  • 𝟙𝟘𝟙𝟙. sets
  • 𝟙𝟙𝟘𝟘. sorting
  • 𝟙𝟙𝟘𝟙. stacks
  • 𝟙𝟙𝟙𝟘. trees
  • 𝟙𝟙𝟙𝟙. tries


📖 my book on algorithms and data structure: open-source for you! (2014)







the zen of phython


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!


external resources