Does python have built-in linkedList data structure?

后端 未结 5 1975
情深已故
情深已故 2021-02-07 05:05

Does anyone know if Python (maybe 2.7) has a built-in linkedList data structure? I know the queue is implemented using list, and there is no stack (there is LIFO qu

5条回答
  •  说谎
    说谎 (楼主)
    2021-02-07 05:35

    There is no built in linked list in python but u can use dequeue, it gives u access to head and tail both, but if u want to implement yours own linked list may be u can use

    Python Linked List

提交回复
热议问题