You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Sorts the elements by first grouping the individual digits of the same place value. Then, sort the elements according to their increasing/decreasing order.
535
+
* Method:
536
+
- Find the largest element in the array
537
+
- Find the number of digits of the largest element - calculated because we have to go through all the significant places of all elements.
538
+
- Go through each significant place one by one
539
+
* Time Complexity - Best, Average and Worst: O(n + k)
0 commit comments