Partition Members by Team Capacity - Coding problem | OneNoughtOne