← Goldman Sachs questions

Min number for N/M ascending/descending pattern

Filed under Goldman Sachs

Given a pattern of 'N' (next is larger) and 'M' (next is smaller), find the smallest number using digits 1-9 without repetition that satisfies the pattern.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Goldman Sachs questions

Collected from public candidate posts and coding forums. Updated Nov 2026.