vault backup: 2025-03-16 18:59:42

This commit is contained in:
boris
2025-03-16 18:59:42 +00:00
parent 6befcc90d4
commit ae837183f1
188 changed files with 17794 additions and 409 deletions

View File

@@ -1,27 +1,23 @@
## Advantages
- This has the advantage of making certain actions easier to perform but at the cost of increased maintenance of the code overall.
- Allows traversal of nodes in both direction which is not possible in singly linked list.
- Can allocate or de-allocate memory easily when required during its execution.
- It is one of most efficient data structure to implement when traversing in both direction is required.
## Disadvantages
## Disadvantages
- Using extra memory when compared to array and singly linked list.
- Slow in search as its elements are stored randomly in memory, hence elements are accessed sequentially (no direct access is allowed).
## ADT Liner list could be implemented by two ways:
## ADT Liner List Could Be Implemented by Two Ways:
- Array
- Used when you search is the highest priority
- Linked list
- Singly linked list
- Used when you addition/deletion is the highest priority
- Doubly linked list
- Used when you addition/deletion is the highest priority
- Navigate next and pervious
- Navigate next and previous