Just curious how your guys come up with the idea of putting houses among heaters.

The intuition, like me, shouldn't be putting heaters among houses ???? and then stuck in O(n^2) solution.

Can constant training help you come up with good problem solving instinct (if this is your first time seeing this problem)