Need help in CSES Counting Rooms.
Hi, so i've been trying to solve this problems with dfs, but it still gives me TLE and RE. Could someone please tell me what's wrong with my code ? My code