building your own is the holy grail!

Reply to this note

Please Login to reply.

Discussion

i hope we can inspire some people to think a bit more about algorithms. the universe and everything in it is an algorithm. i'm not a simulation hypothesis guy. literally our brains do computation so we can only compute what our senses tell us. everything else is a gift from God or random garbage that is confusing.

also, i'm not saying that sorting algorithms are the most interesting things but my bug for algorithms started with learning the theory of sorting. the bubble sort is really simple and once you know it, you can use it to calculate the ordering of things. this has wide utility.

the bubble sort:

move from one item to the next in a fixed sequence

if the next item is smaller than the previous, swap them around.

repeat until you don't change the order of anything