Is this your company?
It is based on Python nested list question. Basically a nested list is given as input. Consider it as a board, now here we simulate a game function where the box (represented as #) falls if they hit an obstacle ['*'] then they are destroyed we need to give the final output for a given input positions of a board. Input: [['#', '-', '#'], ['*', '#', '*'], ['#', '-', '-']] Output: [['-', '-', '-'], ['*', '-', '*'], ['#', '#', '-']]
Check out your Company Bowl for anonymous work chats.