← Microsoft questions

Find element in N*N spiral matrix at [R,C]

Filed under Microsoft

Given an N*N matrix filled in spiral order, find the value at row R and column C without creating the matrix.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Microsoft questions

Collected from public candidate posts and coding forums. Updated Nov 2026.