Sort Every Concentric Matrix Border Clockwise
Company: Capital One
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Online Assessment
Overview: Sort the values on each concentric border of a rectangular matrix, then write them back clockwise from the layer's top-left cell. The exercise tests precise coordinate traversal and edge cases where an inner layer collapses to a row, column, or single cell.
Read the full Capital One Software Engineer interview experience this question came from