I’m stuck on this for a few days now, failing base case 10.
Hey @Siddhant_Jain This is a BFS based logic where you need to add all the roten oranges to a queue and BFS in the matrix unless you have visited all the ripe matrix. You can look into multiple source BFS in a matrix to understand more about this approach.
Hey, can you check my implementation or provide the base case 10 so I can debug it. I have done similar thing as multisourse bfs but don’t know what I missed.
@Siddhant_Jain You should be able to download the testcases through a popout bar from the right side? It is accessible through the bulb icon. Were you not able to access it? DMd the testcase as well.
Closing this topic as there is no response since last 12 hours. Please feel free to create a new topic and post this question as a reference link in the description of the new topic.