Documentation ¶ Index ¶ func MergeKLists(lists []*list.ListNode) *list.ListNode type NodeQueue func (n NodeQueue) Len() int func (n NodeQueue) Less(i, j int) bool func (n *NodeQueue) Pop() interface{} func (n *NodeQueue) Push(x interface{}) func (n NodeQueue) Swap(i, j int) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func MergeKLists ¶ func MergeKLists(lists []*list.ListNode) *list.ListNode https://leetcode.cn/problems/vvXgSW/ Types ¶ type NodeQueue ¶ type NodeQueue []*list.ListNode func (NodeQueue) Len ¶ func (n NodeQueue) Len() int func (NodeQueue) Less ¶ func (n NodeQueue) Less(i, j int) bool func (*NodeQueue) Pop ¶ func (n *NodeQueue) Pop() interface{} func (*NodeQueue) Push ¶ func (n *NodeQueue) Push(x interface{}) func (NodeQueue) Swap ¶ func (n NodeQueue) Swap(i, j int) Source Files ¶ View all Source files mergeKLists.go Click to show internal directories. Click to hide internal directories.