Documentation
¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func Find ¶
Example ¶
package main
import (
"fmt"
"github.com/skhal/lab/iq/14/intersection"
)
func main() {
shared := intersection.NewList(1, 2)
l1 := intersection.NewList(3, 4).Append(shared)
l2 := intersection.NewList(5).Append(shared)
node := intersection.Find(l1, l2)
fmt.Println(node)
}
Output: [1 2]
Click to show internal directories.
Click to hide internal directories.