day1

package
v0.0.0-...-c2f6671 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Numbers = map[string]int{
	"one":   1,
	"two":   2,
	"three": 3,
	"four":  4,
	"five":  5,
	"six":   6,
	"seven": 7,
	"eight": 8,
	"nine":  9,
}

Functions

func Problem1

func Problem1()

func Problem2

func Problem2()

Types

type TrieNode

type TrieNode struct {
	Children map[rune]*TrieNode
	// contains filtered or unexported fields
}
var Trie *TrieNode

func NewTrieNode

func NewTrieNode() *TrieNode

func (*TrieNode) Insert

func (t *TrieNode) Insert(word string)

func (*TrieNode) Search

func (t *TrieNode) Search(word string) bool

Jump to

Keyboard shortcuts

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