The problem, in one line. Houses in a row hold some cash each, taking from two neighbouring houses sets off an alarm, so pick houses that are never next to each other to get the most. LeetCode 198.
The tell. A choice at every item with a rule that links it to its neighbour. When each item is “take it or leave it” and taking blocks the next one, the best total up to here depends only on the last two decisions.