leetcode

package
v0.0.0-...-fdcae39 Latest Latest
Warning

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

Go to latest
Published: May 14, 2023 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MapSum

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

MapSum ...

func Constructor

func Constructor() MapSum

Constructor initialize your data structure here.

func (*MapSum) Insert

func (s *MapSum) Insert(key string, val int)

Insert ...

func (*MapSum) Sum

func (s *MapSum) Sum(prefix string) int

Sum ...

Jump to

Keyboard shortcuts

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