reverse a string
dijkstra's algorithm
wtf is this