Given a string s, partition it so that every part is a palindrome. Return the minimum number of cuts needed. The input is JSON {s}.
Input: JSON {s}.
Output: Integer — the minimum cuts.
Input: {"s":"aab"}
Output: 1
Explanation: 'aa' | 'b'.Input: {"s":"a"}
Output: 0
Explanation: Already a palindrome.Input: {"s":"ab"}
Output: 1
Explanation: 'a' | 'b'.1<=|s|<=2000