Hey guys,
My projects's deadline is 1 hour away and i need to know what are the base cases that i should do while searching in a 2 array for connected pieces so i basically use a DFS but i don't know what's wrong with the base cases so can anyone tell me what are they and how to code them?