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

前端 未结 10 1060
無奈伤痛
無奈伤痛 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:17

    Applications

    1) We can use circular linked list any application where the entries appear in a rotating manner.
    2) Circular linked list is the basic idea of round robin scheduling algorithm.

提交回复
热议问题