Software Engineer (Starlink)
You are given an M × M grid where each cell contains an integer representing the number of candies in that cell. A bug starts at the top right corner and must reach the bottom right corner. Each time the bug enters a cel...