LeetCode Question · Oct 2021 · Los Angeles

CodeSignal | sortMatrixByOccurrences

3 upvotes 2,647 views 3 replies

Question Details

Given a square matrix of integers m, your task is to rearrange its numbers in the following way: 1) First, sort its values in ascending order of how frequently the number...

Full Details

🔒

Unlock all Square/Block questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a square/block interview for a swe role during the oa round reported in 2021.

It covers the following topics: Hash Table, Heap, Matrix .