leetcode

package
v0.0.0-...-8e268bf Latest Latest
Warning

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

Go to latest
Published: May 14, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Candidates

type Candidates []int

func (Candidates) Len

func (c Candidates) Len() int

func (Candidates) Less

func (c Candidates) Less(i, j int) bool

func (Candidates) Swap

func (c Candidates) Swap(i, j int)

type Interval

type Interval struct {
	Start int
	End   int
}

type Intervals

type Intervals []Interval

func (Intervals) Len

func (is Intervals) Len() int

func (Intervals) Less

func (is Intervals) Less(i, j int) bool

func (Intervals) Swap

func (is Intervals) Swap(i, j int)

type ListNode

type ListNode struct {
	Val  int
	Next *ListNode
}

type TreeNode

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

Definition for a binary tree node.

Source Files

Jump to

Keyboard shortcuts

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