George and Alex need a room. You're given rooms. Each has current occupancy and maximum capacity. Your task: count rooms with enough space for both (capacity minus occupancy ).
I'll show you filtering logic with pairs of numbers. Each room gives two values: occupancy and capacity. You calculate available space and check if it meets the requirement. Count items that pass the test.
This teaches working with multiple related values per iteration. The pattern: read values, compute from them, make a decision. Try solving it yourself first.