Smallest larger number that shares no digit with n
Given a positive integer n, return the smallest integer greater than n that contains none of the digits that appear in n, or -1 if there is none. Build the answer digit by digit rather than counting upward.
No answer yet. Write the first one; the best answer gets endorsed.
