types

package
v0.0.0-...-5fc6d23 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SliceFromList

func SliceFromList(p *ListNode) []int

Types

type ListNode

type ListNode struct {
	Val  int
	Next *ListNode
}

func ListFromSlice

func ListFromSlice(sl []int) *ListNode

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