Why exactly do we need a “Circular Linked List” (singly or doubly) data structure?

前端 未结 10 1058
無奈伤痛
無奈伤痛 2021-01-30 08:27

Why exactly do we need a \"Circular Linked List\" (singly or doubly) data structure?

What problem does it solve that is evident with simple Linked Lists (singly or doubl

10条回答
  •  说谎
    说谎 (楼主)
    2021-01-30 09:26

    We can use circularly linked list in resource pooling. If many users want to use a shared resource, we can allocate that resource using circularly linked list.

提交回复
热议问题