Using linked list

why couldnt we use queue for adding nodes using push function and then taking out using pop why there is a use of linked list

hi @dheerajmishra992
yes you can use queue as well for level order traversal.

@dheerajmishra992
please mark your doubt as resolved in my doubt section and rate me as well’

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.