Compact a sorted array in place so each value appears once, and return the new length. Too many requests from your network. Please wait a minute.