Optimal Workload Partitioning - Coding problem | OneNoughtOne