model

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListNode

type ListNode struct {
	Val  int
	Next *ListNode
}

func NewListNode added in v0.1.6

func NewListNode(values []int) (head *ListNode)

func (*ListNode) String added in v0.1.6

func (l *ListNode) String() (ans string)

func (*ListNode) ToSlice added in v0.1.6

func (l *ListNode) ToSlice() (values []int)

type TreeNode

type TreeNode struct {
	Val   int
	Left  *TreeNode
	Right *TreeNode
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL