leetcode

package
v0.0.0-...-db8cdb6 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LRUCache

type LRUCache struct {
	// contains filtered or unexported fields
}

@lc code=start

func Constructor

func Constructor(capacity int) LRUCache

func (*LRUCache) Get

func (lrucache *LRUCache) Get(key int) int

TODO error

func (*LRUCache) Put

func (lrucache *LRUCache) Put(key int, value int)

TODO error

type TreeNode

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

Definition for a binary tree node.

Jump to

Keyboard shortcuts

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