Given a pattern of I (increasing) and D (decreasing) characters, build the smallest number that satisfies it using the digits 1 to 9 at most once each. I means the next digit is larger than the…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.