Name the classic, find the twist
transcript
The problem comes with a long story about an app. Do not read it as something new. Underneath, it is usually a classic.
Step one: say which known problem it is. It might be an anagram, or a missing number. Or it might be a grid to rotate.
Step two: find the one rule that differs from the textbook. Titles ignore spaces and capitals. The road may not start at one. The grid may not be square.
The name gives you the method straight away. Counters for anagrams, and sums for the missing marker. Fold the presses when a grid is turned many times.
Hidden tests are written to aim at the twist. So run a small test of the twist yourself. Then submit with confidence.
The right twist earns every mark on that problem. The wrong twist still earns some marks. You do not need to be clever, only careful.
Two sentences describe the whole problem. After that, the code is usually short. Full breakdown in the lecture.