Fundamental question - what are some ways to store a graph? I was thinking about a Node structure with elements having value and children. But using a dictionary of dictionary is soo much more easier!
@suri4Musiq22 күн бұрын
I also think you could have explained it better - like the reason it is 1 and 0 initially is so that it can ease the computation of answer later in the code. but it was a little too convoluted to begin with!