21st Jul 2023, 5:18 AM
Photon In Double Slit đŸ’«
Photon In Double Slit đŸ’« - avatar
3 Answers
+ 7
I changed line 17 to head=newnode; And it prints.
21st Jul 2023, 6:23 AM
Ausgrindtube
Ausgrindtube - avatar
+ 2
Happy I could help! Enjoy your coding!
22nd Jul 2023, 6:39 AM
Ausgrindtube
Ausgrindtube - avatar
+ 1
Ausgrindtube the first element inserted into queue must be it's head as well as tail. Thanks a lot for clarifying my doubt.
22nd Jul 2023, 4:13 AM
Photon In Double Slit đŸ’«
Photon In Double Slit đŸ’« - avatar