You are given an integer array nums with no duplicates. […]