Clear all

[Solved] CS301 GDB Fall 2022

Joined: 4 years ago
Posts: 6752
Topic starter  

CS301 GDB Fall 2022 solution idea:


According to the given scenario doubly linked list is best for hospitals, because in the doubly linked list the traversal can be done using the previous node. Link or the next node-link thus traversal is possible in the both directions forwarded and backward. Its also the complexity of insertion and deletion at a given position 0 and 1.

A double linked list is preferred when we don’t have limitations and searching is required, we need to perform search operation on the linked list. As compared to the singly linked list is preferred when we have memory limitations, we cannot use much memory and searching is not required.

In double link lists a programmer uses two pointers in the node. If we need better performance while searching and memory is not limitations in this case doubly linked list is more prefferd

Students kindly share assignment files in relevant subject timely for discussion/solution.
or directly share with us " Click here"
QueryVU Telegram Groups subject wise Join Now
QueryVU WhatsApp groups subject wise Join Now