Not too difficult, 1) Follow the question, find the maximum, then assign left part and right part, not too much too care about, just need to think of edge case.

Error:
N/A