data structures and algorithms cheat sheet reddit