Given an array of non-negative integers, sort the array based on the number of digits in each number. If two numbers have the same number of digits, their original order is preserved.
Non-comparison based sorting
No dry run loaded.
🚀 Practice this problem
Run code, get AI hints & track streak