Partition Sticks Into Square - Coding problem | OneNoughtOne