(a) Write algorithms to implement Queues using Linked list. What are…

Previous year question for Data Structures.

Question

(a) Write algorithms to implement Queues using Linked list. What are the advantages of implementing queues using linked list in comparison to its implementation using arrays.

(b) Write algorithms for:

(i) Reverse the liner linked list

(ii) Delete all nodes in a doubly linked list having odd number in its information part.

Related pages

Open on CachedInfo