Find Last Cell
Find Last Cell is a Cisco interviews coding interview problem. Given an N*M matrix and starting at (1,1), Lucy moves anti-clockwise, skipping every alternate cell. Determine the final cell she lands on and output its integer value. Input includes rows, columns, and matrix elements. A clear interview question on grid traversal.
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Input Variables
Execution Result:
