Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
GistNoesis
· 2y ago · 0 comments
I got nerd sniped :) and created
https://github.com/unrealwill/ReverseListPuzzle
to explore all the solutions, with graph algorithms.
Comments
[–]
davidalayachew
2y ago
Lol, they got me too. Mine has an algorithm to find a solution quickly, and another to find the shortest solution possible. I also created a very rudimentary GUI so that the game could be played. I'll clean the GUI up later though.
https://github.com/davidalayachew/ReverseTheListOfIntegers