Problem 1363 · Hard

Largest Multiple of Three

Build the largest number from the digits that is divisible by three, dropping the fewest smallest digits needed to fix the remainder.

Open the interactive visualisation