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-01-25T14:43:17.927Z
© Jutge.org, 2006–2026.
https://jutge.org