Collection of various bits and pieces that I find usefull when solving programming challenges.
####optimal_decision.py
Example of defining an optimal strategy when playing a random game
(Udacity Design of Computer Programs homework)
####bfs.py
Breadth-first search used to find the shortest ride between two stops of the subway network
(Udacity Design of Computer Programs homework)
michalkalinowski- / stdproblems Goto Github PK
View Code? Open in Web Editor NEWBits and pieces of useful code