Starter scans
Threshold count
Look for questions like “how many values are above 50” or “how many days are below the limit”. Scan once and increase a counter whenever the condition is true.
Maximum / minimum
When the task asks for the highest score, lowest reading, or best difference, keep the current best value while scanning and update it when a better value appears.
Any / all checks
Questions that ask “does any item fail” or “do all items pass” usually need a boolean flag. Flip the flag as soon as the important case is found.
Consecutive run
Words like “consecutive”, “longest streak”, or “in a row” are the signal. Track the current streak, reset it when broken, and keep the best streak seen so far.