Problem Solving: Sorting Huge Numbers

Learn how multi-dimensional arrays can be used to represent big numbers and they can be manipulated like sorting.

Radix sort on a matrix

Consider an m x n matrix where each row constitutes a complete number. For example, take a look at the 5 x 5 matrix below:

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy