Write a function that finds the largest number that can be written with at most digits taken from , and written in the same order as they appear in . Both and are nonnegative integers.
The digits of all numbers are assumed to be as written in base 10.
Author: Jordi Delgado / José Luis Balcázar
Generation: 2026-04-21T13:57:21.802Z
© Jutge.org, 2006–2026.
https://jutge.org