Can someone help with some test case for the problem RRDAG ? getting WA ,here’s my solution.
3
000 000 100