Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Trie ¶
type Trie struct {
// contains filtered or unexported fields
}
*
@author: CodeWater @since: 2024/2/9 @desc: 208. 实现 Trie (前缀树)
*
func Constructor ¶
func Constructor() Trie
func (*Trie) StartsWith ¶
type WordDictionary ¶
type WordDictionary struct {
// contains filtered or unexported fields
}
func Constructor ¶
func Constructor() WordDictionary
func (*WordDictionary) AddWord ¶
func (this *WordDictionary) AddWord(word string)
func (*WordDictionary) Search ¶
func (this *WordDictionary) Search(word string) bool
Source Files
¶
- 200_number_of_islands.go
- 201_bitwise_and_of_numbers_range.go
- 202_happy_number.go
- 205_isomorphic_strings.go
- 207_course_schedule.go
- 208_implement_trie.go
- 209_the_smallest_length_subarray.go
- 210_course_schedule_ii.go
- 211_design_add_and_search_words_data_structure.go
- 212_word_search_ii.go
- 215_kth_largest_element_in_an_array.go
- 219_contains_duplicateII.go
Click to show internal directories.
Click to hide internal directories.