Pregunta de entrevista de Tokopedia

Sorting (Using any sort code) & Counting Number (1234 = 10)