why i am getting wrong answer for some cases
Painter's partition problem
- Your answer can exceed the range of int. Use long long int.
- Your final answer will not be in ‘start’ . Use a seperate variable to store your final answer and update it whenever the c<=k condition is met.