Problem Solving with Go course

Capstone PuzzlesFinal Quiz

Problem Solving with Go

Display

Theme

Capstone Puzzles · Quiz

Final Quiz

One last check across the whole course: reading a puzzle, choosing a data structure and recognising the pattern behind it. Answer every question below.

  1. Question 1 of 6A maze puzzle asks for the fewest steps from S to E, and every step costs the same. Which approach fits best?
  2. Question 2 of 6Part 2 of a puzzle repeats a step a trillion times, and the state is a small grid. What's the usual way through?
  3. Question 3 of 6Which key lets a memoised recursion remember answers for a position and a direction?
  4. Question 4 of 6Ranges such as 3-7 and 5-12 overlap, and the puzzle asks how many numbers are covered in total. What do you do first?
  5. Question 5 of 6Rules say which steps must come before others, and one rule loops back. What does a topological sort report?
  6. Question 6 of 6Your solution works on the example but takes minutes on the real puzzle input in Nibble. What's the best next step?