[Go] Linked list - Doubly Linked List from java to GO
Java // Definition for doubly-linked list. class DoublyListNode { int val; DoublyListNode next, prev; DoublyListNode(int x) {val = x;} } Go type DoublyListNode struct { val int next, prev *DoublyListNode }
Go/Leet Code
2022. 5. 9. 03:06