Since a matrices is just an array in an array, and the name of the array is a pointer to the first element of the array, can it be sorted using pointers in a more efficient way maybe 0(nlogn)?
I tried sorting the matrices using pointers but i couldn’t arrive at 0(nlogn)
New contributor
YaseerCPP is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.