Trilogy, Recently Asked Online Assessments in 22 Aug, 2025 | Grid Block Simulation
Question · Posted Apr 2026
Grid Block Simulation Problem Statement: You are given a rectangular board divided into a uniform grid (square cells). Some cells of the board are occupied with blocks, and others are empty. You are trying to add more and more blocks to the board, and your task is to fill the first column with them. You can add a block to the field in the following way: first, you choose the row index, then you throw the new block into the ...
The full answer & interview discussion are available to premium members.
Log in Create a free account