We have made a queue of datatype node* but later we are pushing intgers into it how is this related plz explain?
Doubt about the data type used for queue
Hi @aryamaan1011,
Can u pls tell at what time in video did u find insertion of integer in queue?
In video, earlier it was written q.push(root->data) but it was later corrected to q.push(root) in the end of the video.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.