Given an array of integers `towns` representing the trade values of 27 towns, find the minimum number of towns required to achieve a total trade value of at least 947. Return the minimum count of towns.
Analyze constraints and compute optimal solutions step-by-step.
No dry run loaded.
🚀 Practice this problem
Run code, get AI hints & track streak