Back to Browse

Facebook Coding Interview Question - Sort the Matrix Diagonally

121 views
May 3, 2021
18:36

► Support me on Patreon: https://www.patreon.com/algorithmspractice Problem description: Sort M x N matrix diagonally in ascending order from top left to bottom right Example 1: matrix = [ [8, 12, 13], [10, 11, 1], [19, 17, 0] ] result: [ [0, 1, 13], [10, 8, 12], [19, 17, 11] ]

Download

0 formats

No download links available.

Facebook Coding Interview Question - Sort the Matrix Diagonally | NatokHD