Please help me asap. https://www.geeksforgeeks.org/construct-a-doubly-linked-linked-list-from-2d-matrix/ I dry run the same matrix and I made like 1->2->3->NULL Then from 3 down call will be there to 6 and from 6 2 calls will be there one for right that will be for NULL and second one for 9. Then 9 also will have 2 calls but both for NULL. Then It will return to 6 then to 3 and at last it will reach to 2 and then one call for 2 is left that is downward so it will make call to 5 and 5 will again make 2 calls and there too one will be for 6 and new node will be made and prev and temp will point there. Here I am stuck that how 2 6’s are possible and there too up and prev are pointing to different ones. I understood some nodes will be double but I am not able to understand display function that how it will print. Please help for that asap
PPlease tell me the doubt in this one.