LTTS Online Assessment | Embedded Display Canvas Rotator & Hardware Registry Signal Audit
Question · Posted Jun 2026
Problem 1 - Embedded Display Canvas Rotator Problem Statement You are developing a lightweight firmware driver for an embedded IoT medical display monitor. The display frame buffer is represented as an N × N integer matrix pixelCanvas. Your task is to rotate the matrix exactly 90 degrees counter-clockwise. The transformation must be performed in-place without allocating any additional 2D matrix. Constraints Constraint 1 ≤ N ≤ 500 0 ≤ pixelCanvas[i][j] ≤ 255 Test Case Input Output pixelCanvas = [[1,2,3], [4,5,6], ...
The full answer & interview discussion are available to premium members.
Log in Create a free account