Arcadis | Recent DSA Coding Round 2026 | Samurai & His Friends | Number of Distinct Islands | Arcadis Coding Questions | DFS on Matrix & 3D DP Optimization
Question · Posted Mar 2026
Question 1: Samurai & his Friends Problem Statement: Samurai has a grid of chocolates with dimensions m x n. Positioned at the top-left corner (0, 0) is Samurai's friend Charlie, and at the top-right corner (0, n - 1) is his other friend Jack. Both friends can move downward, collecting chocolates from the cells they pass through. When a friend passes through a cell, all chocolates in that cell are picked, reducing the count to zero. Charlie and Jack, when ...
The full answer & interview discussion are available to premium members.
Log in Create a free account