Even though i applied mod still getting wrong ans in same problem(painter partitions problem of Interview bit)
Solution : https://ide.codingblocks.com/s/294186
Qn : https://www.interviewbit.com/problems/painters-partition-problem/
Not passing test case :
A = 10
B = 1
C = [1, 8, 11, 3]