nks for shari
It seems that you init elements in array cut to be 0? Should it be initialized to be n - 1?
Or min(cut[i+j+1],1+cut[i-j]) always return 0?
Palindrome Partitioning II
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.