As reported: Splunk (Cisco) Software Engineer – Full Stack (2025), Karat assessment: Karat Core is a 60-minute live video interview — about 15 minutes of system-design discussion, then 45 minutes of coding; a redo is allowed. First attempt, coding question 1.
You are given a rectangular board where '0' is a passable cell and '+' is an impassable one. Return the indices of every row that is completely passable and of every column that is completely passable.
Example 1
+ 0 0 0 +
0 0 0 0 0
0 + 0 0 0 -> rows [1], columns [2, 3]
Example 2
+ +
+ + -> rows [], columns []
Constraints: 1 ≤ rows, cols ≤ 500.
Code runner format: one JSON value: the board as a list of strings (e.g. ["+000+","00000","0+000"]). Implement passableLanes(board) returning [rows, columns], each in increasing order; the harness prints it.