Sort Matrix Anti-Diagonals by Their Letter Sequences
Problem
Given an n x n character matrix where each cell contains a lowercase English letter.
Consider all anti-diagonals going from bottom-left to top-right, i.e. all diagonals satisfying `row ...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
