Hi,
In the above problem, I tried using the method of diving an array in two subsets with minimum difference but it gave me wrong answer for the test case
5
110 90 70 50 40
For me, the answer should be that one person would take pizza with sector angles 90,40 and 50 and other person will take sectors 110 and 70. Did I understand the problem incorrectly?