diff --git a/ctl/label.go b/ctl/label.go index 112a721c..6553508e 100644 --- a/ctl/label.go +++ b/ctl/label.go @@ -74,12 +74,12 @@ var ( } ) -func getChapterFourFileOrder() []string { - solutions := util.LoadChapterFourDir() +func getChapterFourFileOrder() ([]string, []int) { + solutions, solutionIds := util.LoadChapterFourDir() chapterFourFileOrder := []string{"_index"} chapterFourFileOrder = append(chapterFourFileOrder, solutions...) - fmt.Printf("ChapterFour 中包括 _index 有 %v 个文件\n", len(chapterFourFileOrder)) - return chapterFourFileOrder + fmt.Printf("ChapterFour 中包括 _index 有 %v 个文件, len(id) = %v\n", len(chapterFourFileOrder), len(solutionIds)) + return chapterFourFileOrder, solutionIds } func newLabelCommand() *cobra.Command { @@ -123,57 +123,75 @@ func newDeletePreNext() *cobra.Command { func addPreNext() { // Chpater one add pre-next - addPreNextLabel(chapterOneFileOrder, []string{}, "", "ChapterOne", "ChapterTwo") + addPreNextLabel(chapterOneFileOrder, []string{}, []int{}, "", "ChapterOne", "ChapterTwo") // Chpater two add pre-next - addPreNextLabel(chapterTwoFileOrder, chapterOneFileOrder, "ChapterOne", "ChapterTwo", "ChapterThree") + addPreNextLabel(chapterTwoFileOrder, chapterOneFileOrder, []int{}, "ChapterOne", "ChapterTwo", "ChapterThree") // Chpater three add pre-next - addPreNextLabel(chapterThreeFileOrder, chapterTwoFileOrder, "ChapterTwo", "ChapterThree", "ChapterFour") + addPreNextLabel(chapterThreeFileOrder, chapterTwoFileOrder, []int{}, "ChapterTwo", "ChapterThree", "ChapterFour") // Chpater four add pre-next //fmt.Printf("%v\n", getChapterFourFileOrder()) - addPreNextLabel(getChapterFourFileOrder(), chapterThreeFileOrder, "ChapterThree", "ChapterFour", "") + chapterFourFileOrder, solutionIds := getChapterFourFileOrder() + addPreNextLabel(chapterFourFileOrder, chapterThreeFileOrder, solutionIds, "ChapterThree", "ChapterFour", "") } -func addPreNextLabel(order, preOrder []string, preChapter, chapter, nextChapter string) { +func addPreNextLabel(order, preOrder []string, chapterFourIds []int, preChapter, chapter, nextChapter string) { var ( exist bool err error res []byte count int ) - for index, v := range order { + for index, path := range order { tmp := "" if index == 0 { if chapter == "ChapterOne" { // 第一页不需要“上一章” tmp = "\n\n" + delLine + fmt.Sprintf("

下一页➡️

\n", chapter, order[index+1]) } else { - tmp = "\n\n" + preNextHeader + fmt.Sprintf("

⬅️上一章

\n", preChapter, preOrder[len(preOrder)-1]) + fmt.Sprintf("

下一页➡️

\n", chapter, order[index+1]) + preNextFotter + if chapter == "ChapterFour" { + tmp = "\n\n" + preNextHeader + fmt.Sprintf("

⬅️上一章

\n", preChapter, preOrder[len(preOrder)-1]) + fmt.Sprintf("

下一页➡️

\n", chapter, util.GetChpaterFourFileNum(chapterFourIds[(index-1)+1]), order[index+1]) + preNextFotter + } else { + tmp = "\n\n" + preNextHeader + fmt.Sprintf("

⬅️上一章

\n", preChapter, preOrder[len(preOrder)-1]) + fmt.Sprintf("

下一页➡️

\n", chapter, order[index+1]) + preNextFotter + } } } else if index == len(order)-1 { if chapter == "ChapterFour" { // 最后一页不需要“下一页” - tmp = "\n\n" + delLine + fmt.Sprintf("

⬅️上一页

\n", chapter, order[index-1]) + tmp = "\n\n" + delLine + fmt.Sprintf("

⬅️上一页

\n", chapter, util.GetChpaterFourFileNum(chapterFourIds[(index-1)-1]), order[index-1]) } else { tmp = "\n\n" + preNextHeader + fmt.Sprintf("

⬅️上一页

\n", chapter, order[index-1]) + fmt.Sprintf("

下一章➡️

\n", nextChapter) + preNextFotter } } else if index == 1 { - tmp = "\n\n" + preNextHeader + fmt.Sprintf("

⬅️上一页

\n", chapter) + fmt.Sprintf("

下一页➡️

\n", chapter, order[index+1]) + preNextFotter + if chapter == "ChapterFour" { + tmp = "\n\n" + preNextHeader + fmt.Sprintf("

⬅️上一页

\n", chapter) + fmt.Sprintf("

下一页➡️

\n", chapter, util.GetChpaterFourFileNum(chapterFourIds[(index-1)+1]), order[index+1]) + preNextFotter + } else { + tmp = "\n\n" + preNextHeader + fmt.Sprintf("

⬅️上一页

\n", chapter) + fmt.Sprintf("

下一页➡️

\n", chapter, order[index+1]) + preNextFotter + } } else { - tmp = "\n\n" + preNextHeader + fmt.Sprintf("

⬅️上一页

\n", chapter, order[index-1]) + fmt.Sprintf("

下一页➡️

\n", chapter, order[index+1]) + preNextFotter + if chapter == "ChapterFour" { + tmp = "\n\n" + preNextHeader + fmt.Sprintf("

⬅️上一页

\n", chapter, util.GetChpaterFourFileNum(chapterFourIds[(index-1)-1]), order[index-1]) + fmt.Sprintf("

下一页➡️

\n", chapter, util.GetChpaterFourFileNum(chapterFourIds[(index-1)+1]), order[index+1]) + preNextFotter + } else { + tmp = "\n\n" + preNextHeader + fmt.Sprintf("

⬅️上一页

\n", chapter, order[index-1]) + fmt.Sprintf("

下一页➡️

\n", chapter, order[index+1]) + preNextFotter + } } - exist, err = needAdd(fmt.Sprintf("../website/content/%v/%v.md", chapter, v)) + + if chapter == "ChapterFour" && index > 0 { + path = fmt.Sprintf("%v/%v", util.GetChpaterFourFileNum(chapterFourIds[(index-1)]), path) + } + + exist, err = needAdd(fmt.Sprintf("../website/content/%v/%v.md", chapter, path)) if err != nil { fmt.Println(err) return } // 当前没有上一页和下一页,才添加 if !exist && err == nil { - res, err = eofAdd(fmt.Sprintf("../website/content/%v/%v.md", chapter, v), tmp) + res, err = eofAdd(fmt.Sprintf("../website/content/%v/%v.md", chapter, path), tmp) if err != nil { fmt.Println(err) return } - util.WriteFile(fmt.Sprintf("../website/content/%v/%v.md", chapter, v), res) + util.WriteFile(fmt.Sprintf("../website/content/%v/%v.md", chapter, path), res) count++ } } @@ -205,30 +223,35 @@ func eofAdd(filePath string, labelString string) ([]byte, error) { func delPreNext() { // Chpater one del pre-next - delPreNextLabel(chapterOneFileOrder, "ChapterOne") + delPreNextLabel(chapterOneFileOrder, []int{}, "ChapterOne") // Chpater two del pre-next - delPreNextLabel(chapterTwoFileOrder, "ChapterTwo") + delPreNextLabel(chapterTwoFileOrder, []int{}, "ChapterTwo") // Chpater three del pre-next - delPreNextLabel(chapterThreeFileOrder, "ChapterThree") + delPreNextLabel(chapterThreeFileOrder, []int{}, "ChapterThree") // Chpater four del pre-next - delPreNextLabel(getChapterFourFileOrder(), "ChapterFour") + chapterFourFileOrder, solutionIds := getChapterFourFileOrder() + delPreNextLabel(chapterFourFileOrder, solutionIds, "ChapterFour") } -func delPreNextLabel(order []string, chapter string) { +func delPreNextLabel(order []string, chapterFourIds []int, chapter string) { count := 0 - for index, v := range order { + for index, path := range order { lineNum := 5 if index == 0 && chapter == "ChapterOne" || index == len(order)-1 && chapter == "ChapterFour" { lineNum = 3 } - exist, err := needAdd(fmt.Sprintf("../website/content/%v/%v.md", chapter, v)) + if chapter == "ChapterFour" && index > 0 { + path = fmt.Sprintf("%v/%v", util.GetChpaterFourFileNum(chapterFourIds[(index-1)]), path) + } + + exist, err := needAdd(fmt.Sprintf("../website/content/%v/%v.md", chapter, path)) if err != nil { fmt.Println(err) return } // 存在才删除 if exist && err == nil { - removeLine(fmt.Sprintf("../website/content/%v/%v.md", chapter, v), lineNum+1) + removeLine(fmt.Sprintf("../website/content/%v/%v.md", chapter, path), lineNum+1) count++ } } diff --git a/ctl/models/tagproblem.go b/ctl/models/tagproblem.go index f5cfbd5b..1adc7e91 100644 --- a/ctl/models/tagproblem.go +++ b/ctl/models/tagproblem.go @@ -130,9 +130,9 @@ func GenerateTagMdRows(solutionIds []int, metaMap map[int]TagList, mdrows []Mdro s6 := strings.Replace(s5, ",", "", -1) s7 := strings.Replace(s6, "?", "", -1) if internal { - tmp.SolutionPath = fmt.Sprintf("[Go]({{< relref \"/ChapterFour/%v.md\" >}})", fmt.Sprintf("%04d.%v", int(row.FrontendQuestionID), s7)) + tmp.SolutionPath = fmt.Sprintf("[Go]({{< relref \"/ChapterFour/%v/%v.md\" >}})", util.GetChpaterFourFileNum(int(row.FrontendQuestionID)), fmt.Sprintf("%04d.%v", int(row.FrontendQuestionID), s7)) } else { - tmp.SolutionPath = fmt.Sprintf("[Go](https://books.halfrost.com/leetcode/ChapterFour/%v)", fmt.Sprintf("%04d.%v", int(row.FrontendQuestionID), s7)) + tmp.SolutionPath = fmt.Sprintf("[Go](https://books.halfrost.com/leetcode/ChapterFour/%v/%v)", util.GetChpaterFourFileNum(int(row.FrontendQuestionID)), fmt.Sprintf("%04d.%v", int(row.FrontendQuestionID), s7)) } tmp.Acceptance = row.Acceptance tmp.Difficulty = row.Difficulty diff --git a/ctl/pdf.go b/ctl/pdf.go index 9c2b432b..34282956 100644 --- a/ctl/pdf.go +++ b/ctl/pdf.go @@ -9,6 +9,7 @@ import ( "io/ioutil" "os" "regexp" + "strconv" "strings" ) @@ -59,7 +60,7 @@ func generatePDF() { // 先删除 pre-next delPreNext() - chapterFourFileOrder := util.LoadChapterFourDir() + chapterFourFileOrder, _ := util.LoadChapterFourDir() totalSolutions = len(chapterFourFileOrder) midVersion = totalSolutions / 100 lastVersion = totalSolutions % 100 @@ -102,7 +103,17 @@ func loadChapter(order []string, path, chapter string) ([]byte, error) { // 清理不支持的特殊 MarkDown 语法 tmp, err = clean(fmt.Sprintf("%v/%v/%v.md", path, chapter, v)) } else { - tmp, err = util.LoadFile(fmt.Sprintf("%v/%v/%v.md", path, chapter, v)) + if chapter == "ChapterFour" { + if v[4] == '.' { + num, err := strconv.Atoi(v[:4]) + if err != nil { + fmt.Println(err) + } + tmp, err = util.LoadFile(fmt.Sprintf("%v/%v/%v/%v.md", path, chapter, util.GetChpaterFourFileNum(num), v)) + } + } else { + tmp, err = util.LoadFile(fmt.Sprintf("%v/%v/%v.md", path, chapter, v)) + } } if err != nil { fmt.Println(err) @@ -126,7 +137,7 @@ func prepare(path string) { fmt.Println(err) } for _, v := range chapterOneFileOrder { - removeHeader(fmt.Sprintf("../website/content/ChapterOne/%v.md", v), fmt.Sprintf("./pdftemp/ChapterOne/%v.md", v), 4) + removeHeader(fmt.Sprintf("../website/content/ChapterOne/%v.md", v), fmt.Sprintf("./pdftemp/ChapterOne/%v.md", v), 5) } err = os.MkdirAll("./pdftemp/ChapterTwo", os.ModePerm) @@ -138,7 +149,7 @@ func prepare(path string) { util.CopyFile("./pdftemp/ChapterTwo/_index.md", "../website/content/ChapterTwo/_index.md") for _, v := range chapterTwoFileOrder { - removeHeader(fmt.Sprintf("./pdftemp/ChapterTwo/%v.md", v), fmt.Sprintf("./pdftemp/ChapterTwo/%v.md", v), 4) + removeHeader(fmt.Sprintf("./pdftemp/ChapterTwo/%v.md", v), fmt.Sprintf("./pdftemp/ChapterTwo/%v.md", v), 5) } err = os.MkdirAll("./pdftemp/ChapterThree", os.ModePerm) @@ -146,14 +157,14 @@ func prepare(path string) { fmt.Println(err) } for _, v := range chapterThreeFileOrder { - removeHeader(fmt.Sprintf("../website/content/ChapterThree/%v.md", v), fmt.Sprintf("./pdftemp/ChapterThree/%v.md", v), 4) + removeHeader(fmt.Sprintf("../website/content/ChapterThree/%v.md", v), fmt.Sprintf("./pdftemp/ChapterThree/%v.md", v), 5) } err = os.MkdirAll("./pdftemp/ChapterFour", os.ModePerm) if err != nil { fmt.Println(err) } - removeHeader(fmt.Sprintf("../website/content/ChapterFour/_index.md"), fmt.Sprintf("./pdftemp/ChapterFour/_index.md"), 4) + removeHeader(fmt.Sprintf("../website/content/ChapterFour/_index.md"), fmt.Sprintf("./pdftemp/ChapterFour/_index.md"), 5) } func clean(filePath string) ([]byte, error) { diff --git a/ctl/refresh.go b/ctl/refresh.go index 9db1784a..501031a6 100644 --- a/ctl/refresh.go +++ b/ctl/refresh.go @@ -18,7 +18,8 @@ func newRefresh() *cobra.Command { } func refresh() { - buildBookMenu() + //buildBookMenu() + copyLackFile() delPreNext() buildREADME() buildChapterTwo(true) diff --git a/ctl/render.go b/ctl/render.go index fe1f375b..939c935e 100644 --- a/ctl/render.go +++ b/ctl/render.go @@ -33,7 +33,7 @@ func newBuildCommand() *cobra.Command { mc.AddCommand( newBuildREADME(), newBuildChapterTwo(), - newBuildMenu(), + // newBuildMenu(), ) return mc } @@ -263,6 +263,19 @@ func renderChapterTwo(filePath string, tls m.TagLists) ([]byte, error) { } func buildBookMenu() { + copyLackFile() + // 按照模板重新渲染 Menu + res, err := renderBookMenu("./template/menu.md") + if err != nil { + fmt.Println(err) + return + } + util.WriteFile("../website/content/menu/index.md", res) + fmt.Println("generate Menu successful") +} + +// 拷贝 leetcode 目录下的题解 README 文件至第四章对应文件夹中 +func copyLackFile() { solutionIds, soName, _ := util.LoadSolutionsDir() ch4Ids, _ := util.LoadChapterFourIds() @@ -275,20 +288,22 @@ func buildBookMenu() { if len(needCopy) > 0 { fmt.Printf("有 %v 道题需要拷贝到第四章中\n", len(needCopy)) for i := 0; i < len(needCopy); i++ { - util.CopyFile(fmt.Sprintf("../website/content/ChapterFour/%v.md", needCopy[i]), fmt.Sprintf("../leetcode/%v/README.md", needCopy[i])) + if needCopy[i][4] == '.' { + tmp, err := strconv.Atoi(needCopy[i][:4]) + if err != nil { + fmt.Println(err) + } + err = os.MkdirAll(fmt.Sprintf("../website/content/ChapterFour/%v", util.GetChpaterFourFileNum(tmp)), os.ModePerm) + if err != nil { + fmt.Println(err) + } + util.CopyFile(fmt.Sprintf("../website/content/ChapterFour/%v/%v.md", util.GetChpaterFourFileNum(tmp), needCopy[i]), fmt.Sprintf("../leetcode/%v/README.md", needCopy[i])) + util.CopyFile(fmt.Sprintf("../website/content/ChapterFour/%v/_index.md", util.GetChpaterFourFileNum(tmp)), "./template/collapseSection.md") + } } } else { fmt.Printf("【第四章没有需要添加的题解,已经完整了】\n") } - - // 按照模板重新渲染 Menu - res, err := renderBookMenu("./template/menu.md") - if err != nil { - fmt.Println(err) - return - } - util.WriteFile("../website/content/menu/index.md", res) - fmt.Println("generate Menu successful") } func generateMenu() string { @@ -296,7 +311,8 @@ func generateMenu() string { res += menuLine(chapterOneMenuOrder, "ChapterOne") res += menuLine(chapterTwoFileOrder, "ChapterTwo") res += menuLine(chapterThreeFileOrder, "ChapterThree") - res += menuLine(getChapterFourFileOrder(), "ChapterFour") + chapterFourFileOrder, _ := getChapterFourFileOrder() + res += menuLine(chapterFourFileOrder, "ChapterFour") return res } diff --git a/ctl/template/Array.md b/ctl/template/Array.md index 87164757..257fd362 100644 --- a/ctl/template/Array.md +++ b/ctl/template/Array.md @@ -1,6 +1,7 @@ --- -title: Array +title: 2.01 Array type: docs +weight: 1 --- # Array diff --git a/ctl/template/Backtracking.md b/ctl/template/Backtracking.md index abbd8a52..fe1a54e6 100644 --- a/ctl/template/Backtracking.md +++ b/ctl/template/Backtracking.md @@ -1,6 +1,7 @@ --- -title: Backtracking +title: 2.08 ✅ Backtracking type: docs +weight: 8 --- # Backtracking diff --git a/ctl/template/Binary_Indexed_Tree.md b/ctl/template/Binary_Indexed_Tree.md index 0632403a..039b49cc 100644 --- a/ctl/template/Binary_Indexed_Tree.md +++ b/ctl/template/Binary_Indexed_Tree.md @@ -1,6 +1,7 @@ --- -title: Binary Indexed Tree +title: 2.19 ✅ Binary Indexed Tree type: docs +weight: 19 --- # Binary Indexed Tree diff --git a/ctl/template/Binary_Search.md b/ctl/template/Binary_Search.md index 033ca9da..e7a5de3d 100644 --- a/ctl/template/Binary_Search.md +++ b/ctl/template/Binary_Search.md @@ -1,6 +1,7 @@ --- -title: Binary Search +title: 2.11 Binary Search type: docs +weight: 11 --- # Binary Search diff --git a/ctl/template/Bit_Manipulation.md b/ctl/template/Bit_Manipulation.md index 3d568f31..6c643994 100644 --- a/ctl/template/Bit_Manipulation.md +++ b/ctl/template/Bit_Manipulation.md @@ -1,6 +1,7 @@ --- -title: Bit Manipulation +title: 2.15 ✅ Bit Manipulation type: docs +weight: 15 --- # Bit Manipulation diff --git a/ctl/template/Breadth_First_Search.md b/ctl/template/Breadth_First_Search.md index 230a3ea7..64e56acb 100644 --- a/ctl/template/Breadth_First_Search.md +++ b/ctl/template/Breadth_First_Search.md @@ -1,6 +1,7 @@ --- -title: Breadth First Search +title: 2.10 Breadth First Search type: docs +weight: 10 --- # Breadth First Search diff --git a/ctl/template/Depth_First_Search.md b/ctl/template/Depth_First_Search.md index 016d6798..e8fb4415 100644 --- a/ctl/template/Depth_First_Search.md +++ b/ctl/template/Depth_First_Search.md @@ -1,6 +1,7 @@ --- -title: Depth First Search +title: 2.09 Depth First Search type: docs +weight: 9 --- # Depth First Search diff --git a/ctl/template/Dynamic_Programming.md b/ctl/template/Dynamic_Programming.md index d3384ecb..f18015f7 100644 --- a/ctl/template/Dynamic_Programming.md +++ b/ctl/template/Dynamic_Programming.md @@ -1,6 +1,7 @@ --- -title: Dynamic Programming +title: 2.07 Dynamic Programming type: docs +weight: 7 --- # Dynamic Programming diff --git a/ctl/template/Hash_Table.md b/ctl/template/Hash_Table.md index 7677f9bd..03fb07d6 100644 --- a/ctl/template/Hash_Table.md +++ b/ctl/template/Hash_Table.md @@ -1,6 +1,7 @@ --- -title: Hash Table +title: 2.13 Hash Table type: docs +weight: 13 --- # Hash Table diff --git a/ctl/template/Linked_List.md b/ctl/template/Linked_List.md index fd332903..b8673cc3 100644 --- a/ctl/template/Linked_List.md +++ b/ctl/template/Linked_List.md @@ -1,6 +1,7 @@ --- -title: Linked List +title: 2.04 ✅ Linked List type: docs +weight: 4 --- # Linked List diff --git a/ctl/template/Math.md b/ctl/template/Math.md index 8ecedf58..dacbb1ff 100644 --- a/ctl/template/Math.md +++ b/ctl/template/Math.md @@ -1,6 +1,7 @@ --- -title: Math +title: 2.12 Math type: docs +weight: 12 --- # Math diff --git a/ctl/template/Segment_Tree.md b/ctl/template/Segment_Tree.md index 37f04d32..220ac679 100644 --- a/ctl/template/Segment_Tree.md +++ b/ctl/template/Segment_Tree.md @@ -1,6 +1,7 @@ --- -title: Segment Tree +title: 2.18 ✅ Segment Tree type: docs +weight: 18 --- # Segment Tree diff --git a/ctl/template/Sliding_Window.md b/ctl/template/Sliding_Window.md index a4fdca5c..117e5022 100644 --- a/ctl/template/Sliding_Window.md +++ b/ctl/template/Sliding_Window.md @@ -1,6 +1,7 @@ --- -title: Sliding Window +title: 2.17 ✅ Sliding Window type: docs +weight: 17 --- # Sliding Window diff --git a/ctl/template/Sort.md b/ctl/template/Sort.md index 9e68d7dd..00ded106 100644 --- a/ctl/template/Sort.md +++ b/ctl/template/Sort.md @@ -1,6 +1,7 @@ --- -title: Sort +title: 2.14 ✅ Sort type: docs +weight: 14 --- # Sort diff --git a/ctl/template/Stack.md b/ctl/template/Stack.md index 3f1658e4..0cc1f39b 100644 --- a/ctl/template/Stack.md +++ b/ctl/template/Stack.md @@ -1,6 +1,7 @@ --- -title: Stack +title: 2.05 ✅ Stack type: docs +weight: 5 --- # Stack diff --git a/ctl/template/String.md b/ctl/template/String.md index 87afd108..e0505e33 100644 --- a/ctl/template/String.md +++ b/ctl/template/String.md @@ -1,6 +1,7 @@ --- -title: String +title: 2.02 String type: docs +weight: 2 --- # String diff --git a/ctl/template/Tree.md b/ctl/template/Tree.md index c62c5398..19bdee6b 100644 --- a/ctl/template/Tree.md +++ b/ctl/template/Tree.md @@ -1,6 +1,7 @@ --- -title: Tree +title: 2.06 Tree type: docs +weight: 6 --- # Tree diff --git a/ctl/template/Two_Pointers.md b/ctl/template/Two_Pointers.md index 80af5330..e25406e0 100644 --- a/ctl/template/Two_Pointers.md +++ b/ctl/template/Two_Pointers.md @@ -1,6 +1,7 @@ --- -title: Two Pointers +title: 2.03 ✅ Two Pointers type: docs +weight: 3 --- # Two Pointers diff --git a/ctl/template/Union_Find.md b/ctl/template/Union_Find.md index 752a5727..0b23116f 100644 --- a/ctl/template/Union_Find.md +++ b/ctl/template/Union_Find.md @@ -1,6 +1,7 @@ --- -title: Union Find +title: 2.16 ✅ Union Find type: docs +weight: 16 --- # Union Find diff --git a/website/content/ChapterFour/1700~1799/_index.md b/ctl/template/collapseSection.md similarity index 97% rename from website/content/ChapterFour/1700~1799/_index.md rename to ctl/template/collapseSection.md index d2021683..e954f087 100644 --- a/website/content/ChapterFour/1700~1799/_index.md +++ b/ctl/template/collapseSection.md @@ -2,4 +2,3 @@ bookCollapseSection: true weight: 20 --- - diff --git a/ctl/util/util.go b/ctl/util/util.go index 21226991..5ab2bab4 100644 --- a/ctl/util/util.go +++ b/ctl/util/util.go @@ -51,22 +51,38 @@ func loadFile(path string) ([]int, []string, int) { return solutionIds, soNames, len(files) } +// GetAllFile define +func GetAllFile(pathname string, fileList *[]string) ([]string, error) { + rd, err := ioutil.ReadDir(pathname) + for _, fi := range rd { + if fi.IsDir() { + //fmt.Printf("[%s]\n", pathname+"\\"+fi.Name()) + GetAllFile(pathname+fi.Name()+"/", fileList) + } else { + //fmt.Println(fi.Name()) + *fileList = append(*fileList, fi.Name()) + } + } + return *fileList, err +} + // LoadChapterFourDir define -func LoadChapterFourDir() []string { - files, err := ioutil.ReadDir("../website/content/ChapterFour/") +func LoadChapterFourDir() ([]string, []int) { + files, err := GetAllFile("../website/content/ChapterFour/", &[]string{}) + // files, err := ioutil.ReadDir("../website/content/ChapterFour/") if err != nil { fmt.Println(err) } solutions, solutionIds, solutionsMap := []string{}, []int{}, map[int]string{} for _, f := range files { - if f.Name()[4] == '.' { - tmp, err := strconv.Atoi(f.Name()[:4]) + if f[4] == '.' { + tmp, err := strconv.Atoi(f[:4]) if err != nil { fmt.Println(err) } solutionIds = append(solutionIds, tmp) // len(f.Name())-3 = 文件名去掉 .md 后缀 - solutionsMap[tmp] = f.Name()[:len(f.Name())-3] + solutionsMap[tmp] = f[:len(f)-3] } } sort.Ints(solutionIds) @@ -76,7 +92,7 @@ func LoadChapterFourDir() []string { solutions = append(solutions, name) } } - return solutions + return solutions, solutionIds } // WriteFile define @@ -166,3 +182,11 @@ func BinarySearch(nums []int, target int) int { } return -1 } + +// GetChpaterFourFileNum define +func GetChpaterFourFileNum(num int) string { + if num < 100 { + return fmt.Sprintf("%04d~%04d", (num/100)*100+1, (num/100)*100+99) + } + return fmt.Sprintf("%04d~%04d", (num/100)*100, (num/100)*100+99) +} diff --git a/website/content/ChapterFour/0001~0099/0001.Two-Sum.md b/website/content/ChapterFour/0001~0099/0001.Two-Sum.md index a45c6f51..d84bc7af 100644 --- a/website/content/ChapterFour/0001~0099/0001.Two-Sum.md +++ b/website/content/ChapterFour/0001~0099/0001.Two-Sum.md @@ -53,5 +53,5 @@ func twoSum(nums []int, target int) []int { ----------------------------------------------

⬅️上一页

-

下一页➡️

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0002.Add-Two-Numbers.md b/website/content/ChapterFour/0001~0099/0002.Add-Two-Numbers.md index 090c9379..a64c6a30 100644 --- a/website/content/ChapterFour/0001~0099/0002.Add-Two-Numbers.md +++ b/website/content/ChapterFour/0001~0099/0002.Add-Two-Numbers.md @@ -80,6 +80,6 @@ func addTwoNumbers(l1 *ListNode, l2 *ListNode) *ListNode { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0003.Longest-Substring-Without-Repeating-Characters.md b/website/content/ChapterFour/0001~0099/0003.Longest-Substring-Without-Repeating-Characters.md index 19d3329b..d5406eff 100644 --- a/website/content/ChapterFour/0001~0099/0003.Longest-Substring-Without-Repeating-Characters.md +++ b/website/content/ChapterFour/0001~0099/0003.Longest-Substring-Without-Repeating-Characters.md @@ -126,6 +126,6 @@ func max(a int, b int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0004.Median-of-Two-Sorted-Arrays.md b/website/content/ChapterFour/0001~0099/0004.Median-of-Two-Sorted-Arrays.md index e8821397..828b60c5 100755 --- a/website/content/ChapterFour/0001~0099/0004.Median-of-Two-Sorted-Arrays.md +++ b/website/content/ChapterFour/0001~0099/0004.Median-of-Two-Sorted-Arrays.md @@ -100,6 +100,6 @@ func findMedianSortedArrays(nums1 []int, nums2 []int) float64 { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0007.Reverse-Integer.md b/website/content/ChapterFour/0001~0099/0007.Reverse-Integer.md index 6f8273ec..e1b82b46 100755 --- a/website/content/ChapterFour/0001~0099/0007.Reverse-Integer.md +++ b/website/content/ChapterFour/0001~0099/0007.Reverse-Integer.md @@ -57,6 +57,6 @@ func reverse7(x int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0009.Palindrome-Number.md b/website/content/ChapterFour/0001~0099/0009.Palindrome-Number.md index b74c69ef..4941d13c 100644 --- a/website/content/ChapterFour/0001~0099/0009.Palindrome-Number.md +++ b/website/content/ChapterFour/0001~0099/0009.Palindrome-Number.md @@ -71,6 +71,6 @@ func isPalindrome(x int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0011.Container-With-Most-Water.md b/website/content/ChapterFour/0001~0099/0011.Container-With-Most-Water.md index 9591c9ef..7c40c781 100644 --- a/website/content/ChapterFour/0001~0099/0011.Container-With-Most-Water.md +++ b/website/content/ChapterFour/0001~0099/0011.Container-With-Most-Water.md @@ -61,6 +61,6 @@ func maxArea(height []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0013.Roman-to-Integer.md b/website/content/ChapterFour/0001~0099/0013.Roman-to-Integer.md index 5e5ece59..fd652aea 100644 --- a/website/content/ChapterFour/0001~0099/0013.Roman-to-Integer.md +++ b/website/content/ChapterFour/0001~0099/0013.Roman-to-Integer.md @@ -134,6 +134,6 @@ func romanToInt(s string) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0015.3Sum.md b/website/content/ChapterFour/0001~0099/0015.3Sum.md index 46dc2b4c..6de46982 100644 --- a/website/content/ChapterFour/0001~0099/0015.3Sum.md +++ b/website/content/ChapterFour/0001~0099/0015.3Sum.md @@ -120,6 +120,6 @@ func threeSum1(nums []int) [][]int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0016.3Sum-Closest.md b/website/content/ChapterFour/0001~0099/0016.3Sum-Closest.md index 117a1935..447778b9 100644 --- a/website/content/ChapterFour/0001~0099/0016.3Sum-Closest.md +++ b/website/content/ChapterFour/0001~0099/0016.3Sum-Closest.md @@ -91,6 +91,6 @@ func abs(a int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0017.Letter-Combinations-of-a-Phone-Number.md b/website/content/ChapterFour/0001~0099/0017.Letter-Combinations-of-a-Phone-Number.md index e6cc6cf4..4bb0f769 100755 --- a/website/content/ChapterFour/0001~0099/0017.Letter-Combinations-of-a-Phone-Number.md +++ b/website/content/ChapterFour/0001~0099/0017.Letter-Combinations-of-a-Phone-Number.md @@ -146,6 +146,6 @@ func letterFunc(res string, digits string) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0018.4Sum.md b/website/content/ChapterFour/0001~0099/0018.4Sum.md index 59682039..80186154 100644 --- a/website/content/ChapterFour/0001~0099/0018.4Sum.md +++ b/website/content/ChapterFour/0001~0099/0018.4Sum.md @@ -99,6 +99,6 @@ func fourSum(nums []int, target int) [][]int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0019.Remove-Nth-Node-From-End-of-List.md b/website/content/ChapterFour/0001~0099/0019.Remove-Nth-Node-From-End-of-List.md index 28fe564c..0df460da 100644 --- a/website/content/ChapterFour/0001~0099/0019.Remove-Nth-Node-From-End-of-List.md +++ b/website/content/ChapterFour/0001~0099/0019.Remove-Nth-Node-From-End-of-List.md @@ -102,6 +102,6 @@ func removeNthFromEnd1(head *ListNode, n int) *ListNode { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0020.Valid-Parentheses.md b/website/content/ChapterFour/0001~0099/0020.Valid-Parentheses.md index 77b1b83b..f1a6faa2 100644 --- a/website/content/ChapterFour/0001~0099/0020.Valid-Parentheses.md +++ b/website/content/ChapterFour/0001~0099/0020.Valid-Parentheses.md @@ -98,6 +98,6 @@ func isValid(s string) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0021.Merge-Two-Sorted-Lists.md b/website/content/ChapterFour/0001~0099/0021.Merge-Two-Sorted-Lists.md index dd007fe2..76cdbff7 100644 --- a/website/content/ChapterFour/0001~0099/0021.Merge-Two-Sorted-Lists.md +++ b/website/content/ChapterFour/0001~0099/0021.Merge-Two-Sorted-Lists.md @@ -55,6 +55,6 @@ func mergeTwoLists(l1 *ListNode, l2 *ListNode) *ListNode { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0022.Generate-Parentheses.md b/website/content/ChapterFour/0001~0099/0022.Generate-Parentheses.md index 2188ce03..882fdd4b 100755 --- a/website/content/ChapterFour/0001~0099/0022.Generate-Parentheses.md +++ b/website/content/ChapterFour/0001~0099/0022.Generate-Parentheses.md @@ -62,6 +62,6 @@ func findGenerateParenthesis(lindex, rindex int, str string, res *[]string) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0023.Merge-k-Sorted-Lists.md b/website/content/ChapterFour/0001~0099/0023.Merge-k-Sorted-Lists.md index 78a8c5e9..d6c5ef8d 100644 --- a/website/content/ChapterFour/0001~0099/0023.Merge-k-Sorted-Lists.md +++ b/website/content/ChapterFour/0001~0099/0023.Merge-k-Sorted-Lists.md @@ -76,6 +76,6 @@ func mergeTwoLists1(l1 *ListNode, l2 *ListNode) *ListNode { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0024.Swap-Nodes-in-Pairs.md b/website/content/ChapterFour/0001~0099/0024.Swap-Nodes-in-Pairs.md index 7df959d3..3283b4a9 100644 --- a/website/content/ChapterFour/0001~0099/0024.Swap-Nodes-in-Pairs.md +++ b/website/content/ChapterFour/0001~0099/0024.Swap-Nodes-in-Pairs.md @@ -73,6 +73,6 @@ func swapPairs(head *ListNode) *ListNode { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0025.Reverse-Nodes-in-k-Group.md b/website/content/ChapterFour/0001~0099/0025.Reverse-Nodes-in-k-Group.md index cca95bdf..417548b9 100644 --- a/website/content/ChapterFour/0001~0099/0025.Reverse-Nodes-in-k-Group.md +++ b/website/content/ChapterFour/0001~0099/0025.Reverse-Nodes-in-k-Group.md @@ -76,6 +76,6 @@ func reverse(first *ListNode, last *ListNode) *ListNode { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0026.Remove-Duplicates-from-Sorted-Array.md b/website/content/ChapterFour/0001~0099/0026.Remove-Duplicates-from-Sorted-Array.md index 0b32f0ad..6d603424 100644 --- a/website/content/ChapterFour/0001~0099/0026.Remove-Duplicates-from-Sorted-Array.md +++ b/website/content/ChapterFour/0001~0099/0026.Remove-Duplicates-from-Sorted-Array.md @@ -130,6 +130,6 @@ func removeElement1(nums []int, start, val int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0027.Remove-Element.md b/website/content/ChapterFour/0001~0099/0027.Remove-Element.md index 0dc8bb08..7f77f820 100644 --- a/website/content/ChapterFour/0001~0099/0027.Remove-Element.md +++ b/website/content/ChapterFour/0001~0099/0027.Remove-Element.md @@ -93,6 +93,6 @@ func removeElement(nums []int, val int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0028.Implement-strStr.md b/website/content/ChapterFour/0001~0099/0028.Implement-strStr.md index 9ab526ff..b7c44e24 100644 --- a/website/content/ChapterFour/0001~0099/0028.Implement-strStr.md +++ b/website/content/ChapterFour/0001~0099/0028.Implement-strStr.md @@ -88,6 +88,6 @@ func strStr1(haystack string, needle string) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0029.Divide-Two-Integers.md b/website/content/ChapterFour/0001~0099/0029.Divide-Two-Integers.md index 5ca4689f..aa5672d1 100755 --- a/website/content/ChapterFour/0001~0099/0029.Divide-Two-Integers.md +++ b/website/content/ChapterFour/0001~0099/0029.Divide-Two-Integers.md @@ -150,6 +150,6 @@ func divide1(divided int, divisor int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0030.Substring-with-Concatenation-of-All-Words.md b/website/content/ChapterFour/0001~0099/0030.Substring-with-Concatenation-of-All-Words.md index 6f6e762b..6494c1c9 100644 --- a/website/content/ChapterFour/0001~0099/0030.Substring-with-Concatenation-of-All-Words.md +++ b/website/content/ChapterFour/0001~0099/0030.Substring-with-Concatenation-of-All-Words.md @@ -100,6 +100,6 @@ func copyMap(s map[string]int) map[string]int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0033.Search-in-Rotated-Sorted-Array.md b/website/content/ChapterFour/0001~0099/0033.Search-in-Rotated-Sorted-Array.md index c31b5ed5..94fb9ab8 100755 --- a/website/content/ChapterFour/0001~0099/0033.Search-in-Rotated-Sorted-Array.md +++ b/website/content/ChapterFour/0001~0099/0033.Search-in-Rotated-Sorted-Array.md @@ -80,6 +80,6 @@ func search33(nums []int, target int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0034.Find-First-and-Last-Position-of-Element-in-Sorted-Array.md b/website/content/ChapterFour/0001~0099/0034.Find-First-and-Last-Position-of-Element-in-Sorted-Array.md index 5e5f850c..bed0481a 100755 --- a/website/content/ChapterFour/0001~0099/0034.Find-First-and-Last-Position-of-Element-in-Sorted-Array.md +++ b/website/content/ChapterFour/0001~0099/0034.Find-First-and-Last-Position-of-Element-in-Sorted-Array.md @@ -123,6 +123,6 @@ func searchLastLessElement(nums []int, target int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0035.Search-Insert-Position.md b/website/content/ChapterFour/0001~0099/0035.Search-Insert-Position.md index 554f7c5f..ec99aca7 100755 --- a/website/content/ChapterFour/0001~0099/0035.Search-Insert-Position.md +++ b/website/content/ChapterFour/0001~0099/0035.Search-Insert-Position.md @@ -67,6 +67,6 @@ func searchInsert(nums []int, target int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0036.Valid-Sudoku.md b/website/content/ChapterFour/0001~0099/0036.Valid-Sudoku.md index b180ee60..68ad64cd 100755 --- a/website/content/ChapterFour/0001~0099/0036.Valid-Sudoku.md +++ b/website/content/ChapterFour/0001~0099/0036.Valid-Sudoku.md @@ -170,6 +170,6 @@ func isValidSudoku1(board [][]byte) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0037.Sudoku-Solver.md b/website/content/ChapterFour/0001~0099/0037.Sudoku-Solver.md index da7a7c32..541b4efc 100755 --- a/website/content/ChapterFour/0001~0099/0037.Sudoku-Solver.md +++ b/website/content/ChapterFour/0001~0099/0037.Sudoku-Solver.md @@ -120,6 +120,6 @@ func checkSudoku(board *[][]byte, pos position, val int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0039.Combination-Sum.md b/website/content/ChapterFour/0001~0099/0039.Combination-Sum.md index 4f5be48c..4681f48b 100755 --- a/website/content/ChapterFour/0001~0099/0039.Combination-Sum.md +++ b/website/content/ChapterFour/0001~0099/0039.Combination-Sum.md @@ -89,6 +89,6 @@ func findcombinationSum(nums []int, target, index int, c []int, res *[][]int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0040.Combination-Sum-II.md b/website/content/ChapterFour/0001~0099/0040.Combination-Sum-II.md index 36ecc38a..4a0185ed 100755 --- a/website/content/ChapterFour/0001~0099/0040.Combination-Sum-II.md +++ b/website/content/ChapterFour/0001~0099/0040.Combination-Sum-II.md @@ -91,6 +91,6 @@ func findcombinationSum2(nums []int, target, index int, c []int, res *[][]int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0041.First-Missing-Positive.md b/website/content/ChapterFour/0001~0099/0041.First-Missing-Positive.md index 6e3915d0..6ab60da3 100644 --- a/website/content/ChapterFour/0001~0099/0041.First-Missing-Positive.md +++ b/website/content/ChapterFour/0001~0099/0041.First-Missing-Positive.md @@ -68,6 +68,6 @@ func firstMissingPositive(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0042.Trapping-Rain-Water.md b/website/content/ChapterFour/0001~0099/0042.Trapping-Rain-Water.md index a16a2890..c4bb98d4 100644 --- a/website/content/ChapterFour/0001~0099/0042.Trapping-Rain-Water.md +++ b/website/content/ChapterFour/0001~0099/0042.Trapping-Rain-Water.md @@ -63,6 +63,6 @@ func trap(height []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0046.Permutations.md b/website/content/ChapterFour/0001~0099/0046.Permutations.md index 1be0d0d2..28369b77 100755 --- a/website/content/ChapterFour/0001~0099/0046.Permutations.md +++ b/website/content/ChapterFour/0001~0099/0046.Permutations.md @@ -68,6 +68,6 @@ func generatePermutation(nums []int, index int, p []int, res *[][]int, used *[]b ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0047.Permutations-II.md b/website/content/ChapterFour/0001~0099/0047.Permutations-II.md index cd0a38d8..e6aaccdf 100755 --- a/website/content/ChapterFour/0001~0099/0047.Permutations-II.md +++ b/website/content/ChapterFour/0001~0099/0047.Permutations-II.md @@ -72,6 +72,6 @@ func generatePermutation47(nums []int, index int, p []int, res *[][]int, used *[ ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0048.Rotate-Image.md b/website/content/ChapterFour/0001~0099/0048.Rotate-Image.md index 2913142a..4cddaa55 100755 --- a/website/content/ChapterFour/0001~0099/0048.Rotate-Image.md +++ b/website/content/ChapterFour/0001~0099/0048.Rotate-Image.md @@ -129,6 +129,6 @@ func rotate(matrix [][]int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0049.Group-Anagrams.md b/website/content/ChapterFour/0001~0099/0049.Group-Anagrams.md index 0fe588da..d677466d 100644 --- a/website/content/ChapterFour/0001~0099/0049.Group-Anagrams.md +++ b/website/content/ChapterFour/0001~0099/0049.Group-Anagrams.md @@ -74,6 +74,6 @@ func groupAnagrams(strs []string) [][]string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0050.Powx-n.md b/website/content/ChapterFour/0001~0099/0050.Powx-n.md index c4a4cc04..714c1861 100755 --- a/website/content/ChapterFour/0001~0099/0050.Powx-n.md +++ b/website/content/ChapterFour/0001~0099/0050.Powx-n.md @@ -71,6 +71,6 @@ func myPow(x float64, n int) float64 { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0051.N-Queens.md b/website/content/ChapterFour/0001~0099/0051.N-Queens.md index a139bf0b..d2d8dbe8 100755 --- a/website/content/ChapterFour/0001~0099/0051.N-Queens.md +++ b/website/content/ChapterFour/0001~0099/0051.N-Queens.md @@ -136,6 +136,6 @@ func generateBoard(n int, row *[]int) []string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0052.N-Queens-II.md b/website/content/ChapterFour/0001~0099/0052.N-Queens-II.md index 16aa957d..4bf016f1 100755 --- a/website/content/ChapterFour/0001~0099/0052.N-Queens-II.md +++ b/website/content/ChapterFour/0001~0099/0052.N-Queens-II.md @@ -109,6 +109,6 @@ func putQueen52(n, index int, col, dia1, dia2 *[]bool, row *[]int, res *int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0053.Maximum-Subarray.md b/website/content/ChapterFour/0001~0099/0053.Maximum-Subarray.md index ada3aaa0..a0248127 100755 --- a/website/content/ChapterFour/0001~0099/0053.Maximum-Subarray.md +++ b/website/content/ChapterFour/0001~0099/0053.Maximum-Subarray.md @@ -77,6 +77,6 @@ func maxSubArray1(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0054.Spiral-Matrix.md b/website/content/ChapterFour/0001~0099/0054.Spiral-Matrix.md index f4207db7..5d75a8e6 100755 --- a/website/content/ChapterFour/0001~0099/0054.Spiral-Matrix.md +++ b/website/content/ChapterFour/0001~0099/0054.Spiral-Matrix.md @@ -167,6 +167,6 @@ func spiralOrder2(matrix [][]int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0055.Jump-Game.md b/website/content/ChapterFour/0001~0099/0055.Jump-Game.md index f7728173..a34c5d26 100644 --- a/website/content/ChapterFour/0001~0099/0055.Jump-Game.md +++ b/website/content/ChapterFour/0001~0099/0055.Jump-Game.md @@ -60,6 +60,6 @@ func canJump(nums []int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0056.Merge-Intervals.md b/website/content/ChapterFour/0001~0099/0056.Merge-Intervals.md index bf424015..236c252f 100644 --- a/website/content/ChapterFour/0001~0099/0056.Merge-Intervals.md +++ b/website/content/ChapterFour/0001~0099/0056.Merge-Intervals.md @@ -111,6 +111,6 @@ func quickSort(a []Interval, lo, hi int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0057.Insert-Interval.md b/website/content/ChapterFour/0001~0099/0057.Insert-Interval.md index 77957dd9..9aef7db1 100644 --- a/website/content/ChapterFour/0001~0099/0057.Insert-Interval.md +++ b/website/content/ChapterFour/0001~0099/0057.Insert-Interval.md @@ -77,6 +77,6 @@ func insert(intervals []Interval, newInterval Interval) []Interval { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0059.Spiral-Matrix-II.md b/website/content/ChapterFour/0001~0099/0059.Spiral-Matrix-II.md index 763affe6..f9d5f999 100755 --- a/website/content/ChapterFour/0001~0099/0059.Spiral-Matrix-II.md +++ b/website/content/ChapterFour/0001~0099/0059.Spiral-Matrix-II.md @@ -96,6 +96,6 @@ func generateMatrix(n int) [][]int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0060.Permutation-Sequence.md b/website/content/ChapterFour/0001~0099/0060.Permutation-Sequence.md index 67889293..ea18f695 100755 --- a/website/content/ChapterFour/0001~0099/0060.Permutation-Sequence.md +++ b/website/content/ChapterFour/0001~0099/0060.Permutation-Sequence.md @@ -98,6 +98,6 @@ func findPermutation(n, index int, k *int, p []int, res *string, used *[]bool) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0061.Rotate-List.md b/website/content/ChapterFour/0001~0099/0061.Rotate-List.md index f4adedb5..9a0da026 100644 --- a/website/content/ChapterFour/0001~0099/0061.Rotate-List.md +++ b/website/content/ChapterFour/0001~0099/0061.Rotate-List.md @@ -83,6 +83,6 @@ func rotateRight(head *ListNode, k int) *ListNode { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0062.Unique-Paths.md b/website/content/ChapterFour/0001~0099/0062.Unique-Paths.md index a0dce700..e2023e49 100755 --- a/website/content/ChapterFour/0001~0099/0062.Unique-Paths.md +++ b/website/content/ChapterFour/0001~0099/0062.Unique-Paths.md @@ -71,6 +71,6 @@ func uniquePaths(m int, n int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0063.Unique-Paths-II.md b/website/content/ChapterFour/0001~0099/0063.Unique-Paths-II.md index 6038f50c..b5353ca8 100755 --- a/website/content/ChapterFour/0001~0099/0063.Unique-Paths-II.md +++ b/website/content/ChapterFour/0001~0099/0063.Unique-Paths-II.md @@ -82,6 +82,6 @@ func uniquePathsWithObstacles(obstacleGrid [][]int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0064.Minimum-Path-Sum.md b/website/content/ChapterFour/0001~0099/0064.Minimum-Path-Sum.md index c39e60cf..e0fcb093 100755 --- a/website/content/ChapterFour/0001~0099/0064.Minimum-Path-Sum.md +++ b/website/content/ChapterFour/0001~0099/0064.Minimum-Path-Sum.md @@ -95,6 +95,6 @@ func minPathSum1(grid [][]int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0066.Plus-One.md b/website/content/ChapterFour/0001~0099/0066.Plus-One.md index 6cc9b1e3..5efcd9eb 100755 --- a/website/content/ChapterFour/0001~0099/0066.Plus-One.md +++ b/website/content/ChapterFour/0001~0099/0066.Plus-One.md @@ -65,6 +65,6 @@ func plusOne(digits []int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0067.Add-Binary.md b/website/content/ChapterFour/0001~0099/0067.Add-Binary.md index 74af33b2..f685c258 100644 --- a/website/content/ChapterFour/0001~0099/0067.Add-Binary.md +++ b/website/content/ChapterFour/0001~0099/0067.Add-Binary.md @@ -78,6 +78,6 @@ func addBinary(a string, b string) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0069.Sqrtx.md b/website/content/ChapterFour/0001~0099/0069.Sqrtx.md index ff8d8742..acc9ddcb 100755 --- a/website/content/ChapterFour/0001~0099/0069.Sqrtx.md +++ b/website/content/ChapterFour/0001~0099/0069.Sqrtx.md @@ -93,6 +93,6 @@ func mySqrt1(x int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0070.Climbing-Stairs.md b/website/content/ChapterFour/0001~0099/0070.Climbing-Stairs.md index 8f8ed262..274f7e02 100755 --- a/website/content/ChapterFour/0001~0099/0070.Climbing-Stairs.md +++ b/website/content/ChapterFour/0001~0099/0070.Climbing-Stairs.md @@ -57,6 +57,6 @@ func climbStairs(n int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0071.Simplify-Path.md b/website/content/ChapterFour/0001~0099/0071.Simplify-Path.md index e716cd11..4b175500 100644 --- a/website/content/ChapterFour/0001~0099/0071.Simplify-Path.md +++ b/website/content/ChapterFour/0001~0099/0071.Simplify-Path.md @@ -119,6 +119,6 @@ func simplifyPath1(path string) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0074.Search-a-2D-Matrix.md b/website/content/ChapterFour/0001~0099/0074.Search-a-2D-Matrix.md index d84a1b1e..326c9043 100755 --- a/website/content/ChapterFour/0001~0099/0074.Search-a-2D-Matrix.md +++ b/website/content/ChapterFour/0001~0099/0074.Search-a-2D-Matrix.md @@ -74,6 +74,6 @@ func searchMatrix(matrix [][]int, target int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0075.Sort-Colors.md b/website/content/ChapterFour/0001~0099/0075.Sort-Colors.md index d9653fc9..f6248f14 100644 --- a/website/content/ChapterFour/0001~0099/0075.Sort-Colors.md +++ b/website/content/ChapterFour/0001~0099/0075.Sort-Colors.md @@ -74,6 +74,6 @@ func sortColors(nums []int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0076.Minimum-Window-Substring.md b/website/content/ChapterFour/0001~0099/0076.Minimum-Window-Substring.md index 5ac08bf8..906f8ae3 100644 --- a/website/content/ChapterFour/0001~0099/0076.Minimum-Window-Substring.md +++ b/website/content/ChapterFour/0001~0099/0076.Minimum-Window-Substring.md @@ -78,6 +78,6 @@ func minWindow(s string, t string) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0077.Combinations.md b/website/content/ChapterFour/0001~0099/0077.Combinations.md index c9c88ed6..19ff4112 100755 --- a/website/content/ChapterFour/0001~0099/0077.Combinations.md +++ b/website/content/ChapterFour/0001~0099/0077.Combinations.md @@ -62,6 +62,6 @@ func generateCombinations(n, k, start int, c []int, res *[][]int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0078.Subsets.md b/website/content/ChapterFour/0001~0099/0078.Subsets.md index 32aa9d48..f0ccb142 100755 --- a/website/content/ChapterFour/0001~0099/0078.Subsets.md +++ b/website/content/ChapterFour/0001~0099/0078.Subsets.md @@ -107,6 +107,6 @@ func subsets2(nums []int) [][]int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0079.Word-Search.md b/website/content/ChapterFour/0001~0099/0079.Word-Search.md index 62c03768..d8d123f4 100755 --- a/website/content/ChapterFour/0001~0099/0079.Word-Search.md +++ b/website/content/ChapterFour/0001~0099/0079.Word-Search.md @@ -85,6 +85,6 @@ func searchWord(board [][]byte, visited [][]bool, word string, index, x, y int) ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0080.Remove-Duplicates-from-Sorted-Array-II.md b/website/content/ChapterFour/0001~0099/0080.Remove-Duplicates-from-Sorted-Array-II.md index 36438895..4bec7529 100644 --- a/website/content/ChapterFour/0001~0099/0080.Remove-Duplicates-from-Sorted-Array-II.md +++ b/website/content/ChapterFour/0001~0099/0080.Remove-Duplicates-from-Sorted-Array-II.md @@ -107,6 +107,6 @@ func removeDuplicates80(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0081.Search-in-Rotated-Sorted-Array-II.md b/website/content/ChapterFour/0001~0099/0081.Search-in-Rotated-Sorted-Array-II.md index e7dad91f..7ed0474b 100755 --- a/website/content/ChapterFour/0001~0099/0081.Search-in-Rotated-Sorted-Array-II.md +++ b/website/content/ChapterFour/0001~0099/0081.Search-in-Rotated-Sorted-Array-II.md @@ -87,6 +87,6 @@ func search(nums []int, target int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0082.Remove-Duplicates-from-Sorted-List-II.md b/website/content/ChapterFour/0001~0099/0082.Remove-Duplicates-from-Sorted-List-II.md index d0dc28f7..4cbc0bf8 100644 --- a/website/content/ChapterFour/0001~0099/0082.Remove-Duplicates-from-Sorted-List-II.md +++ b/website/content/ChapterFour/0001~0099/0082.Remove-Duplicates-from-Sorted-List-II.md @@ -193,6 +193,6 @@ func deleteDuplicates4(head *ListNode) *ListNode { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0083.Remove-Duplicates-from-Sorted-List.md b/website/content/ChapterFour/0001~0099/0083.Remove-Duplicates-from-Sorted-List.md index fd662034..434449c9 100644 --- a/website/content/ChapterFour/0001~0099/0083.Remove-Duplicates-from-Sorted-List.md +++ b/website/content/ChapterFour/0001~0099/0083.Remove-Duplicates-from-Sorted-List.md @@ -68,6 +68,6 @@ func deleteDuplicates(head *ListNode) *ListNode { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0084.Largest-Rectangle-in-Histogram.md b/website/content/ChapterFour/0001~0099/0084.Largest-Rectangle-in-Histogram.md index f50d91ad..5937127d 100644 --- a/website/content/ChapterFour/0001~0099/0084.Largest-Rectangle-in-Histogram.md +++ b/website/content/ChapterFour/0001~0099/0084.Largest-Rectangle-in-Histogram.md @@ -77,6 +77,6 @@ func largestRectangleArea(heights []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0086.Partition-List.md b/website/content/ChapterFour/0001~0099/0086.Partition-List.md index 540430a3..de6bb8fc 100644 --- a/website/content/ChapterFour/0001~0099/0086.Partition-List.md +++ b/website/content/ChapterFour/0001~0099/0086.Partition-List.md @@ -150,6 +150,6 @@ func genListNode(head *DoublyListNode) *ListNode { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0088.Merge-Sorted-Array.md b/website/content/ChapterFour/0001~0099/0088.Merge-Sorted-Array.md index 500295f6..de014f8c 100644 --- a/website/content/ChapterFour/0001~0099/0088.Merge-Sorted-Array.md +++ b/website/content/ChapterFour/0001~0099/0088.Merge-Sorted-Array.md @@ -71,6 +71,6 @@ func merge(nums1 []int, m int, nums2 []int, n int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0089.Gray-Code.md b/website/content/ChapterFour/0001~0099/0089.Gray-Code.md index df616ebc..63b2e39a 100755 --- a/website/content/ChapterFour/0001~0099/0089.Gray-Code.md +++ b/website/content/ChapterFour/0001~0099/0089.Gray-Code.md @@ -119,6 +119,6 @@ func grayCode1(n int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0090.Subsets-II.md b/website/content/ChapterFour/0001~0099/0090.Subsets-II.md index 77b974db..73c331b1 100755 --- a/website/content/ChapterFour/0001~0099/0090.Subsets-II.md +++ b/website/content/ChapterFour/0001~0099/0090.Subsets-II.md @@ -78,6 +78,6 @@ func generateSubsetsWithDup(nums []int, k, start int, c []int, res *[][]int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0091.Decode-Ways.md b/website/content/ChapterFour/0001~0099/0091.Decode-Ways.md index ccf85684..6bb4b168 100755 --- a/website/content/ChapterFour/0001~0099/0091.Decode-Ways.md +++ b/website/content/ChapterFour/0001~0099/0091.Decode-Ways.md @@ -84,6 +84,6 @@ func numDecodings(s string) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0092.Reverse-Linked-List-II.md b/website/content/ChapterFour/0001~0099/0092.Reverse-Linked-List-II.md index ea62d1f1..d7f3dc7e 100644 --- a/website/content/ChapterFour/0001~0099/0092.Reverse-Linked-List-II.md +++ b/website/content/ChapterFour/0001~0099/0092.Reverse-Linked-List-II.md @@ -67,6 +67,6 @@ func reverseBetween(head *ListNode, m int, n int) *ListNode { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0093.Restore-IP-Addresses.md b/website/content/ChapterFour/0001~0099/0093.Restore-IP-Addresses.md index f4c862d9..ba641bfe 100755 --- a/website/content/ChapterFour/0001~0099/0093.Restore-IP-Addresses.md +++ b/website/content/ChapterFour/0001~0099/0093.Restore-IP-Addresses.md @@ -80,6 +80,6 @@ func getString(ip []int) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0094.Binary-Tree-Inorder-Traversal.md b/website/content/ChapterFour/0001~0099/0094.Binary-Tree-Inorder-Traversal.md index 68f2997d..7656edd6 100644 --- a/website/content/ChapterFour/0001~0099/0094.Binary-Tree-Inorder-Traversal.md +++ b/website/content/ChapterFour/0001~0099/0094.Binary-Tree-Inorder-Traversal.md @@ -75,6 +75,6 @@ func inorder(root *TreeNode, output *[]int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0095.Unique-Binary-Search-Trees-II.md b/website/content/ChapterFour/0001~0099/0095.Unique-Binary-Search-Trees-II.md index 8bb74436..4ba09dfd 100755 --- a/website/content/ChapterFour/0001~0099/0095.Unique-Binary-Search-Trees-II.md +++ b/website/content/ChapterFour/0001~0099/0095.Unique-Binary-Search-Trees-II.md @@ -80,6 +80,6 @@ func generateBSTree(start, end int) []*TreeNode { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0096.Unique-Binary-Search-Trees.md b/website/content/ChapterFour/0001~0099/0096.Unique-Binary-Search-Trees.md index 216f7084..688a3d0a 100755 --- a/website/content/ChapterFour/0001~0099/0096.Unique-Binary-Search-Trees.md +++ b/website/content/ChapterFour/0001~0099/0096.Unique-Binary-Search-Trees.md @@ -55,6 +55,6 @@ func numTrees(n int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0098.Validate-Binary-Search-Tree.md b/website/content/ChapterFour/0001~0099/0098.Validate-Binary-Search-Tree.md index d95b7e82..7c124715 100755 --- a/website/content/ChapterFour/0001~0099/0098.Validate-Binary-Search-Tree.md +++ b/website/content/ChapterFour/0001~0099/0098.Validate-Binary-Search-Tree.md @@ -101,6 +101,6 @@ func inOrder(root *TreeNode, arr *[]int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0099.Recover-Binary-Search-Tree.md b/website/content/ChapterFour/0001~0099/0099.Recover-Binary-Search-Tree.md index 4ec788c7..4a28ea15 100755 --- a/website/content/ChapterFour/0001~0099/0099.Recover-Binary-Search-Tree.md +++ b/website/content/ChapterFour/0001~0099/0099.Recover-Binary-Search-Tree.md @@ -103,6 +103,6 @@ func inOrderTraverse(root, prev, target1, target2 *TreeNode) (*TreeNode, *TreeNo ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0001~0099/0100.Same-Tree.md b/website/content/ChapterFour/0100~0199/0100.Same-Tree.md similarity index 85% rename from website/content/ChapterFour/0001~0099/0100.Same-Tree.md rename to website/content/ChapterFour/0100~0199/0100.Same-Tree.md index e714cda2..90227a8e 100644 --- a/website/content/ChapterFour/0001~0099/0100.Same-Tree.md +++ b/website/content/ChapterFour/0100~0199/0100.Same-Tree.md @@ -94,6 +94,6 @@ func isSameTree(p *TreeNode, q *TreeNode) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0101.Symmetric-Tree.md b/website/content/ChapterFour/0100~0199/0101.Symmetric-Tree.md index 21b4dc1a..4c55bcce 100644 --- a/website/content/ChapterFour/0100~0199/0101.Symmetric-Tree.md +++ b/website/content/ChapterFour/0100~0199/0101.Symmetric-Tree.md @@ -73,6 +73,6 @@ func isSymmetric(root *TreeNode) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0102.Binary-Tree-Level-Order-Traversal.md b/website/content/ChapterFour/0100~0199/0102.Binary-Tree-Level-Order-Traversal.md index e00a4646..127602e4 100644 --- a/website/content/ChapterFour/0100~0199/0102.Binary-Tree-Level-Order-Traversal.md +++ b/website/content/ChapterFour/0100~0199/0102.Binary-Tree-Level-Order-Traversal.md @@ -117,6 +117,6 @@ func dfsLevel(node *TreeNode, level int, res *[][]int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0103.Binary-Tree-Zigzag-Level-Order-Traversal.md b/website/content/ChapterFour/0100~0199/0103.Binary-Tree-Zigzag-Level-Order-Traversal.md index 110306c8..85d16fb8 100644 --- a/website/content/ChapterFour/0100~0199/0103.Binary-Tree-Zigzag-Level-Order-Traversal.md +++ b/website/content/ChapterFour/0100~0199/0103.Binary-Tree-Zigzag-Level-Order-Traversal.md @@ -128,6 +128,6 @@ func search(root *TreeNode, depth int, res *[][]int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0104.Maximum-Depth-of-Binary-Tree.md b/website/content/ChapterFour/0100~0199/0104.Maximum-Depth-of-Binary-Tree.md index 8529be03..36d39f9f 100644 --- a/website/content/ChapterFour/0100~0199/0104.Maximum-Depth-of-Binary-Tree.md +++ b/website/content/ChapterFour/0100~0199/0104.Maximum-Depth-of-Binary-Tree.md @@ -62,6 +62,6 @@ func maxDepth(root *TreeNode) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0105.Construct-Binary-Tree-from-Preorder-and-Inorder-Traversal.md b/website/content/ChapterFour/0100~0199/0105.Construct-Binary-Tree-from-Preorder-and-Inorder-Traversal.md index 4a77e74b..5de3c4e4 100755 --- a/website/content/ChapterFour/0100~0199/0105.Construct-Binary-Tree-from-Preorder-and-Inorder-Traversal.md +++ b/website/content/ChapterFour/0100~0199/0105.Construct-Binary-Tree-from-Preorder-and-Inorder-Traversal.md @@ -75,6 +75,6 @@ func buildPreIn2TreeDFS(pre []int, preStart int, preEnd int, inStart int, inPos ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0106.Construct-Binary-Tree-from-Inorder-and-Postorder-Traversal.md b/website/content/ChapterFour/0100~0199/0106.Construct-Binary-Tree-from-Inorder-and-Postorder-Traversal.md index fefec6b0..77b102d5 100755 --- a/website/content/ChapterFour/0100~0199/0106.Construct-Binary-Tree-from-Inorder-and-Postorder-Traversal.md +++ b/website/content/ChapterFour/0100~0199/0106.Construct-Binary-Tree-from-Inorder-and-Postorder-Traversal.md @@ -73,6 +73,6 @@ func buildInPos2TreeDFS(post []int, postStart int, postEnd int, inStart int, inP ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0107.Binary-Tree-Level-Order-Traversal-II.md b/website/content/ChapterFour/0100~0199/0107.Binary-Tree-Level-Order-Traversal-II.md index 1003bee3..172e977b 100644 --- a/website/content/ChapterFour/0100~0199/0107.Binary-Tree-Level-Order-Traversal-II.md +++ b/website/content/ChapterFour/0100~0199/0107.Binary-Tree-Level-Order-Traversal-II.md @@ -72,6 +72,6 @@ func levelOrderBottom(root *TreeNode) [][]int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0108.Convert-Sorted-Array-to-Binary-Search-Tree.md b/website/content/ChapterFour/0100~0199/0108.Convert-Sorted-Array-to-Binary-Search-Tree.md index 6b440de7..3ed5eb09 100755 --- a/website/content/ChapterFour/0100~0199/0108.Convert-Sorted-Array-to-Binary-Search-Tree.md +++ b/website/content/ChapterFour/0100~0199/0108.Convert-Sorted-Array-to-Binary-Search-Tree.md @@ -54,6 +54,6 @@ func sortedArrayToBST(nums []int) *TreeNode { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0109.Convert-Sorted-List-to-Binary-Search-Tree.md b/website/content/ChapterFour/0100~0199/0109.Convert-Sorted-List-to-Binary-Search-Tree.md index 9ae35afd..dd85b3b1 100644 --- a/website/content/ChapterFour/0100~0199/0109.Convert-Sorted-List-to-Binary-Search-Tree.md +++ b/website/content/ChapterFour/0100~0199/0109.Convert-Sorted-List-to-Binary-Search-Tree.md @@ -99,6 +99,6 @@ func middleNodeAndPreNode(head *ListNode) (middle *ListNode, pre *ListNode) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0110.Balanced-Binary-Tree.md b/website/content/ChapterFour/0100~0199/0110.Balanced-Binary-Tree.md index 779fae8f..3aad9436 100644 --- a/website/content/ChapterFour/0100~0199/0110.Balanced-Binary-Tree.md +++ b/website/content/ChapterFour/0100~0199/0110.Balanced-Binary-Tree.md @@ -92,6 +92,6 @@ func depth(root *TreeNode) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0111.Minimum-Depth-of-Binary-Tree.md b/website/content/ChapterFour/0100~0199/0111.Minimum-Depth-of-Binary-Tree.md index d3bd4f1b..54530d51 100755 --- a/website/content/ChapterFour/0100~0199/0111.Minimum-Depth-of-Binary-Tree.md +++ b/website/content/ChapterFour/0100~0199/0111.Minimum-Depth-of-Binary-Tree.md @@ -64,6 +64,6 @@ func minDepth(root *TreeNode) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0112.Path-Sum.md b/website/content/ChapterFour/0100~0199/0112.Path-Sum.md index f3fcce0f..5964900a 100755 --- a/website/content/ChapterFour/0100~0199/0112.Path-Sum.md +++ b/website/content/ChapterFour/0100~0199/0112.Path-Sum.md @@ -61,6 +61,6 @@ func hasPathSum(root *TreeNode, sum int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0113.Path-Sum-II.md b/website/content/ChapterFour/0100~0199/0113.Path-Sum-II.md index e975e8a1..2b6927ff 100755 --- a/website/content/ChapterFour/0100~0199/0113.Path-Sum-II.md +++ b/website/content/ChapterFour/0100~0199/0113.Path-Sum-II.md @@ -110,6 +110,6 @@ func pathSum1(root *TreeNode, sum int) [][]int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0114.Flatten-Binary-Tree-to-Linked-List.md b/website/content/ChapterFour/0100~0199/0114.Flatten-Binary-Tree-to-Linked-List.md index e80d351b..9fb6278a 100755 --- a/website/content/ChapterFour/0100~0199/0114.Flatten-Binary-Tree-to-Linked-List.md +++ b/website/content/ChapterFour/0100~0199/0114.Flatten-Binary-Tree-to-Linked-List.md @@ -193,6 +193,6 @@ func flatten2(root *TreeNode) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0118.Pascals-Triangle.md b/website/content/ChapterFour/0100~0199/0118.Pascals-Triangle.md index 36a16f50..5c65a888 100644 --- a/website/content/ChapterFour/0100~0199/0118.Pascals-Triangle.md +++ b/website/content/ChapterFour/0100~0199/0118.Pascals-Triangle.md @@ -62,6 +62,6 @@ func generate(numRows int) [][]int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0120.Triangle.md b/website/content/ChapterFour/0100~0199/0120.Triangle.md index 473cfa62..4561de92 100755 --- a/website/content/ChapterFour/0100~0199/0120.Triangle.md +++ b/website/content/ChapterFour/0100~0199/0120.Triangle.md @@ -91,6 +91,6 @@ func minimumTotal1(triangle [][]int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0121.Best-Time-to-Buy-and-Sell-Stock.md b/website/content/ChapterFour/0100~0199/0121.Best-Time-to-Buy-and-Sell-Stock.md index 0ec5db6b..b08d1fd2 100755 --- a/website/content/ChapterFour/0100~0199/0121.Best-Time-to-Buy-and-Sell-Stock.md +++ b/website/content/ChapterFour/0100~0199/0121.Best-Time-to-Buy-and-Sell-Stock.md @@ -84,6 +84,6 @@ func maxProfit1(prices []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0122.Best-Time-to-Buy-and-Sell-Stock-II.md b/website/content/ChapterFour/0100~0199/0122.Best-Time-to-Buy-and-Sell-Stock-II.md index 241e31bc..93d77d36 100755 --- a/website/content/ChapterFour/0100~0199/0122.Best-Time-to-Buy-and-Sell-Stock-II.md +++ b/website/content/ChapterFour/0100~0199/0122.Best-Time-to-Buy-and-Sell-Stock-II.md @@ -62,6 +62,6 @@ func maxProfit122(prices []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0124.Binary-Tree-Maximum-Path-Sum.md b/website/content/ChapterFour/0100~0199/0124.Binary-Tree-Maximum-Path-Sum.md index 665d167c..51e96ff6 100755 --- a/website/content/ChapterFour/0100~0199/0124.Binary-Tree-Maximum-Path-Sum.md +++ b/website/content/ChapterFour/0100~0199/0124.Binary-Tree-Maximum-Path-Sum.md @@ -82,6 +82,6 @@ func getPathSum(root *TreeNode, maxSum *int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0125.Valid-Palindrome.md b/website/content/ChapterFour/0100~0199/0125.Valid-Palindrome.md index bc19bb4d..b0c7257a 100644 --- a/website/content/ChapterFour/0100~0199/0125.Valid-Palindrome.md +++ b/website/content/ChapterFour/0100~0199/0125.Valid-Palindrome.md @@ -69,6 +69,6 @@ func isChar(c byte) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0126.Word-Ladder-II.md b/website/content/ChapterFour/0100~0199/0126.Word-Ladder-II.md index a296cf23..e1d328a5 100755 --- a/website/content/ChapterFour/0100~0199/0126.Word-Ladder-II.md +++ b/website/content/ChapterFour/0100~0199/0126.Word-Ladder-II.md @@ -132,6 +132,6 @@ func findLadders(beginWord string, endWord string, wordList []string) [][]string ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0127.Word-Ladder.md b/website/content/ChapterFour/0100~0199/0127.Word-Ladder.md index dbeebb29..7a7db0e8 100755 --- a/website/content/ChapterFour/0100~0199/0127.Word-Ladder.md +++ b/website/content/ChapterFour/0100~0199/0127.Word-Ladder.md @@ -123,6 +123,6 @@ func getCandidates(word string) []string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0128.Longest-Consecutive-Sequence.md b/website/content/ChapterFour/0100~0199/0128.Longest-Consecutive-Sequence.md index e8d9307c..ef76f90d 100755 --- a/website/content/ChapterFour/0100~0199/0128.Longest-Consecutive-Sequence.md +++ b/website/content/ChapterFour/0100~0199/0128.Longest-Consecutive-Sequence.md @@ -141,6 +141,6 @@ func longestConsecutive2(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0129.Sum-Root-to-Leaf-Numbers.md b/website/content/ChapterFour/0100~0199/0129.Sum-Root-to-Leaf-Numbers.md index 2e52457e..b1a0636d 100755 --- a/website/content/ChapterFour/0100~0199/0129.Sum-Root-to-Leaf-Numbers.md +++ b/website/content/ChapterFour/0100~0199/0129.Sum-Root-to-Leaf-Numbers.md @@ -99,6 +99,6 @@ func binaryTreeNums(root *TreeNode) []string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0130.Surrounded-Regions.md b/website/content/ChapterFour/0100~0199/0130.Surrounded-Regions.md index 228ce63e..3211fb08 100755 --- a/website/content/ChapterFour/0100~0199/0130.Surrounded-Regions.md +++ b/website/content/ChapterFour/0100~0199/0130.Surrounded-Regions.md @@ -128,6 +128,6 @@ func dfs130(i, j int, board [][]byte) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0131.Palindrome-Partitioning.md b/website/content/ChapterFour/0100~0199/0131.Palindrome-Partitioning.md index 41c4f013..a619e00b 100755 --- a/website/content/ChapterFour/0100~0199/0131.Palindrome-Partitioning.md +++ b/website/content/ChapterFour/0100~0199/0131.Palindrome-Partitioning.md @@ -123,6 +123,6 @@ func isPal(str string, s, e int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0136.Single-Number.md b/website/content/ChapterFour/0100~0199/0136.Single-Number.md index 73561826..02b2b4b4 100755 --- a/website/content/ChapterFour/0100~0199/0136.Single-Number.md +++ b/website/content/ChapterFour/0100~0199/0136.Single-Number.md @@ -48,6 +48,6 @@ func singleNumber(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0137.Single-Number-II.md b/website/content/ChapterFour/0100~0199/0137.Single-Number-II.md index 1330eb03..172739cf 100755 --- a/website/content/ChapterFour/0100~0199/0137.Single-Number-II.md +++ b/website/content/ChapterFour/0100~0199/0137.Single-Number-II.md @@ -111,6 +111,6 @@ func singleNumberIIIII1(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0138.Copy-List-With-Random-Pointer.md b/website/content/ChapterFour/0100~0199/0138.Copy-List-With-Random-Pointer.md index f434c88e..e4392479 100644 --- a/website/content/ChapterFour/0100~0199/0138.Copy-List-With-Random-Pointer.md +++ b/website/content/ChapterFour/0100~0199/0138.Copy-List-With-Random-Pointer.md @@ -132,6 +132,6 @@ func copyNodeToLinkedList(head *Node) *Node { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0141.Linked-List-Cycle.md b/website/content/ChapterFour/0100~0199/0141.Linked-List-Cycle.md index 7443ccda..248a7b62 100644 --- a/website/content/ChapterFour/0100~0199/0141.Linked-List-Cycle.md +++ b/website/content/ChapterFour/0100~0199/0141.Linked-List-Cycle.md @@ -50,6 +50,6 @@ func hasCycle(head *ListNode) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0142.Linked-List-Cycle-II.md b/website/content/ChapterFour/0100~0199/0142.Linked-List-Cycle-II.md index 07f10488..3bd61425 100644 --- a/website/content/ChapterFour/0100~0199/0142.Linked-List-Cycle-II.md +++ b/website/content/ChapterFour/0100~0199/0142.Linked-List-Cycle-II.md @@ -111,6 +111,6 @@ func hasCycle142(head *ListNode) (bool, *ListNode) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0143.Reorder-List.md b/website/content/ChapterFour/0100~0199/0143.Reorder-List.md index 87060cc9..bd9b2469 100644 --- a/website/content/ChapterFour/0100~0199/0143.Reorder-List.md +++ b/website/content/ChapterFour/0100~0199/0143.Reorder-List.md @@ -129,6 +129,6 @@ func listToArray(head *ListNode) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0144.Binary-Tree-Preorder-Traversal.md b/website/content/ChapterFour/0100~0199/0144.Binary-Tree-Preorder-Traversal.md index d4b09831..36f8e02f 100644 --- a/website/content/ChapterFour/0100~0199/0144.Binary-Tree-Preorder-Traversal.md +++ b/website/content/ChapterFour/0100~0199/0144.Binary-Tree-Preorder-Traversal.md @@ -114,6 +114,6 @@ func preorderTraversal2(root *TreeNode) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0145.Binary-Tree-Postorder-Traversal.md b/website/content/ChapterFour/0100~0199/0145.Binary-Tree-Postorder-Traversal.md index e73320d0..e688f82f 100644 --- a/website/content/ChapterFour/0100~0199/0145.Binary-Tree-Postorder-Traversal.md +++ b/website/content/ChapterFour/0100~0199/0145.Binary-Tree-Postorder-Traversal.md @@ -73,6 +73,6 @@ func postorder(root *TreeNode, output *[]int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0146.LRU-Cache.md b/website/content/ChapterFour/0100~0199/0146.LRU-Cache.md index abf03290..7c60b34f 100644 --- a/website/content/ChapterFour/0100~0199/0146.LRU-Cache.md +++ b/website/content/ChapterFour/0100~0199/0146.LRU-Cache.md @@ -136,6 +136,6 @@ func (this *LRUCache) Remove(node *Node) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0147.Insertion-Sort-List.md b/website/content/ChapterFour/0100~0199/0147.Insertion-Sort-List.md index bbdca940..5ef90856 100644 --- a/website/content/ChapterFour/0100~0199/0147.Insertion-Sort-List.md +++ b/website/content/ChapterFour/0100~0199/0147.Insertion-Sort-List.md @@ -79,6 +79,6 @@ func insertionSortList(head *ListNode) *ListNode { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0148.Sort-List.md b/website/content/ChapterFour/0100~0199/0148.Sort-List.md index 6d435555..f92e2b85 100644 --- a/website/content/ChapterFour/0100~0199/0148.Sort-List.md +++ b/website/content/ChapterFour/0100~0199/0148.Sort-List.md @@ -98,6 +98,6 @@ func mergeTwoLists(l1 *ListNode, l2 *ListNode) *ListNode { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0150.Evaluate-Reverse-Polish-Notation.md b/website/content/ChapterFour/0100~0199/0150.Evaluate-Reverse-Polish-Notation.md index b8cfa59b..9b06aa85 100644 --- a/website/content/ChapterFour/0100~0199/0150.Evaluate-Reverse-Polish-Notation.md +++ b/website/content/ChapterFour/0100~0199/0150.Evaluate-Reverse-Polish-Notation.md @@ -117,6 +117,6 @@ func evalRPN(tokens []string) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0151.Reverse-Words-in-a-String.md b/website/content/ChapterFour/0100~0199/0151.Reverse-Words-in-a-String.md index 9d3a8fa4..cb2545f1 100755 --- a/website/content/ChapterFour/0100~0199/0151.Reverse-Words-in-a-String.md +++ b/website/content/ChapterFour/0100~0199/0151.Reverse-Words-in-a-String.md @@ -84,6 +84,6 @@ func reverse151(m *[]string, i int, j int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0152.Maximum-Product-Subarray.md b/website/content/ChapterFour/0100~0199/0152.Maximum-Product-Subarray.md index 937780c5..852c8b8a 100755 --- a/website/content/ChapterFour/0100~0199/0152.Maximum-Product-Subarray.md +++ b/website/content/ChapterFour/0100~0199/0152.Maximum-Product-Subarray.md @@ -54,6 +54,6 @@ func maxProduct(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0153.Find-Minimum-in-Rotated-Sorted-Array.md b/website/content/ChapterFour/0100~0199/0153.Find-Minimum-in-Rotated-Sorted-Array.md index 2462d5f4..c48a82ae 100755 --- a/website/content/ChapterFour/0100~0199/0153.Find-Minimum-in-Rotated-Sorted-Array.md +++ b/website/content/ChapterFour/0100~0199/0153.Find-Minimum-in-Rotated-Sorted-Array.md @@ -110,6 +110,6 @@ func findMin2(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0154.Find-Minimum-in-Rotated-Sorted-Array-II.md b/website/content/ChapterFour/0100~0199/0154.Find-Minimum-in-Rotated-Sorted-Array-II.md index ed0c89af..7d2c1235 100755 --- a/website/content/ChapterFour/0100~0199/0154.Find-Minimum-in-Rotated-Sorted-Array-II.md +++ b/website/content/ChapterFour/0100~0199/0154.Find-Minimum-in-Rotated-Sorted-Array-II.md @@ -69,6 +69,6 @@ func findMin154(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0155.Min-Stack.md b/website/content/ChapterFour/0100~0199/0155.Min-Stack.md index 4259b85a..606f6500 100644 --- a/website/content/ChapterFour/0100~0199/0155.Min-Stack.md +++ b/website/content/ChapterFour/0100~0199/0155.Min-Stack.md @@ -89,6 +89,6 @@ func (this *MinStack) GetMin() int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0160.Intersection-of-Two-Linked-Lists.md b/website/content/ChapterFour/0100~0199/0160.Intersection-of-Two-Linked-Lists.md index 0fe6c24d..77ea4b62 100644 --- a/website/content/ChapterFour/0100~0199/0160.Intersection-of-Two-Linked-Lists.md +++ b/website/content/ChapterFour/0100~0199/0160.Intersection-of-Two-Linked-Lists.md @@ -118,6 +118,6 @@ func getIntersectionNode(headA, headB *ListNode) *ListNode { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0162.Find-Peak-Element.md b/website/content/ChapterFour/0100~0199/0162.Find-Peak-Element.md index 74e7b14e..1c3e810f 100755 --- a/website/content/ChapterFour/0100~0199/0162.Find-Peak-Element.md +++ b/website/content/ChapterFour/0100~0199/0162.Find-Peak-Element.md @@ -96,6 +96,6 @@ func findPeakElement1(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0164.Maximum-Gap.md b/website/content/ChapterFour/0100~0199/0164.Maximum-Gap.md index ea05421f..2c4f73a8 100644 --- a/website/content/ChapterFour/0100~0199/0164.Maximum-Gap.md +++ b/website/content/ChapterFour/0100~0199/0164.Maximum-Gap.md @@ -139,6 +139,6 @@ func max(a int, b int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0167.Two-Sum-II---Input-array-is-sorted.md b/website/content/ChapterFour/0100~0199/0167.Two-Sum-II---Input-array-is-sorted.md index 1e55e786..dda1165f 100644 --- a/website/content/ChapterFour/0100~0199/0167.Two-Sum-II---Input-array-is-sorted.md +++ b/website/content/ChapterFour/0100~0199/0167.Two-Sum-II---Input-array-is-sorted.md @@ -70,6 +70,6 @@ func twoSum167_1(numbers []int, target int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0168.Excel-Sheet-Column-Title.md b/website/content/ChapterFour/0100~0199/0168.Excel-Sheet-Column-Title.md index 3a78b80d..2c008faa 100644 --- a/website/content/ChapterFour/0100~0199/0168.Excel-Sheet-Column-Title.md +++ b/website/content/ChapterFour/0100~0199/0168.Excel-Sheet-Column-Title.md @@ -82,6 +82,6 @@ func convertToTitle(n int) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0169.Majority-Element.md b/website/content/ChapterFour/0100~0199/0169.Majority-Element.md index f05a4392..03173fb7 100755 --- a/website/content/ChapterFour/0100~0199/0169.Majority-Element.md +++ b/website/content/ChapterFour/0100~0199/0169.Majority-Element.md @@ -68,6 +68,6 @@ func majorityElement1(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0171.Excel-Sheet-Column-Number.md b/website/content/ChapterFour/0100~0199/0171.Excel-Sheet-Column-Number.md index 6294074d..06ec111e 100644 --- a/website/content/ChapterFour/0100~0199/0171.Excel-Sheet-Column-Number.md +++ b/website/content/ChapterFour/0100~0199/0171.Excel-Sheet-Column-Number.md @@ -69,6 +69,6 @@ func titleToNumber(s string) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0172.Factorial-Trailing-Zeroes.md b/website/content/ChapterFour/0100~0199/0172.Factorial-Trailing-Zeroes.md index c6a99740..4ac18a76 100755 --- a/website/content/ChapterFour/0100~0199/0172.Factorial-Trailing-Zeroes.md +++ b/website/content/ChapterFour/0100~0199/0172.Factorial-Trailing-Zeroes.md @@ -53,6 +53,6 @@ func trailingZeroes(n int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0173.Binary-Search-Tree-Iterator.md b/website/content/ChapterFour/0100~0199/0173.Binary-Search-Tree-Iterator.md index b81575ce..581f88a6 100755 --- a/website/content/ChapterFour/0100~0199/0173.Binary-Search-Tree-Iterator.md +++ b/website/content/ChapterFour/0100~0199/0173.Binary-Search-Tree-Iterator.md @@ -120,6 +120,6 @@ func (pq *PriorityQueueOfInt) Pop() interface{} { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0174.Dungeon-Game.md b/website/content/ChapterFour/0100~0199/0174.Dungeon-Game.md index 1c0edf33..30df3397 100755 --- a/website/content/ChapterFour/0100~0199/0174.Dungeon-Game.md +++ b/website/content/ChapterFour/0100~0199/0174.Dungeon-Game.md @@ -137,6 +137,6 @@ func canCross(dungeon [][]int, start int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0179.Largest-Number.md b/website/content/ChapterFour/0100~0199/0179.Largest-Number.md index aeb366ce..09f1a070 100644 --- a/website/content/ChapterFour/0100~0199/0179.Largest-Number.md +++ b/website/content/ChapterFour/0100~0199/0179.Largest-Number.md @@ -124,6 +124,6 @@ func quickSortString(a []string, lo, hi int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0187.Repeated-DNA-Sequences.md b/website/content/ChapterFour/0100~0199/0187.Repeated-DNA-Sequences.md index fe746802..5480f7a7 100755 --- a/website/content/ChapterFour/0100~0199/0187.Repeated-DNA-Sequences.md +++ b/website/content/ChapterFour/0100~0199/0187.Repeated-DNA-Sequences.md @@ -73,6 +73,6 @@ func findRepeatedDnaSequences1(s string) []string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0189.Rotate-Array.md b/website/content/ChapterFour/0100~0199/0189.Rotate-Array.md index 3be1e0de..34733ee9 100644 --- a/website/content/ChapterFour/0100~0199/0189.Rotate-Array.md +++ b/website/content/ChapterFour/0100~0199/0189.Rotate-Array.md @@ -77,6 +77,6 @@ func rotate1(nums []int, k int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0190.Reverse-Bits.md b/website/content/ChapterFour/0100~0199/0190.Reverse-Bits.md index dfbb2863..d73e2f2f 100755 --- a/website/content/ChapterFour/0100~0199/0190.Reverse-Bits.md +++ b/website/content/ChapterFour/0100~0199/0190.Reverse-Bits.md @@ -55,6 +55,6 @@ func reverseBits(num uint32) uint32 { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0191.Number-of-1-Bits.md b/website/content/ChapterFour/0100~0199/0191.Number-of-1-Bits.md index 379892d3..d3a45e1d 100755 --- a/website/content/ChapterFour/0100~0199/0191.Number-of-1-Bits.md +++ b/website/content/ChapterFour/0100~0199/0191.Number-of-1-Bits.md @@ -67,6 +67,6 @@ func hammingWeight1(num uint32) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0198.House-Robber.md b/website/content/ChapterFour/0100~0199/0198.House-Robber.md index cbe1d110..2ee3a7a1 100755 --- a/website/content/ChapterFour/0100~0199/0198.House-Robber.md +++ b/website/content/ChapterFour/0100~0199/0198.House-Robber.md @@ -96,6 +96,6 @@ func rob(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0100~0199/0199.Binary-Tree-Right-Side-View.md b/website/content/ChapterFour/0100~0199/0199.Binary-Tree-Right-Side-View.md index 5c15e36b..8f0e72c1 100644 --- a/website/content/ChapterFour/0100~0199/0199.Binary-Tree-Right-Side-View.md +++ b/website/content/ChapterFour/0100~0199/0199.Binary-Tree-Right-Side-View.md @@ -86,6 +86,6 @@ func rightSideView(root *TreeNode) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0200.Number-of-Islands.md b/website/content/ChapterFour/0200~0299/0200.Number-of-Islands.md index 703125e3..90936357 100755 --- a/website/content/ChapterFour/0200~0299/0200.Number-of-Islands.md +++ b/website/content/ChapterFour/0200~0299/0200.Number-of-Islands.md @@ -83,6 +83,6 @@ func searchIslands(grid [][]byte, visited *[][]bool, x, y int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0201.Bitwise-AND-of-Numbers-Range.md b/website/content/ChapterFour/0200~0299/0201.Bitwise-AND-of-Numbers-Range.md index c0c11f3d..6f064185 100755 --- a/website/content/ChapterFour/0200~0299/0201.Bitwise-AND-of-Numbers-Range.md +++ b/website/content/ChapterFour/0200~0299/0201.Bitwise-AND-of-Numbers-Range.md @@ -68,6 +68,6 @@ func rangeBitwiseAnd(m int, n int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0202.Happy-Number.md b/website/content/ChapterFour/0200~0299/0202.Happy-Number.md index 453b3275..90def17b 100644 --- a/website/content/ChapterFour/0200~0299/0202.Happy-Number.md +++ b/website/content/ChapterFour/0200~0299/0202.Happy-Number.md @@ -67,6 +67,6 @@ func isHappy(n int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0203.Remove-Linked-List-Elements.md b/website/content/ChapterFour/0200~0299/0203.Remove-Linked-List-Elements.md index 0ab51f2a..d8671161 100644 --- a/website/content/ChapterFour/0200~0299/0203.Remove-Linked-List-Elements.md +++ b/website/content/ChapterFour/0200~0299/0203.Remove-Linked-List-Elements.md @@ -58,6 +58,6 @@ func removeElements(head *ListNode, val int) *ListNode { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0204.Count-Primes.md b/website/content/ChapterFour/0200~0299/0204.Count-Primes.md index f835f5a8..fe09cb95 100755 --- a/website/content/ChapterFour/0200~0299/0204.Count-Primes.md +++ b/website/content/ChapterFour/0200~0299/0204.Count-Primes.md @@ -52,6 +52,6 @@ func countPrimes(n int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0205.Isomorphic-Strings.md b/website/content/ChapterFour/0200~0299/0205.Isomorphic-Strings.md index 43074115..6854aa2a 100644 --- a/website/content/ChapterFour/0200~0299/0205.Isomorphic-Strings.md +++ b/website/content/ChapterFour/0200~0299/0205.Isomorphic-Strings.md @@ -92,6 +92,6 @@ func isIsomorphic(s string, t string) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0206.Reverse-Linked-List.md b/website/content/ChapterFour/0200~0299/0206.Reverse-Linked-List.md index af6949ca..773f955f 100644 --- a/website/content/ChapterFour/0200~0299/0206.Reverse-Linked-List.md +++ b/website/content/ChapterFour/0200~0299/0206.Reverse-Linked-List.md @@ -49,6 +49,6 @@ func reverseList(head *ListNode) *ListNode { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0207.Course-Schedule.md b/website/content/ChapterFour/0200~0299/0207.Course-Schedule.md index c3f60925..52442d3c 100755 --- a/website/content/ChapterFour/0200~0299/0207.Course-Schedule.md +++ b/website/content/ChapterFour/0200~0299/0207.Course-Schedule.md @@ -84,6 +84,6 @@ func canFinish(n int, pre [][]int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0208.Implement-Trie-Prefix-Tree.md b/website/content/ChapterFour/0200~0299/0208.Implement-Trie-Prefix-Tree.md index fec04d06..9f997351 100755 --- a/website/content/ChapterFour/0200~0299/0208.Implement-Trie-Prefix-Tree.md +++ b/website/content/ChapterFour/0200~0299/0208.Implement-Trie-Prefix-Tree.md @@ -101,6 +101,6 @@ func (this *Trie) StartsWith(prefix string) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0209.Minimum-Size-Subarray-Sum.md b/website/content/ChapterFour/0200~0299/0209.Minimum-Size-Subarray-Sum.md index 0d6d6f1e..446bca92 100644 --- a/website/content/ChapterFour/0200~0299/0209.Minimum-Size-Subarray-Sum.md +++ b/website/content/ChapterFour/0200~0299/0209.Minimum-Size-Subarray-Sum.md @@ -63,6 +63,6 @@ func minSubArrayLen(s int, nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0210.Course-Schedule-II.md b/website/content/ChapterFour/0200~0299/0210.Course-Schedule-II.md index d2662b22..8f73b240 100755 --- a/website/content/ChapterFour/0200~0299/0210.Course-Schedule-II.md +++ b/website/content/ChapterFour/0200~0299/0210.Course-Schedule-II.md @@ -82,6 +82,6 @@ func findOrder(numCourses int, prerequisites [][]int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0211.Design-Add-and-Search-Words-Data-Structure.md b/website/content/ChapterFour/0200~0299/0211.Design-Add-and-Search-Words-Data-Structure.md index 171e82cc..311a827c 100755 --- a/website/content/ChapterFour/0200~0299/0211.Design-Add-and-Search-Words-Data-Structure.md +++ b/website/content/ChapterFour/0200~0299/0211.Design-Add-and-Search-Words-Data-Structure.md @@ -97,6 +97,6 @@ func (this *WordDictionary) Search(word string) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0212.Word-Search-II.md b/website/content/ChapterFour/0200~0299/0212.Word-Search-II.md index f83123dc..8966a46b 100755 --- a/website/content/ChapterFour/0200~0299/0212.Word-Search-II.md +++ b/website/content/ChapterFour/0200~0299/0212.Word-Search-II.md @@ -59,6 +59,6 @@ func findWords(board [][]byte, words []string) []string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0213.House-Robber-II.md b/website/content/ChapterFour/0200~0299/0213.House-Robber-II.md index 4860b757..e108507b 100755 --- a/website/content/ChapterFour/0200~0299/0213.House-Robber-II.md +++ b/website/content/ChapterFour/0200~0299/0213.House-Robber-II.md @@ -72,6 +72,6 @@ func rob213_1(nums []int, start, end int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0215.Kth-Largest-Element-in-an-Array.md b/website/content/ChapterFour/0200~0299/0215.Kth-Largest-Element-in-an-Array.md index ed9137fd..d62706dd 100644 --- a/website/content/ChapterFour/0200~0299/0215.Kth-Largest-Element-in-an-Array.md +++ b/website/content/ChapterFour/0200~0299/0215.Kth-Largest-Element-in-an-Array.md @@ -78,6 +78,6 @@ func selection(arr []int, l, r, k int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0216.Combination-Sum-III.md b/website/content/ChapterFour/0200~0299/0216.Combination-Sum-III.md index 97e953dc..c6dbd156 100755 --- a/website/content/ChapterFour/0200~0299/0216.Combination-Sum-III.md +++ b/website/content/ChapterFour/0200~0299/0216.Combination-Sum-III.md @@ -75,6 +75,6 @@ func findcombinationSum3(k, target, index int, c []int, res *[][]int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0217.Contains-Duplicate.md b/website/content/ChapterFour/0200~0299/0217.Contains-Duplicate.md index 2a078acd..ddb948e7 100644 --- a/website/content/ChapterFour/0200~0299/0217.Contains-Duplicate.md +++ b/website/content/ChapterFour/0200~0299/0217.Contains-Duplicate.md @@ -64,6 +64,6 @@ func containsDuplicate(nums []int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0218.The-Skyline-Problem.md b/website/content/ChapterFour/0200~0299/0218.The-Skyline-Problem.md index 71fa6d02..72623c5e 100755 --- a/website/content/ChapterFour/0200~0299/0218.The-Skyline-Problem.md +++ b/website/content/ChapterFour/0200~0299/0218.The-Skyline-Problem.md @@ -289,6 +289,6 @@ func (q *IndexMaxPQ) less(i, j int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0219.Contains-Duplicate-II.md b/website/content/ChapterFour/0200~0299/0219.Contains-Duplicate-II.md index 37772d36..c4080825 100644 --- a/website/content/ChapterFour/0200~0299/0219.Contains-Duplicate-II.md +++ b/website/content/ChapterFour/0200~0299/0219.Contains-Duplicate-II.md @@ -71,6 +71,6 @@ func containsNearbyDuplicate(nums []int, k int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0220.Contains-Duplicate-III.md b/website/content/ChapterFour/0200~0299/0220.Contains-Duplicate-III.md index 89b23418..b26d478f 100644 --- a/website/content/ChapterFour/0200~0299/0220.Contains-Duplicate-III.md +++ b/website/content/ChapterFour/0200~0299/0220.Contains-Duplicate-III.md @@ -107,6 +107,6 @@ func containsNearbyAlmostDuplicate1(nums []int, k int, t int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0222.Count-Complete-Tree-Nodes.md b/website/content/ChapterFour/0200~0299/0222.Count-Complete-Tree-Nodes.md index 88f00d48..a7f148ba 100644 --- a/website/content/ChapterFour/0200~0299/0222.Count-Complete-Tree-Nodes.md +++ b/website/content/ChapterFour/0200~0299/0222.Count-Complete-Tree-Nodes.md @@ -84,6 +84,6 @@ func countNodes(root *TreeNode) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0223.Rectangle-Area.md b/website/content/ChapterFour/0200~0299/0223.Rectangle-Area.md index c129f609..a85324ad 100755 --- a/website/content/ChapterFour/0200~0299/0223.Rectangle-Area.md +++ b/website/content/ChapterFour/0200~0299/0223.Rectangle-Area.md @@ -55,6 +55,6 @@ func area(x0, y0, x1, y1 int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0224.Basic-Calculator.md b/website/content/ChapterFour/0200~0299/0224.Basic-Calculator.md index dae86172..3ae0cccf 100755 --- a/website/content/ChapterFour/0200~0299/0224.Basic-Calculator.md +++ b/website/content/ChapterFour/0200~0299/0224.Basic-Calculator.md @@ -167,6 +167,6 @@ func isDigital(v byte) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0225.Implement-Stack-using-Queues.md b/website/content/ChapterFour/0200~0299/0225.Implement-Stack-using-Queues.md index 9a1be896..47b8177c 100644 --- a/website/content/ChapterFour/0200~0299/0225.Implement-Stack-using-Queues.md +++ b/website/content/ChapterFour/0200~0299/0225.Implement-Stack-using-Queues.md @@ -97,6 +97,6 @@ func (this *MyStack) Empty() bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0226.Invert-Binary-Tree.md b/website/content/ChapterFour/0200~0299/0226.Invert-Binary-Tree.md index 844f3e90..771e047b 100644 --- a/website/content/ChapterFour/0200~0299/0226.Invert-Binary-Tree.md +++ b/website/content/ChapterFour/0200~0299/0226.Invert-Binary-Tree.md @@ -78,6 +78,6 @@ func invertTree(root *TreeNode) *TreeNode { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0228.Summary-Ranges.md b/website/content/ChapterFour/0200~0299/0228.Summary-Ranges.md index 3a2a53ec..30f9cb26 100644 --- a/website/content/ChapterFour/0200~0299/0228.Summary-Ranges.md +++ b/website/content/ChapterFour/0200~0299/0228.Summary-Ranges.md @@ -110,6 +110,6 @@ func summaryRanges(nums []int) (ans []string) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0229.Majority-Element-II.md b/website/content/ChapterFour/0200~0299/0229.Majority-Element-II.md index 45cbf0db..fb043de6 100755 --- a/website/content/ChapterFour/0200~0299/0229.Majority-Element-II.md +++ b/website/content/ChapterFour/0200~0299/0229.Majority-Element-II.md @@ -102,6 +102,6 @@ func majorityElement229_1(nums []int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0230.Kth-Smallest-Element-in-a-BST.md b/website/content/ChapterFour/0200~0299/0230.Kth-Smallest-Element-in-a-BST.md index 45fcea55..3383a50f 100755 --- a/website/content/ChapterFour/0200~0299/0230.Kth-Smallest-Element-in-a-BST.md +++ b/website/content/ChapterFour/0200~0299/0230.Kth-Smallest-Element-in-a-BST.md @@ -80,6 +80,6 @@ func inorder230(node *TreeNode, k int, count *int, ans *int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0231.Power-of-Two.md b/website/content/ChapterFour/0200~0299/0231.Power-of-Two.md index 157f91e5..491f5534 100755 --- a/website/content/ChapterFour/0200~0299/0231.Power-of-Two.md +++ b/website/content/ChapterFour/0200~0299/0231.Power-of-Two.md @@ -72,6 +72,6 @@ func isPowerOfTwo3(num int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0232.Implement-Queue-using-Stacks.md b/website/content/ChapterFour/0200~0299/0232.Implement-Queue-using-Stacks.md index 6ceaa1b0..71e5bc14 100644 --- a/website/content/ChapterFour/0200~0299/0232.Implement-Queue-using-Stacks.md +++ b/website/content/ChapterFour/0200~0299/0232.Implement-Queue-using-Stacks.md @@ -101,6 +101,6 @@ func (this *MyQueue) fromStackToQueue(s, q *[]int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0234.Palindrome-Linked-List.md b/website/content/ChapterFour/0200~0299/0234.Palindrome-Linked-List.md index 56eca338..8f409518 100644 --- a/website/content/ChapterFour/0200~0299/0234.Palindrome-Linked-List.md +++ b/website/content/ChapterFour/0200~0299/0234.Palindrome-Linked-List.md @@ -113,6 +113,6 @@ func L2ss(head *ListNode) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0235.Lowest-Common-Ancestor-of-a-Binary-Search-Tree.md b/website/content/ChapterFour/0200~0299/0235.Lowest-Common-Ancestor-of-a-Binary-Search-Tree.md index 73a9a443..77f6cdbf 100755 --- a/website/content/ChapterFour/0200~0299/0235.Lowest-Common-Ancestor-of-a-Binary-Search-Tree.md +++ b/website/content/ChapterFour/0200~0299/0235.Lowest-Common-Ancestor-of-a-Binary-Search-Tree.md @@ -74,6 +74,6 @@ func lowestCommonAncestor(root, p, q *TreeNode) *TreeNode { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0236.Lowest-Common-Ancestor-of-a-Binary-Tree.md b/website/content/ChapterFour/0200~0299/0236.Lowest-Common-Ancestor-of-a-Binary-Tree.md index 96342c14..302f3f19 100755 --- a/website/content/ChapterFour/0200~0299/0236.Lowest-Common-Ancestor-of-a-Binary-Tree.md +++ b/website/content/ChapterFour/0200~0299/0236.Lowest-Common-Ancestor-of-a-Binary-Tree.md @@ -74,6 +74,6 @@ func lowestCommonAncestor236(root, p, q *TreeNode) *TreeNode { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0237.Delete-Node-in-a-Linked-List.md b/website/content/ChapterFour/0200~0299/0237.Delete-Node-in-a-Linked-List.md index 981fe415..e7a23da5 100644 --- a/website/content/ChapterFour/0200~0299/0237.Delete-Node-in-a-Linked-List.md +++ b/website/content/ChapterFour/0200~0299/0237.Delete-Node-in-a-Linked-List.md @@ -74,6 +74,6 @@ func deleteNode(node *ListNode) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0239.Sliding-Window-Maximum.md b/website/content/ChapterFour/0200~0299/0239.Sliding-Window-Maximum.md index ea5a4493..bf2a3a11 100755 --- a/website/content/ChapterFour/0200~0299/0239.Sliding-Window-Maximum.md +++ b/website/content/ChapterFour/0200~0299/0239.Sliding-Window-Maximum.md @@ -97,6 +97,6 @@ func maxSlidingWindow(nums []int, k int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0240.Search-a-2D-Matrix-II.md b/website/content/ChapterFour/0200~0299/0240.Search-a-2D-Matrix-II.md index 736d4ba4..55f99caf 100755 --- a/website/content/ChapterFour/0200~0299/0240.Search-a-2D-Matrix-II.md +++ b/website/content/ChapterFour/0200~0299/0240.Search-a-2D-Matrix-II.md @@ -91,6 +91,6 @@ func searchMatrix2401(matrix [][]int, target int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0242.Valid-Anagram.md b/website/content/ChapterFour/0200~0299/0242.Valid-Anagram.md index 7f643f68..9e99ce87 100644 --- a/website/content/ChapterFour/0200~0299/0242.Valid-Anagram.md +++ b/website/content/ChapterFour/0200~0299/0242.Valid-Anagram.md @@ -119,6 +119,6 @@ func quickSortByte(a []byte, lo, hi int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0257.Binary-Tree-Paths.md b/website/content/ChapterFour/0200~0299/0257.Binary-Tree-Paths.md index eaef55f8..22b451ce 100755 --- a/website/content/ChapterFour/0200~0299/0257.Binary-Tree-Paths.md +++ b/website/content/ChapterFour/0200~0299/0257.Binary-Tree-Paths.md @@ -73,6 +73,6 @@ func binaryTreePaths(root *TreeNode) []string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0258.Add-Digits.md b/website/content/ChapterFour/0200~0299/0258.Add-Digits.md index 57abdabc..4e0770ad 100644 --- a/website/content/ChapterFour/0200~0299/0258.Add-Digits.md +++ b/website/content/ChapterFour/0200~0299/0258.Add-Digits.md @@ -49,6 +49,6 @@ func addDigits(num int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0260.Single-Number-III.md b/website/content/ChapterFour/0200~0299/0260.Single-Number-III.md index a5c74bf0..ed2a461b 100755 --- a/website/content/ChapterFour/0200~0299/0260.Single-Number-III.md +++ b/website/content/ChapterFour/0200~0299/0260.Single-Number-III.md @@ -63,6 +63,6 @@ func singleNumberIII(nums []int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0263.Ugly-Number.md b/website/content/ChapterFour/0200~0299/0263.Ugly-Number.md index 4e04b40e..713d3058 100644 --- a/website/content/ChapterFour/0200~0299/0263.Ugly-Number.md +++ b/website/content/ChapterFour/0200~0299/0263.Ugly-Number.md @@ -71,6 +71,6 @@ func isUgly(num int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0268.Missing-Number.md b/website/content/ChapterFour/0200~0299/0268.Missing-Number.md index f5bafc72..393dbe2f 100755 --- a/website/content/ChapterFour/0200~0299/0268.Missing-Number.md +++ b/website/content/ChapterFour/0200~0299/0268.Missing-Number.md @@ -49,6 +49,6 @@ func missingNumber(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0274.H-Index.md b/website/content/ChapterFour/0200~0299/0274.H-Index.md index fd961ebc..75cf67b1 100644 --- a/website/content/ChapterFour/0200~0299/0274.H-Index.md +++ b/website/content/ChapterFour/0200~0299/0274.H-Index.md @@ -80,6 +80,6 @@ func hIndex1(citations []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0275.H-Index-II.md b/website/content/ChapterFour/0200~0299/0275.H-Index-II.md index 880d39d3..a29f7133 100755 --- a/website/content/ChapterFour/0200~0299/0275.H-Index-II.md +++ b/website/content/ChapterFour/0200~0299/0275.H-Index-II.md @@ -73,6 +73,6 @@ func hIndex275(citations []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0283.Move-Zeroes.md b/website/content/ChapterFour/0200~0299/0283.Move-Zeroes.md index 48c52dd7..092cf3c6 100644 --- a/website/content/ChapterFour/0200~0299/0283.Move-Zeroes.md +++ b/website/content/ChapterFour/0200~0299/0283.Move-Zeroes.md @@ -57,6 +57,6 @@ func moveZeroes(nums []int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0287.Find-the-Duplicate-Number.md b/website/content/ChapterFour/0200~0299/0287.Find-the-Duplicate-Number.md index 11dc7ccf..a79bae5b 100644 --- a/website/content/ChapterFour/0200~0299/0287.Find-the-Duplicate-Number.md +++ b/website/content/ChapterFour/0200~0299/0287.Find-the-Duplicate-Number.md @@ -109,6 +109,6 @@ func findDuplicate2(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0200~0299/0290.Word-Pattern.md b/website/content/ChapterFour/0200~0299/0290.Word-Pattern.md index d22b9623..bce80db8 100644 --- a/website/content/ChapterFour/0200~0299/0290.Word-Pattern.md +++ b/website/content/ChapterFour/0200~0299/0290.Word-Pattern.md @@ -100,6 +100,6 @@ func wordPattern(pattern string, str string) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0300.Longest-Increasing-Subsequence.md b/website/content/ChapterFour/0300~0399/0300.Longest-Increasing-Subsequence.md index 3d678515..3ba33652 100755 --- a/website/content/ChapterFour/0300~0399/0300.Longest-Increasing-Subsequence.md +++ b/website/content/ChapterFour/0300~0399/0300.Longest-Increasing-Subsequence.md @@ -81,6 +81,6 @@ func lengthOfLIS1(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0303.Range-Sum-Query---Immutable.md b/website/content/ChapterFour/0300~0399/0303.Range-Sum-Query---Immutable.md index 9f24536e..1f708d35 100755 --- a/website/content/ChapterFour/0300~0399/0303.Range-Sum-Query---Immutable.md +++ b/website/content/ChapterFour/0300~0399/0303.Range-Sum-Query---Immutable.md @@ -112,6 +112,6 @@ func (ma *NumArray) SumRange(i int, j int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0306.Additive-Number.md b/website/content/ChapterFour/0300~0399/0306.Additive-Number.md index b3ed5be6..a798d9fa 100755 --- a/website/content/ChapterFour/0300~0399/0306.Additive-Number.md +++ b/website/content/ChapterFour/0300~0399/0306.Additive-Number.md @@ -91,6 +91,6 @@ func recursiveCheck(num string, x1 int, x2 int, left int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0307.Range-Sum-Query---Mutable.md b/website/content/ChapterFour/0300~0399/0307.Range-Sum-Query---Mutable.md index c8618b62..57f099b8 100755 --- a/website/content/ChapterFour/0300~0399/0307.Range-Sum-Query---Mutable.md +++ b/website/content/ChapterFour/0300~0399/0307.Range-Sum-Query---Mutable.md @@ -123,6 +123,6 @@ func (this *NumArray) Update(i int, val int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0309.Best-Time-to-Buy-and-Sell-Stock-with-Cooldown.md b/website/content/ChapterFour/0300~0399/0309.Best-Time-to-Buy-and-Sell-Stock-with-Cooldown.md index efd0363d..f0afbb14 100755 --- a/website/content/ChapterFour/0300~0399/0309.Best-Time-to-Buy-and-Sell-Stock-with-Cooldown.md +++ b/website/content/ChapterFour/0300~0399/0309.Best-Time-to-Buy-and-Sell-Stock-with-Cooldown.md @@ -86,6 +86,6 @@ func maxProfit309_1(prices []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0315.Count-of-Smaller-Numbers-After-Self.md b/website/content/ChapterFour/0300~0399/0315.Count-of-Smaller-Numbers-After-Self.md index 77b9e627..dfc08ac7 100755 --- a/website/content/ChapterFour/0300~0399/0315.Count-of-Smaller-Numbers-After-Self.md +++ b/website/content/ChapterFour/0300~0399/0315.Count-of-Smaller-Numbers-After-Self.md @@ -90,6 +90,6 @@ func countSmaller(nums []int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0318.Maximum-Product-of-Word-Lengths.md b/website/content/ChapterFour/0300~0399/0318.Maximum-Product-of-Word-Lengths.md index de8f712c..00e0b4dc 100755 --- a/website/content/ChapterFour/0300~0399/0318.Maximum-Product-of-Word-Lengths.md +++ b/website/content/ChapterFour/0300~0399/0318.Maximum-Product-of-Word-Lengths.md @@ -79,6 +79,6 @@ func maxProduct318(words []string) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0322.Coin-Change.md b/website/content/ChapterFour/0300~0399/0322.Coin-Change.md index 4e15b87c..fb1838d7 100755 --- a/website/content/ChapterFour/0300~0399/0322.Coin-Change.md +++ b/website/content/ChapterFour/0300~0399/0322.Coin-Change.md @@ -63,6 +63,6 @@ func coinChange(coins []int, amount int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0324.Wiggle-Sort-II.md b/website/content/ChapterFour/0300~0399/0324.Wiggle-Sort-II.md index 5047b8f0..5d5a250e 100644 --- a/website/content/ChapterFour/0300~0399/0324.Wiggle-Sort-II.md +++ b/website/content/ChapterFour/0300~0399/0324.Wiggle-Sort-II.md @@ -265,6 +265,6 @@ func wiggleSort1(nums []int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0326.Power-of-Three.md b/website/content/ChapterFour/0300~0399/0326.Power-of-Three.md index 38328b88..99596c26 100755 --- a/website/content/ChapterFour/0300~0399/0326.Power-of-Three.md +++ b/website/content/ChapterFour/0300~0399/0326.Power-of-Three.md @@ -79,6 +79,6 @@ func isPowerOfThree2(num int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0327.Count-of-Range-Sum.md b/website/content/ChapterFour/0300~0399/0327.Count-of-Range-Sum.md index 30779996..19beccae 100755 --- a/website/content/ChapterFour/0300~0399/0327.Count-of-Range-Sum.md +++ b/website/content/ChapterFour/0300~0399/0327.Count-of-Range-Sum.md @@ -147,6 +147,6 @@ func countRangeSum1(nums []int, lower int, upper int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0328.Odd-Even-Linked-List.md b/website/content/ChapterFour/0300~0399/0328.Odd-Even-Linked-List.md index 3e76e37c..53b92153 100644 --- a/website/content/ChapterFour/0300~0399/0328.Odd-Even-Linked-List.md +++ b/website/content/ChapterFour/0300~0399/0328.Odd-Even-Linked-List.md @@ -79,6 +79,6 @@ func oddEvenList(head *ListNode) *ListNode { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0329.Longest-Increasing-Path-in-a-Matrix.md b/website/content/ChapterFour/0300~0399/0329.Longest-Increasing-Path-in-a-Matrix.md index f26eb117..198fe2e3 100755 --- a/website/content/ChapterFour/0300~0399/0329.Longest-Increasing-Path-in-a-Matrix.md +++ b/website/content/ChapterFour/0300~0399/0329.Longest-Increasing-Path-in-a-Matrix.md @@ -94,6 +94,6 @@ func searchPath(board, cache [][]int, lastNum, x, y int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0331.Verify-Preorder-Serialization-of-a-Binary-Tree.md b/website/content/ChapterFour/0300~0399/0331.Verify-Preorder-Serialization-of-a-Binary-Tree.md index 83ba9b8d..5167b262 100644 --- a/website/content/ChapterFour/0300~0399/0331.Verify-Preorder-Serialization-of-a-Binary-Tree.md +++ b/website/content/ChapterFour/0300~0399/0331.Verify-Preorder-Serialization-of-a-Binary-Tree.md @@ -87,6 +87,6 @@ func isValidSerialization(preorder string) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0337.House-Robber-III.md b/website/content/ChapterFour/0300~0399/0337.House-Robber-III.md index d524b3d3..08ee691b 100644 --- a/website/content/ChapterFour/0300~0399/0337.House-Robber-III.md +++ b/website/content/ChapterFour/0300~0399/0337.House-Robber-III.md @@ -75,6 +75,6 @@ func dfsTreeRob(root *TreeNode) (a, b int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0338.Counting-Bits.md b/website/content/ChapterFour/0300~0399/0338.Counting-Bits.md index a543d869..6b466ce2 100755 --- a/website/content/ChapterFour/0300~0399/0338.Counting-Bits.md +++ b/website/content/ChapterFour/0300~0399/0338.Counting-Bits.md @@ -56,6 +56,6 @@ func countBits(num int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0342.Power-of-Four.md b/website/content/ChapterFour/0300~0399/0342.Power-of-Four.md index 221989d8..aad686b3 100755 --- a/website/content/ChapterFour/0300~0399/0342.Power-of-Four.md +++ b/website/content/ChapterFour/0300~0399/0342.Power-of-Four.md @@ -57,6 +57,6 @@ func isPowerOfFour1(num int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0343.Integer-Break.md b/website/content/ChapterFour/0300~0399/0343.Integer-Break.md index 3ca9c6af..ff492fa2 100755 --- a/website/content/ChapterFour/0300~0399/0343.Integer-Break.md +++ b/website/content/ChapterFour/0300~0399/0343.Integer-Break.md @@ -55,6 +55,6 @@ func integerBreak(n int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0344.Reverse-String.md b/website/content/ChapterFour/0300~0399/0344.Reverse-String.md index 493fbe3b..e2ed876c 100644 --- a/website/content/ChapterFour/0300~0399/0344.Reverse-String.md +++ b/website/content/ChapterFour/0300~0399/0344.Reverse-String.md @@ -55,6 +55,6 @@ func reverseString(s []byte) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0345.Reverse-Vowels-of-a-String.md b/website/content/ChapterFour/0300~0399/0345.Reverse-Vowels-of-a-String.md index bd7679af..7e812f36 100644 --- a/website/content/ChapterFour/0300~0399/0345.Reverse-Vowels-of-a-String.md +++ b/website/content/ChapterFour/0300~0399/0345.Reverse-Vowels-of-a-String.md @@ -71,6 +71,6 @@ func isVowels(s byte) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0347.Top-K-Frequent-Elements.md b/website/content/ChapterFour/0300~0399/0347.Top-K-Frequent-Elements.md index ea1d85b1..99b56de2 100644 --- a/website/content/ChapterFour/0300~0399/0347.Top-K-Frequent-Elements.md +++ b/website/content/ChapterFour/0300~0399/0347.Top-K-Frequent-Elements.md @@ -105,6 +105,6 @@ func (pq *PriorityQueue) Pop() interface{} { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0349.Intersection-of-Two-Arrays.md b/website/content/ChapterFour/0300~0399/0349.Intersection-of-Two-Arrays.md index ade24e62..b57951ab 100644 --- a/website/content/ChapterFour/0300~0399/0349.Intersection-of-Two-Arrays.md +++ b/website/content/ChapterFour/0300~0399/0349.Intersection-of-Two-Arrays.md @@ -62,6 +62,6 @@ func intersection(nums1 []int, nums2 []int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0350.Intersection-of-Two-Arrays-II.md b/website/content/ChapterFour/0300~0399/0350.Intersection-of-Two-Arrays-II.md index eb94c11d..dcfe10b5 100644 --- a/website/content/ChapterFour/0300~0399/0350.Intersection-of-Two-Arrays-II.md +++ b/website/content/ChapterFour/0300~0399/0350.Intersection-of-Two-Arrays-II.md @@ -74,6 +74,6 @@ func intersect(nums1 []int, nums2 []int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0354.Russian-Doll-Envelopes.md b/website/content/ChapterFour/0300~0399/0354.Russian-Doll-Envelopes.md index 8100d0f6..cdd560ba 100755 --- a/website/content/ChapterFour/0300~0399/0354.Russian-Doll-Envelopes.md +++ b/website/content/ChapterFour/0300~0399/0354.Russian-Doll-Envelopes.md @@ -83,6 +83,6 @@ func maxEnvelopes(envelopes [][]int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0357.Count-Numbers-with-Unique-Digits.md b/website/content/ChapterFour/0300~0399/0357.Count-Numbers-with-Unique-Digits.md index 6c7583a6..4ae4f41b 100755 --- a/website/content/ChapterFour/0300~0399/0357.Count-Numbers-with-Unique-Digits.md +++ b/website/content/ChapterFour/0300~0399/0357.Count-Numbers-with-Unique-Digits.md @@ -63,6 +63,6 @@ func countNumbersWithUniqueDigits(n int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0367.Valid-Perfect-Square.md b/website/content/ChapterFour/0300~0399/0367.Valid-Perfect-Square.md index 0edd6fc0..50f9f733 100755 --- a/website/content/ChapterFour/0300~0399/0367.Valid-Perfect-Square.md +++ b/website/content/ChapterFour/0300~0399/0367.Valid-Perfect-Square.md @@ -59,6 +59,6 @@ func isPerfectSquare(num int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0371.Sum-of-Two-Integers.md b/website/content/ChapterFour/0300~0399/0371.Sum-of-Two-Integers.md index 423f35b1..8336684a 100755 --- a/website/content/ChapterFour/0300~0399/0371.Sum-of-Two-Integers.md +++ b/website/content/ChapterFour/0300~0399/0371.Sum-of-Two-Integers.md @@ -49,6 +49,6 @@ func getSum(a int, b int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0372.Super-Pow.md b/website/content/ChapterFour/0300~0399/0372.Super-Pow.md index 1bb73d92..0934a48a 100755 --- a/website/content/ChapterFour/0300~0399/0372.Super-Pow.md +++ b/website/content/ChapterFour/0300~0399/0372.Super-Pow.md @@ -110,6 +110,6 @@ func superPow1(a int, b []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0373.Find-K-Pairs-with-Smallest-Sums.md b/website/content/ChapterFour/0300~0399/0373.Find-K-Pairs-with-Smallest-Sums.md index 85bb5352..346d24da 100755 --- a/website/content/ChapterFour/0300~0399/0373.Find-K-Pairs-with-Smallest-Sums.md +++ b/website/content/ChapterFour/0300~0399/0373.Find-K-Pairs-with-Smallest-Sums.md @@ -128,6 +128,6 @@ func kSmallestPairs1(nums1 []int, nums2 []int, k int) [][]int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0378.Kth-Smallest-Element-in-a-Sorted-Matrix.md b/website/content/ChapterFour/0300~0399/0378.Kth-Smallest-Element-in-a-Sorted-Matrix.md index 9f675463..2b53dec9 100755 --- a/website/content/ChapterFour/0300~0399/0378.Kth-Smallest-Element-in-a-Sorted-Matrix.md +++ b/website/content/ChapterFour/0300~0399/0378.Kth-Smallest-Element-in-a-Sorted-Matrix.md @@ -137,6 +137,6 @@ func (p *pq) Pop() interface{} { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0385.Mini-Parser.md b/website/content/ChapterFour/0300~0399/0385.Mini-Parser.md index 93706631..869839bf 100755 --- a/website/content/ChapterFour/0300~0399/0385.Mini-Parser.md +++ b/website/content/ChapterFour/0300~0399/0385.Mini-Parser.md @@ -177,6 +177,6 @@ func deserialize(s string) *NestedInteger { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0386.Lexicographical-Numbers.md b/website/content/ChapterFour/0300~0399/0386.Lexicographical-Numbers.md index 2b448727..dc76ab44 100755 --- a/website/content/ChapterFour/0300~0399/0386.Lexicographical-Numbers.md +++ b/website/content/ChapterFour/0300~0399/0386.Lexicographical-Numbers.md @@ -53,6 +53,6 @@ func dfs386(x, n int, res *[]int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0387.First-Unique-Character-in-a-String.md b/website/content/ChapterFour/0300~0399/0387.First-Unique-Character-in-a-String.md index 211fab68..8f7954da 100755 --- a/website/content/ChapterFour/0300~0399/0387.First-Unique-Character-in-a-String.md +++ b/website/content/ChapterFour/0300~0399/0387.First-Unique-Character-in-a-String.md @@ -83,6 +83,6 @@ func firstUniqChar1(s string) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0389.Find-the-Difference.md b/website/content/ChapterFour/0300~0399/0389.Find-the-Difference.md index 026b6f99..0a326d51 100755 --- a/website/content/ChapterFour/0300~0399/0389.Find-the-Difference.md +++ b/website/content/ChapterFour/0300~0399/0389.Find-the-Difference.md @@ -50,6 +50,6 @@ func findTheDifference(s string, t string) byte { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0392.Is-Subsequence.md b/website/content/ChapterFour/0300~0399/0392.Is-Subsequence.md index 7b11b78e..ff476a02 100755 --- a/website/content/ChapterFour/0300~0399/0392.Is-Subsequence.md +++ b/website/content/ChapterFour/0300~0399/0392.Is-Subsequence.md @@ -82,6 +82,6 @@ func isSubsequence1(s string, t string) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0393.UTF-8-Validation.md b/website/content/ChapterFour/0300~0399/0393.UTF-8-Validation.md index b1efbce0..1275685b 100755 --- a/website/content/ChapterFour/0300~0399/0393.UTF-8-Validation.md +++ b/website/content/ChapterFour/0300~0399/0393.UTF-8-Validation.md @@ -107,6 +107,6 @@ func validUtf8(data []int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0394.Decode-String.md b/website/content/ChapterFour/0300~0399/0394.Decode-String.md index 902049c3..0ed35c76 100644 --- a/website/content/ChapterFour/0300~0399/0394.Decode-String.md +++ b/website/content/ChapterFour/0300~0399/0394.Decode-String.md @@ -83,6 +83,6 @@ func decodeString(s string) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0397.Integer-Replacement.md b/website/content/ChapterFour/0300~0399/0397.Integer-Replacement.md index 67691292..6b71a2b9 100755 --- a/website/content/ChapterFour/0300~0399/0397.Integer-Replacement.md +++ b/website/content/ChapterFour/0300~0399/0397.Integer-Replacement.md @@ -88,6 +88,6 @@ func integerReplacement(n int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0300~0399/0399.Evaluate-Division.md b/website/content/ChapterFour/0300~0399/0399.Evaluate-Division.md index cdefaf23..efe0faef 100755 --- a/website/content/ChapterFour/0300~0399/0399.Evaluate-Division.md +++ b/website/content/ChapterFour/0300~0399/0399.Evaluate-Division.md @@ -119,6 +119,6 @@ func calcEquation(equations [][]string, values []float64, queries [][]string) [] ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0401.Binary-Watch.md b/website/content/ChapterFour/0400~0499/0401.Binary-Watch.md index ae9162a2..462679a6 100755 --- a/website/content/ChapterFour/0400~0499/0401.Binary-Watch.md +++ b/website/content/ChapterFour/0400~0499/0401.Binary-Watch.md @@ -140,6 +140,6 @@ func findReadBinaryWatchHour(target, index int, c []int, res *[]string) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0402.Remove-K-Digits.md b/website/content/ChapterFour/0400~0499/0402.Remove-K-Digits.md index e8f6c0e4..7e3592c6 100644 --- a/website/content/ChapterFour/0400~0499/0402.Remove-K-Digits.md +++ b/website/content/ChapterFour/0400~0499/0402.Remove-K-Digits.md @@ -90,6 +90,6 @@ func removeKdigits(num string, k int) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0404.Sum-of-Left-Leaves.md b/website/content/ChapterFour/0400~0499/0404.Sum-of-Left-Leaves.md index 18c83472..7e280d0f 100755 --- a/website/content/ChapterFour/0400~0499/0404.Sum-of-Left-Leaves.md +++ b/website/content/ChapterFour/0400~0499/0404.Sum-of-Left-Leaves.md @@ -57,6 +57,6 @@ func sumOfLeftLeaves(root *TreeNode) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0405.Convert-a-Number-to-Hexadecimal.md b/website/content/ChapterFour/0400~0499/0405.Convert-a-Number-to-Hexadecimal.md index 52d661c8..62615f8d 100755 --- a/website/content/ChapterFour/0400~0499/0405.Convert-a-Number-to-Hexadecimal.md +++ b/website/content/ChapterFour/0400~0499/0405.Convert-a-Number-to-Hexadecimal.md @@ -82,6 +82,6 @@ func toHex(num int) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0409.Longest-Palindrome.md b/website/content/ChapterFour/0400~0499/0409.Longest-Palindrome.md index f0d3f136..2f6aa28a 100755 --- a/website/content/ChapterFour/0400~0499/0409.Longest-Palindrome.md +++ b/website/content/ChapterFour/0400~0499/0409.Longest-Palindrome.md @@ -59,6 +59,6 @@ func longestPalindrome(s string) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0410.Split-Array-Largest-Sum.md b/website/content/ChapterFour/0400~0499/0410.Split-Array-Largest-Sum.md index 5620d814..c84eebaa 100755 --- a/website/content/ChapterFour/0400~0499/0410.Split-Array-Largest-Sum.md +++ b/website/content/ChapterFour/0400~0499/0410.Split-Array-Largest-Sum.md @@ -94,6 +94,6 @@ func calSum(mid, m int, nums []int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0412.Fizz-Buzz.md b/website/content/ChapterFour/0400~0499/0412.Fizz-Buzz.md index 2dd24805..e7c37280 100644 --- a/website/content/ChapterFour/0400~0499/0412.Fizz-Buzz.md +++ b/website/content/ChapterFour/0400~0499/0412.Fizz-Buzz.md @@ -73,6 +73,6 @@ func fizzBuzz(n int) []string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0414.Third-Maximum-Number.md b/website/content/ChapterFour/0400~0499/0414.Third-Maximum-Number.md index cd2224b0..1d831338 100644 --- a/website/content/ChapterFour/0400~0499/0414.Third-Maximum-Number.md +++ b/website/content/ChapterFour/0400~0499/0414.Third-Maximum-Number.md @@ -74,6 +74,6 @@ func thirdMax(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0416.Partition-Equal-Subset-Sum.md b/website/content/ChapterFour/0400~0499/0416.Partition-Equal-Subset-Sum.md index 94fe2e3c..b1543170 100755 --- a/website/content/ChapterFour/0400~0499/0416.Partition-Equal-Subset-Sum.md +++ b/website/content/ChapterFour/0400~0499/0416.Partition-Equal-Subset-Sum.md @@ -78,6 +78,6 @@ func canPartition(nums []int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0421.Maximum-XOR-of-Two-Numbers-in-an-Array.md b/website/content/ChapterFour/0400~0499/0421.Maximum-XOR-of-Two-Numbers-in-an-Array.md index 688e41e3..ea0db8a7 100755 --- a/website/content/ChapterFour/0400~0499/0421.Maximum-XOR-of-Two-Numbers-in-an-Array.md +++ b/website/content/ChapterFour/0400~0499/0421.Maximum-XOR-of-Two-Numbers-in-an-Array.md @@ -101,6 +101,6 @@ func findMaximumXOR1(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0424.Longest-Repeating-Character-Replacement.md b/website/content/ChapterFour/0400~0499/0424.Longest-Repeating-Character-Replacement.md index 1762c02c..132dbcd2 100644 --- a/website/content/ChapterFour/0400~0499/0424.Longest-Repeating-Character-Replacement.md +++ b/website/content/ChapterFour/0400~0499/0424.Longest-Repeating-Character-Replacement.md @@ -87,6 +87,6 @@ func max(a int, b int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0433.Minimum-Genetic-Mutation.md b/website/content/ChapterFour/0400~0499/0433.Minimum-Genetic-Mutation.md index 309dece2..2f6b2fd5 100755 --- a/website/content/ChapterFour/0400~0499/0433.Minimum-Genetic-Mutation.md +++ b/website/content/ChapterFour/0400~0499/0433.Minimum-Genetic-Mutation.md @@ -185,6 +185,6 @@ func convert(gene string) uint32 { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0435.Non-overlapping-Intervals.md b/website/content/ChapterFour/0400~0499/0435.Non-overlapping-Intervals.md index de0366f7..9ab19644 100755 --- a/website/content/ChapterFour/0400~0499/0435.Non-overlapping-Intervals.md +++ b/website/content/ChapterFour/0400~0499/0435.Non-overlapping-Intervals.md @@ -137,6 +137,6 @@ func eraseOverlapIntervals1(intervals [][]int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0436.Find-Right-Interval.md b/website/content/ChapterFour/0400~0499/0436.Find-Right-Interval.md index 5aef3a4a..d8b2d726 100755 --- a/website/content/ChapterFour/0400~0499/0436.Find-Right-Interval.md +++ b/website/content/ChapterFour/0400~0499/0436.Find-Right-Interval.md @@ -144,6 +144,6 @@ func searchFirstGreaterInterval(nums []Interval, target int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0437.Path-Sum-III.md b/website/content/ChapterFour/0400~0499/0437.Path-Sum-III.md index 51b357f6..e05fc855 100755 --- a/website/content/ChapterFour/0400~0499/0437.Path-Sum-III.md +++ b/website/content/ChapterFour/0400~0499/0437.Path-Sum-III.md @@ -87,6 +87,6 @@ func findPath437(root *TreeNode, sum int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0438.Find-All-Anagrams-in-a-String.md b/website/content/ChapterFour/0400~0499/0438.Find-All-Anagrams-in-a-String.md index 207f321b..93d24093 100644 --- a/website/content/ChapterFour/0400~0499/0438.Find-All-Anagrams-in-a-String.md +++ b/website/content/ChapterFour/0400~0499/0438.Find-All-Anagrams-in-a-String.md @@ -108,6 +108,6 @@ func findAnagrams(s string, p string) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0441.Arranging-Coins.md b/website/content/ChapterFour/0400~0499/0441.Arranging-Coins.md index fb7ba3f7..33fdee75 100755 --- a/website/content/ChapterFour/0400~0499/0441.Arranging-Coins.md +++ b/website/content/ChapterFour/0400~0499/0441.Arranging-Coins.md @@ -77,6 +77,6 @@ func arrangeCoins1(n int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0445.Add-Two-Numbers-II.md b/website/content/ChapterFour/0400~0499/0445.Add-Two-Numbers-II.md index f0b62889..9d167693 100644 --- a/website/content/ChapterFour/0400~0499/0445.Add-Two-Numbers-II.md +++ b/website/content/ChapterFour/0400~0499/0445.Add-Two-Numbers-II.md @@ -98,6 +98,6 @@ func getLength(l *ListNode) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0447.Number-of-Boomerangs.md b/website/content/ChapterFour/0400~0499/0447.Number-of-Boomerangs.md index 44289f4d..33f3c1fd 100644 --- a/website/content/ChapterFour/0400~0499/0447.Number-of-Boomerangs.md +++ b/website/content/ChapterFour/0400~0499/0447.Number-of-Boomerangs.md @@ -68,6 +68,6 @@ func dis(pa, pb []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0448.Find-All-Numbers-Disappeared-in-an-Array.md b/website/content/ChapterFour/0400~0499/0448.Find-All-Numbers-Disappeared-in-an-Array.md index 02019d10..29532c7e 100644 --- a/website/content/ChapterFour/0400~0499/0448.Find-All-Numbers-Disappeared-in-an-Array.md +++ b/website/content/ChapterFour/0400~0499/0448.Find-All-Numbers-Disappeared-in-an-Array.md @@ -59,6 +59,6 @@ func findDisappearedNumbers(nums []int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0451.Sort-Characters-By-Frequency.md b/website/content/ChapterFour/0400~0499/0451.Sort-Characters-By-Frequency.md index 84d262a5..81a8d91a 100644 --- a/website/content/ChapterFour/0400~0499/0451.Sort-Characters-By-Frequency.md +++ b/website/content/ChapterFour/0400~0499/0451.Sort-Characters-By-Frequency.md @@ -115,6 +115,6 @@ func frequencySort(s string) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0453.Minimum-Moves-to-Equal-Array-Elements.md b/website/content/ChapterFour/0400~0499/0453.Minimum-Moves-to-Equal-Array-Elements.md index 7417b7ad..f868c33a 100644 --- a/website/content/ChapterFour/0400~0499/0453.Minimum-Moves-to-Equal-Array-Elements.md +++ b/website/content/ChapterFour/0400~0499/0453.Minimum-Moves-to-Equal-Array-Elements.md @@ -53,6 +53,6 @@ func minMoves(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0454.4Sum-II.md b/website/content/ChapterFour/0400~0499/0454.4Sum-II.md index 048a3452..5b97f45b 100644 --- a/website/content/ChapterFour/0400~0499/0454.4Sum-II.md +++ b/website/content/ChapterFour/0400~0499/0454.4Sum-II.md @@ -67,6 +67,6 @@ func fourSumCount(A []int, B []int, C []int, D []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0455.Assign-Cookies.md b/website/content/ChapterFour/0400~0499/0455.Assign-Cookies.md index bfdff43a..dfd13b3a 100755 --- a/website/content/ChapterFour/0400~0499/0455.Assign-Cookies.md +++ b/website/content/ChapterFour/0400~0499/0455.Assign-Cookies.md @@ -71,6 +71,6 @@ func findContentChildren(g []int, s []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0456.132-Pattern.md b/website/content/ChapterFour/0400~0499/0456.132-Pattern.md index 425aef1a..eca74359 100755 --- a/website/content/ChapterFour/0400~0499/0456.132-Pattern.md +++ b/website/content/ChapterFour/0400~0499/0456.132-Pattern.md @@ -105,6 +105,6 @@ func find132pattern1(nums []int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0457.Circular-Array-Loop.md b/website/content/ChapterFour/0400~0499/0457.Circular-Array-Loop.md index 3038fe2b..e665c389 100755 --- a/website/content/ChapterFour/0400~0499/0457.Circular-Array-Loop.md +++ b/website/content/ChapterFour/0400~0499/0457.Circular-Array-Loop.md @@ -106,6 +106,6 @@ func getNextIndex(nums []int, index int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0460.LFU-Cache.md b/website/content/ChapterFour/0400~0499/0460.LFU-Cache.md index cc384229..dfbde243 100644 --- a/website/content/ChapterFour/0400~0499/0460.LFU-Cache.md +++ b/website/content/ChapterFour/0400~0499/0460.LFU-Cache.md @@ -144,6 +144,6 @@ func (this *LFUCache) Put(key int, value int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0461.Hamming-Distance.md b/website/content/ChapterFour/0400~0499/0461.Hamming-Distance.md index 0d85bdcb..9335d775 100755 --- a/website/content/ChapterFour/0400~0499/0461.Hamming-Distance.md +++ b/website/content/ChapterFour/0400~0499/0461.Hamming-Distance.md @@ -55,6 +55,6 @@ func hammingDistance(x int, y int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0463.Island-Perimeter.md b/website/content/ChapterFour/0400~0499/0463.Island-Perimeter.md index b847d231..e0e60da7 100755 --- a/website/content/ChapterFour/0400~0499/0463.Island-Perimeter.md +++ b/website/content/ChapterFour/0400~0499/0463.Island-Perimeter.md @@ -73,6 +73,6 @@ func islandPerimeter(grid [][]int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0470.Implement-Rand10-Using-Rand7.md b/website/content/ChapterFour/0400~0499/0470.Implement-Rand10-Using-Rand7.md index 06fca2cd..f36524a1 100755 --- a/website/content/ChapterFour/0400~0499/0470.Implement-Rand10-Using-Rand7.md +++ b/website/content/ChapterFour/0400~0499/0470.Implement-Rand10-Using-Rand7.md @@ -102,6 +102,6 @@ func rand101() int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0474.Ones-and-Zeroes.md b/website/content/ChapterFour/0400~0499/0474.Ones-and-Zeroes.md index dddce982..8fefe5c8 100755 --- a/website/content/ChapterFour/0400~0499/0474.Ones-and-Zeroes.md +++ b/website/content/ChapterFour/0400~0499/0474.Ones-and-Zeroes.md @@ -80,6 +80,6 @@ func findMaxForm(strs []string, m int, n int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0475.Heaters.md b/website/content/ChapterFour/0400~0499/0475.Heaters.md index 8beba569..90e81ad3 100755 --- a/website/content/ChapterFour/0400~0499/0475.Heaters.md +++ b/website/content/ChapterFour/0400~0499/0475.Heaters.md @@ -124,6 +124,6 @@ func findRadius1(houses []int, heaters []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0476.Number-Complement.md b/website/content/ChapterFour/0400~0499/0476.Number-Complement.md index cd3ca3b0..41198d10 100755 --- a/website/content/ChapterFour/0400~0499/0476.Number-Complement.md +++ b/website/content/ChapterFour/0400~0499/0476.Number-Complement.md @@ -70,6 +70,6 @@ func findComplement1(num int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0477.Total-Hamming-Distance.md b/website/content/ChapterFour/0400~0499/0477.Total-Hamming-Distance.md index 12970083..1d5768ab 100755 --- a/website/content/ChapterFour/0400~0499/0477.Total-Hamming-Distance.md +++ b/website/content/ChapterFour/0400~0499/0477.Total-Hamming-Distance.md @@ -68,6 +68,6 @@ func totalHammingDistance1(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0480.Sliding-Window-Median.md b/website/content/ChapterFour/0400~0499/0480.Sliding-Window-Median.md index 105da2eb..cf15f847 100755 --- a/website/content/ChapterFour/0400~0499/0480.Sliding-Window-Median.md +++ b/website/content/ChapterFour/0400~0499/0480.Sliding-Window-Median.md @@ -278,6 +278,6 @@ func (h *MaxHeapR) Remove(x int) { heap.Push(&h.hpDel, x) } ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0483.Smallest-Good-Base.md b/website/content/ChapterFour/0400~0499/0483.Smallest-Good-Base.md index 6ab60aef..88e4c378 100755 --- a/website/content/ChapterFour/0400~0499/0483.Smallest-Good-Base.md +++ b/website/content/ChapterFour/0400~0499/0483.Smallest-Good-Base.md @@ -141,6 +141,6 @@ func findBase(mid, bit uint64) uint64 { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0485.Max-Consecutive-Ones.md b/website/content/ChapterFour/0400~0499/0485.Max-Consecutive-Ones.md index 02f757ef..afc46ab3 100644 --- a/website/content/ChapterFour/0400~0499/0485.Max-Consecutive-Ones.md +++ b/website/content/ChapterFour/0400~0499/0485.Max-Consecutive-Ones.md @@ -61,6 +61,6 @@ func findMaxConsecutiveOnes(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0491.Increasing-Subsequences.md b/website/content/ChapterFour/0400~0499/0491.Increasing-Subsequences.md index b7a1b4a7..a7271f6a 100755 --- a/website/content/ChapterFour/0400~0499/0491.Increasing-Subsequences.md +++ b/website/content/ChapterFour/0400~0499/0491.Increasing-Subsequences.md @@ -86,6 +86,6 @@ func generateIncSubsets(nums []int, current int, c []int, res *[][]int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0493.Reverse-Pairs.md b/website/content/ChapterFour/0400~0499/0493.Reverse-Pairs.md index 82bcc36b..d307f2b6 100755 --- a/website/content/ChapterFour/0400~0499/0493.Reverse-Pairs.md +++ b/website/content/ChapterFour/0400~0499/0493.Reverse-Pairs.md @@ -128,6 +128,6 @@ func mergesortCount(nums, buf []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0494.Target-Sum.md b/website/content/ChapterFour/0400~0499/0494.Target-Sum.md index 16b49336..4dfd11e8 100644 --- a/website/content/ChapterFour/0400~0499/0494.Target-Sum.md +++ b/website/content/ChapterFour/0400~0499/0494.Target-Sum.md @@ -110,6 +110,6 @@ func dfsFindTargetSumWays(nums []int, index int, curSum int, S int, res *int, su ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0496.Next-Greater-Element-I.md b/website/content/ChapterFour/0400~0499/0496.Next-Greater-Element-I.md index 8d60eb23..59678c7d 100644 --- a/website/content/ChapterFour/0400~0499/0496.Next-Greater-Element-I.md +++ b/website/content/ChapterFour/0400~0499/0496.Next-Greater-Element-I.md @@ -82,6 +82,6 @@ func nextGreaterElement(nums1 []int, nums2 []int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0497.Random-Point-in-Non-overlapping-Rectangles.md b/website/content/ChapterFour/0400~0499/0497.Random-Point-in-Non-overlapping-Rectangles.md index 6819448c..6d6fa225 100755 --- a/website/content/ChapterFour/0400~0499/0497.Random-Point-in-Non-overlapping-Rectangles.md +++ b/website/content/ChapterFour/0400~0499/0497.Random-Point-in-Non-overlapping-Rectangles.md @@ -136,6 +136,6 @@ func (so *Solution497) Pick() []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0400~0499/0498.Diagonal-Traverse.md b/website/content/ChapterFour/0400~0499/0498.Diagonal-Traverse.md index b6d0739c..674ddc2c 100755 --- a/website/content/ChapterFour/0400~0499/0498.Diagonal-Traverse.md +++ b/website/content/ChapterFour/0400~0499/0498.Diagonal-Traverse.md @@ -186,6 +186,6 @@ func addTraverse(matrix [][]int, i, j int, res *[]int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0500~0599/0500.Keyboard-Row.md b/website/content/ChapterFour/0500~0599/0500.Keyboard-Row.md index 168b9370..9771d2e2 100755 --- a/website/content/ChapterFour/0500~0599/0500.Keyboard-Row.md +++ b/website/content/ChapterFour/0500~0599/0500.Keyboard-Row.md @@ -64,6 +64,6 @@ func findWords500(words []string) []string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0500~0599/0503.Next-Greater-Element-II.md b/website/content/ChapterFour/0500~0599/0503.Next-Greater-Element-II.md index e9ff3ace..2974c302 100644 --- a/website/content/ChapterFour/0500~0599/0503.Next-Greater-Element-II.md +++ b/website/content/ChapterFour/0500~0599/0503.Next-Greater-Element-II.md @@ -80,6 +80,6 @@ func nextGreaterElements1(nums []int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0500~0599/0507.Perfect-Number.md b/website/content/ChapterFour/0500~0599/0507.Perfect-Number.md index 3092928a..fe2293ae 100644 --- a/website/content/ChapterFour/0500~0599/0507.Perfect-Number.md +++ b/website/content/ChapterFour/0500~0599/0507.Perfect-Number.md @@ -66,6 +66,6 @@ func checkPerfectNumber_(num int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0500~0599/0508.Most-Frequent-Subtree-Sum.md b/website/content/ChapterFour/0500~0599/0508.Most-Frequent-Subtree-Sum.md index 0b78939a..2467d23f 100755 --- a/website/content/ChapterFour/0500~0599/0508.Most-Frequent-Subtree-Sum.md +++ b/website/content/ChapterFour/0500~0599/0508.Most-Frequent-Subtree-Sum.md @@ -125,6 +125,6 @@ func findTreeSum(root *TreeNode, fre map[int]int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0500~0599/0509.Fibonacci-Number.md b/website/content/ChapterFour/0500~0599/0509.Fibonacci-Number.md index 6986acbc..55c0de7d 100755 --- a/website/content/ChapterFour/0500~0599/0509.Fibonacci-Number.md +++ b/website/content/ChapterFour/0500~0599/0509.Fibonacci-Number.md @@ -192,6 +192,6 @@ func fibb(n int) <- chan int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0500~0599/0513.Find-Bottom-Left-Tree-Value.md b/website/content/ChapterFour/0500~0599/0513.Find-Bottom-Left-Tree-Value.md index 4c6683c4..bce46e77 100755 --- a/website/content/ChapterFour/0500~0599/0513.Find-Bottom-Left-Tree-Value.md +++ b/website/content/ChapterFour/0500~0599/0513.Find-Bottom-Left-Tree-Value.md @@ -114,6 +114,6 @@ func findBottomLeftValue1(root *TreeNode) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0500~0599/0515.Find-Largest-Value-in-Each-Tree-Row.md b/website/content/ChapterFour/0500~0599/0515.Find-Largest-Value-in-Each-Tree-Row.md index cb60a179..40637279 100755 --- a/website/content/ChapterFour/0500~0599/0515.Find-Largest-Value-in-Each-Tree-Row.md +++ b/website/content/ChapterFour/0500~0599/0515.Find-Largest-Value-in-Each-Tree-Row.md @@ -95,6 +95,6 @@ func largestValues1(root *TreeNode) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0500~0599/0524.Longest-Word-in-Dictionary-through-Deleting.md b/website/content/ChapterFour/0500~0599/0524.Longest-Word-in-Dictionary-through-Deleting.md index f9e5044a..1bd98aec 100644 --- a/website/content/ChapterFour/0500~0599/0524.Longest-Word-in-Dictionary-through-Deleting.md +++ b/website/content/ChapterFour/0500~0599/0524.Longest-Word-in-Dictionary-through-Deleting.md @@ -78,6 +78,6 @@ func findLongestWord(s string, d []string) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0500~0599/0526.Beautiful-Arrangement.md b/website/content/ChapterFour/0500~0599/0526.Beautiful-Arrangement.md index 5dee55d6..4c91731a 100755 --- a/website/content/ChapterFour/0500~0599/0526.Beautiful-Arrangement.md +++ b/website/content/ChapterFour/0500~0599/0526.Beautiful-Arrangement.md @@ -112,6 +112,6 @@ func checkDivisible(num, d int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0500~0599/0528.Random-Pick-with-Weight.md b/website/content/ChapterFour/0500~0599/0528.Random-Pick-with-Weight.md index ce18b24e..3b83ea43 100755 --- a/website/content/ChapterFour/0500~0599/0528.Random-Pick-with-Weight.md +++ b/website/content/ChapterFour/0500~0599/0528.Random-Pick-with-Weight.md @@ -110,6 +110,6 @@ func (so *Solution528) PickIndex() int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0500~0599/0529.Minesweeper.md b/website/content/ChapterFour/0500~0599/0529.Minesweeper.md index d1b7ed79..b6a4b57b 100644 --- a/website/content/ChapterFour/0500~0599/0529.Minesweeper.md +++ b/website/content/ChapterFour/0500~0599/0529.Minesweeper.md @@ -147,6 +147,6 @@ func mineSweeper(x, y int, board [][]byte, mineMap [][]int, dir8 [][]int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0500~0599/0532.K-diff-Pairs-in-an-Array.md b/website/content/ChapterFour/0500~0599/0532.K-diff-Pairs-in-an-Array.md index ff546c26..c20e4c4b 100644 --- a/website/content/ChapterFour/0500~0599/0532.K-diff-Pairs-in-an-Array.md +++ b/website/content/ChapterFour/0500~0599/0532.K-diff-Pairs-in-an-Array.md @@ -97,6 +97,6 @@ func findPairs(nums []int, k int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0500~0599/0537.Complex-Number-Multiplication.md b/website/content/ChapterFour/0500~0599/0537.Complex-Number-Multiplication.md index 6f0c11bb..27290549 100644 --- a/website/content/ChapterFour/0500~0599/0537.Complex-Number-Multiplication.md +++ b/website/content/ChapterFour/0500~0599/0537.Complex-Number-Multiplication.md @@ -75,6 +75,6 @@ func parse(s string) (int, int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0500~0599/0541.Reverse-String-II.md b/website/content/ChapterFour/0500~0599/0541.Reverse-String-II.md index 6c2c50c9..a55d0603 100755 --- a/website/content/ChapterFour/0500~0599/0541.Reverse-String-II.md +++ b/website/content/ChapterFour/0500~0599/0541.Reverse-String-II.md @@ -58,6 +58,6 @@ func reverseStr(s string, k int) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0500~0599/0542.01-Matrix.md b/website/content/ChapterFour/0500~0599/0542.01-Matrix.md index 5dc0b0b3..96e59629 100755 --- a/website/content/ChapterFour/0500~0599/0542.01-Matrix.md +++ b/website/content/ChapterFour/0500~0599/0542.01-Matrix.md @@ -204,6 +204,6 @@ func updateMatrixDP(matrix [][]int) [][]int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0500~0599/0547.Number-of-Provinces.md b/website/content/ChapterFour/0500~0599/0547.Number-of-Provinces.md index 727eaa16..1515667c 100755 --- a/website/content/ChapterFour/0500~0599/0547.Number-of-Provinces.md +++ b/website/content/ChapterFour/0500~0599/0547.Number-of-Provinces.md @@ -113,6 +113,6 @@ func dfs547(M [][]int, cur int, visited []bool) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0500~0599/0557.Reverse-Words-in-a-String-III.md b/website/content/ChapterFour/0500~0599/0557.Reverse-Words-in-a-String-III.md index 91251032..d0ab404c 100755 --- a/website/content/ChapterFour/0500~0599/0557.Reverse-Words-in-a-String-III.md +++ b/website/content/ChapterFour/0500~0599/0557.Reverse-Words-in-a-String-III.md @@ -59,6 +59,6 @@ func revers(s string) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0500~0599/0561.Array-Partition-I.md b/website/content/ChapterFour/0500~0599/0561.Array-Partition-I.md index 0b146a5a..cb8dc31e 100644 --- a/website/content/ChapterFour/0500~0599/0561.Array-Partition-I.md +++ b/website/content/ChapterFour/0500~0599/0561.Array-Partition-I.md @@ -60,6 +60,6 @@ func arrayPairSum(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0500~0599/0563.Binary-Tree-Tilt.md b/website/content/ChapterFour/0500~0599/0563.Binary-Tree-Tilt.md index 23bdf2ab..83b5be1b 100755 --- a/website/content/ChapterFour/0500~0599/0563.Binary-Tree-Tilt.md +++ b/website/content/ChapterFour/0500~0599/0563.Binary-Tree-Tilt.md @@ -85,6 +85,6 @@ func findTiltDFS(root *TreeNode, sum *int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0500~0599/0566.Reshape-the-Matrix.md b/website/content/ChapterFour/0500~0599/0566.Reshape-the-Matrix.md index 694ab4b7..7097fece 100755 --- a/website/content/ChapterFour/0500~0599/0566.Reshape-the-Matrix.md +++ b/website/content/ChapterFour/0500~0599/0566.Reshape-the-Matrix.md @@ -104,6 +104,6 @@ func reshape(nums [][]int, r, c int) [][]int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0500~0599/0567.Permutation-in-String.md b/website/content/ChapterFour/0500~0599/0567.Permutation-in-String.md index 5ca69e64..35262e5d 100644 --- a/website/content/ChapterFour/0500~0599/0567.Permutation-in-String.md +++ b/website/content/ChapterFour/0500~0599/0567.Permutation-in-String.md @@ -89,6 +89,6 @@ func checkInclusion(s1 string, s2 string) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0500~0599/0572.Subtree-of-Another-Tree.md b/website/content/ChapterFour/0500~0599/0572.Subtree-of-Another-Tree.md index 38df9747..9781a179 100755 --- a/website/content/ChapterFour/0500~0599/0572.Subtree-of-Another-Tree.md +++ b/website/content/ChapterFour/0500~0599/0572.Subtree-of-Another-Tree.md @@ -89,6 +89,6 @@ func isSubtree(s *TreeNode, t *TreeNode) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0500~0599/0575.Distribute-Candies.md b/website/content/ChapterFour/0500~0599/0575.Distribute-Candies.md index 98421846..5b27abd6 100755 --- a/website/content/ChapterFour/0500~0599/0575.Distribute-Candies.md +++ b/website/content/ChapterFour/0500~0599/0575.Distribute-Candies.md @@ -61,6 +61,6 @@ func distributeCandies(candies []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0500~0599/0594.Longest-Harmonious-Subsequence.md b/website/content/ChapterFour/0500~0599/0594.Longest-Harmonious-Subsequence.md index e580f1b8..06110aef 100755 --- a/website/content/ChapterFour/0500~0599/0594.Longest-Harmonious-Subsequence.md +++ b/website/content/ChapterFour/0500~0599/0594.Longest-Harmonious-Subsequence.md @@ -59,6 +59,6 @@ func findLHS(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0500~0599/0598.Range-Addition-II.md b/website/content/ChapterFour/0500~0599/0598.Range-Addition-II.md index 2629104d..c4ca5720 100644 --- a/website/content/ChapterFour/0500~0599/0598.Range-Addition-II.md +++ b/website/content/ChapterFour/0500~0599/0598.Range-Addition-II.md @@ -84,6 +84,6 @@ func min(a, b int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0500~0599/0599.Minimum-Index-Sum-of-Two-Lists.md b/website/content/ChapterFour/0500~0599/0599.Minimum-Index-Sum-of-Two-Lists.md index 98bedc57..a33f1d28 100755 --- a/website/content/ChapterFour/0500~0599/0599.Minimum-Index-Sum-of-Two-Lists.md +++ b/website/content/ChapterFour/0500~0599/0599.Minimum-Index-Sum-of-Two-Lists.md @@ -79,6 +79,6 @@ func findRestaurant(list1 []string, list2 []string) []string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0600~0699/0605.Can-Place-Flowers.md b/website/content/ChapterFour/0600~0699/0605.Can-Place-Flowers.md index c873052e..0e26b084 100644 --- a/website/content/ChapterFour/0600~0699/0605.Can-Place-Flowers.md +++ b/website/content/ChapterFour/0600~0699/0605.Can-Place-Flowers.md @@ -62,6 +62,6 @@ func canPlaceFlowers(flowerbed []int, n int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0600~0699/0628.Maximum-Product-of-Three-Numbers.md b/website/content/ChapterFour/0600~0699/0628.Maximum-Product-of-Three-Numbers.md index ca87c3f1..94180ac3 100755 --- a/website/content/ChapterFour/0600~0699/0628.Maximum-Product-of-Three-Numbers.md +++ b/website/content/ChapterFour/0600~0699/0628.Maximum-Product-of-Three-Numbers.md @@ -105,6 +105,6 @@ func maximumProduct1(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0600~0699/0632.Smallest-Range-Covering-Elements-from-K-Lists.md b/website/content/ChapterFour/0600~0699/0632.Smallest-Range-Covering-Elements-from-K-Lists.md index 9b77ea7e..ec1310e4 100755 --- a/website/content/ChapterFour/0600~0699/0632.Smallest-Range-Covering-Elements-from-K-Lists.md +++ b/website/content/ChapterFour/0600~0699/0632.Smallest-Range-Covering-Elements-from-K-Lists.md @@ -115,6 +115,6 @@ func (p SortByVal) Less(i, j int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0600~0699/0633.Sum-of-Square-Numbers.md b/website/content/ChapterFour/0600~0699/0633.Sum-of-Square-Numbers.md index 5db9b22e..de723cae 100755 --- a/website/content/ChapterFour/0600~0699/0633.Sum-of-Square-Numbers.md +++ b/website/content/ChapterFour/0600~0699/0633.Sum-of-Square-Numbers.md @@ -55,6 +55,6 @@ func judgeSquareSum(c int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0600~0699/0636.Exclusive-Time-of-Functions.md b/website/content/ChapterFour/0600~0699/0636.Exclusive-Time-of-Functions.md index 49ebc64a..ebe7628c 100755 --- a/website/content/ChapterFour/0600~0699/0636.Exclusive-Time-of-Functions.md +++ b/website/content/ChapterFour/0600~0699/0636.Exclusive-Time-of-Functions.md @@ -102,6 +102,6 @@ func exclusiveTime(n int, logs []string) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0600~0699/0637.Average-of-Levels-in-Binary-Tree.md b/website/content/ChapterFour/0600~0699/0637.Average-of-Levels-in-Binary-Tree.md index 494e17b3..256e1e0b 100644 --- a/website/content/ChapterFour/0600~0699/0637.Average-of-Levels-in-Binary-Tree.md +++ b/website/content/ChapterFour/0600~0699/0637.Average-of-Levels-in-Binary-Tree.md @@ -87,6 +87,6 @@ func averageOfLevels(root *TreeNode) []float64 { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0600~0699/0638.Shopping-Offers.md b/website/content/ChapterFour/0600~0699/0638.Shopping-Offers.md index e139c7b8..978efc8b 100644 --- a/website/content/ChapterFour/0600~0699/0638.Shopping-Offers.md +++ b/website/content/ChapterFour/0600~0699/0638.Shopping-Offers.md @@ -131,6 +131,6 @@ func dfsShoppingOffers(price []int, special [][]int, needs []int, pay int, res * ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0600~0699/0645.Set-Mismatch.md b/website/content/ChapterFour/0600~0699/0645.Set-Mismatch.md index 389004d7..0a1e7020 100755 --- a/website/content/ChapterFour/0600~0699/0645.Set-Mismatch.md +++ b/website/content/ChapterFour/0600~0699/0645.Set-Mismatch.md @@ -64,6 +64,6 @@ func findErrorNums(nums []int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0600~0699/0648.Replace-Words.md b/website/content/ChapterFour/0600~0699/0648.Replace-Words.md index d47adb84..0130dce4 100755 --- a/website/content/ChapterFour/0600~0699/0648.Replace-Words.md +++ b/website/content/ChapterFour/0600~0699/0648.Replace-Words.md @@ -113,6 +113,6 @@ func replaceWords1(dict []string, sentence string) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0600~0699/0653.Two-Sum-IV---Input-is-a-BST.md b/website/content/ChapterFour/0600~0699/0653.Two-Sum-IV---Input-is-a-BST.md index bf1681f0..4d13db56 100755 --- a/website/content/ChapterFour/0600~0699/0653.Two-Sum-IV---Input-is-a-BST.md +++ b/website/content/ChapterFour/0600~0699/0653.Two-Sum-IV---Input-is-a-BST.md @@ -77,6 +77,6 @@ func findTargetDFS(root *TreeNode, k int, m map[int]int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0600~0699/0658.Find-K-Closest-Elements.md b/website/content/ChapterFour/0600~0699/0658.Find-K-Closest-Elements.md index cc6ea000..a818069d 100755 --- a/website/content/ChapterFour/0600~0699/0658.Find-K-Closest-Elements.md +++ b/website/content/ChapterFour/0600~0699/0658.Find-K-Closest-Elements.md @@ -84,6 +84,6 @@ func findClosestElements1(arr []int, k int, x int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0600~0699/0661.Image-Smoother.md b/website/content/ChapterFour/0600~0699/0661.Image-Smoother.md index 898ac924..048d5da9 100644 --- a/website/content/ChapterFour/0600~0699/0661.Image-Smoother.md +++ b/website/content/ChapterFour/0600~0699/0661.Image-Smoother.md @@ -113,6 +113,6 @@ func smooth(x, y int, M [][]int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0600~0699/0662.Maximum-Width-of-Binary-Tree.md b/website/content/ChapterFour/0600~0699/0662.Maximum-Width-of-Binary-Tree.md index 00a6fb10..6975b34d 100755 --- a/website/content/ChapterFour/0600~0699/0662.Maximum-Width-of-Binary-Tree.md +++ b/website/content/ChapterFour/0600~0699/0662.Maximum-Width-of-Binary-Tree.md @@ -154,6 +154,6 @@ func widthOfBinaryTree(root *TreeNode) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0600~0699/0668.Kth-Smallest-Number-in-Multiplication-Table.md b/website/content/ChapterFour/0600~0699/0668.Kth-Smallest-Number-in-Multiplication-Table.md index cac282b2..7643ffe3 100755 --- a/website/content/ChapterFour/0600~0699/0668.Kth-Smallest-Number-in-Multiplication-Table.md +++ b/website/content/ChapterFour/0600~0699/0668.Kth-Smallest-Number-in-Multiplication-Table.md @@ -86,6 +86,6 @@ func counterKthNum(m, n, mid int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0600~0699/0674.Longest-Continuous-Increasing-Subsequence.md b/website/content/ChapterFour/0600~0699/0674.Longest-Continuous-Increasing-Subsequence.md index af34e78f..58966b72 100644 --- a/website/content/ChapterFour/0600~0699/0674.Longest-Continuous-Increasing-Subsequence.md +++ b/website/content/ChapterFour/0600~0699/0674.Longest-Continuous-Increasing-Subsequence.md @@ -71,6 +71,6 @@ func max(a, b int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0600~0699/0676.Implement-Magic-Dictionary.md b/website/content/ChapterFour/0600~0699/0676.Implement-Magic-Dictionary.md index 13e25288..c0d96e1a 100755 --- a/website/content/ChapterFour/0600~0699/0676.Implement-Magic-Dictionary.md +++ b/website/content/ChapterFour/0600~0699/0676.Implement-Magic-Dictionary.md @@ -89,6 +89,6 @@ func (this *MagicDictionary) Search(word string) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0600~0699/0682.Baseball-Game.md b/website/content/ChapterFour/0600~0699/0682.Baseball-Game.md index 447934fb..a85678d4 100644 --- a/website/content/ChapterFour/0600~0699/0682.Baseball-Game.md +++ b/website/content/ChapterFour/0600~0699/0682.Baseball-Game.md @@ -108,6 +108,6 @@ func calPoints(ops []string) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0600~0699/0684.Redundant-Connection.md b/website/content/ChapterFour/0600~0699/0684.Redundant-Connection.md index 5348b2b9..6f48fee3 100755 --- a/website/content/ChapterFour/0600~0699/0684.Redundant-Connection.md +++ b/website/content/ChapterFour/0600~0699/0684.Redundant-Connection.md @@ -87,6 +87,6 @@ func findRedundantConnection(edges [][]int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0600~0699/0685.Redundant-Connection-II.md b/website/content/ChapterFour/0600~0699/0685.Redundant-Connection-II.md index f96a97c7..b6befebf 100755 --- a/website/content/ChapterFour/0600~0699/0685.Redundant-Connection-II.md +++ b/website/content/ChapterFour/0600~0699/0685.Redundant-Connection-II.md @@ -112,6 +112,6 @@ func findRoot(parent *[]int, k int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0600~0699/0693.Binary-Number-with-Alternating-Bits.md b/website/content/ChapterFour/0600~0699/0693.Binary-Number-with-Alternating-Bits.md index 0a75d45c..e363ecde 100755 --- a/website/content/ChapterFour/0600~0699/0693.Binary-Number-with-Alternating-Bits.md +++ b/website/content/ChapterFour/0600~0699/0693.Binary-Number-with-Alternating-Bits.md @@ -82,6 +82,6 @@ func hasAlternatingBits1(n int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0600~0699/0695.Max-Area-of-Island.md b/website/content/ChapterFour/0600~0699/0695.Max-Area-of-Island.md index 6d5ee78a..8e4d4633 100644 --- a/website/content/ChapterFour/0600~0699/0695.Max-Area-of-Island.md +++ b/website/content/ChapterFour/0600~0699/0695.Max-Area-of-Island.md @@ -79,6 +79,6 @@ func areaOfIsland(grid [][]int, x, y int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0600~0699/0697.Degree-of-an-Array.md b/website/content/ChapterFour/0600~0699/0697.Degree-of-an-Array.md index 25cf311a..3b0f4bfd 100644 --- a/website/content/ChapterFour/0600~0699/0697.Degree-of-an-Array.md +++ b/website/content/ChapterFour/0600~0699/0697.Degree-of-an-Array.md @@ -82,6 +82,6 @@ func findShortestSubArray(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0600~0699/0699.Falling-Squares.md b/website/content/ChapterFour/0600~0699/0699.Falling-Squares.md index 7986f80e..6e2b84a4 100755 --- a/website/content/ChapterFour/0600~0699/0699.Falling-Squares.md +++ b/website/content/ChapterFour/0600~0699/0699.Falling-Squares.md @@ -147,6 +147,6 @@ func discretization(positions [][]int) map[int]int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0704.Binary-Search.md b/website/content/ChapterFour/0700~0799/0704.Binary-Search.md index ea9b82b3..64fc5a4c 100755 --- a/website/content/ChapterFour/0700~0799/0704.Binary-Search.md +++ b/website/content/ChapterFour/0700~0799/0704.Binary-Search.md @@ -69,6 +69,6 @@ func search704(nums []int, target int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0705.Design-HashSet.md b/website/content/ChapterFour/0700~0799/0705.Design-HashSet.md index da4d3578..c535d896 100755 --- a/website/content/ChapterFour/0700~0799/0705.Design-HashSet.md +++ b/website/content/ChapterFour/0700~0799/0705.Design-HashSet.md @@ -96,6 +96,6 @@ func (this *MyHashSet) Contains(key int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0706.Design-HashMap.md b/website/content/ChapterFour/0700~0799/0706.Design-HashMap.md index 786c2cab..e941b88e 100755 --- a/website/content/ChapterFour/0700~0799/0706.Design-HashMap.md +++ b/website/content/ChapterFour/0700~0799/0706.Design-HashMap.md @@ -153,6 +153,6 @@ func (this *MyHashMap) Hash(value int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0707.Design-Linked-List.md b/website/content/ChapterFour/0700~0799/0707.Design-Linked-List.md index 6930dd2f..c42b3426 100644 --- a/website/content/ChapterFour/0700~0799/0707.Design-Linked-List.md +++ b/website/content/ChapterFour/0700~0799/0707.Design-Linked-List.md @@ -142,6 +142,6 @@ func (this *MyLinkedList) DeleteAtIndex(index int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0710.Random-Pick-with-Blacklist.md b/website/content/ChapterFour/0700~0799/0710.Random-Pick-with-Blacklist.md index 8622e8ed..f8054087 100644 --- a/website/content/ChapterFour/0700~0799/0710.Random-Pick-with-Blacklist.md +++ b/website/content/ChapterFour/0700~0799/0710.Random-Pick-with-Blacklist.md @@ -147,6 +147,6 @@ func (this *Solution) Pick() int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0713.Subarray-Product-Less-Than-K.md b/website/content/ChapterFour/0700~0799/0713.Subarray-Product-Less-Than-K.md index 47182853..11c50a4b 100644 --- a/website/content/ChapterFour/0700~0799/0713.Subarray-Product-Less-Than-K.md +++ b/website/content/ChapterFour/0700~0799/0713.Subarray-Product-Less-Than-K.md @@ -67,6 +67,6 @@ func numSubarrayProductLessThanK(nums []int, k int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0714.Best-Time-to-Buy-and-Sell-Stock-with-Transaction-Fee.md b/website/content/ChapterFour/0700~0799/0714.Best-Time-to-Buy-and-Sell-Stock-with-Transaction-Fee.md index 9a4f62fb..055c8f84 100755 --- a/website/content/ChapterFour/0700~0799/0714.Best-Time-to-Buy-and-Sell-Stock-with-Transaction-Fee.md +++ b/website/content/ChapterFour/0700~0799/0714.Best-Time-to-Buy-and-Sell-Stock-with-Transaction-Fee.md @@ -82,6 +82,6 @@ func maxProfit714_1(prices []int, fee int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0715.Range-Module.md b/website/content/ChapterFour/0700~0799/0715.Range-Module.md index 80b3a39b..27defe3d 100755 --- a/website/content/ChapterFour/0700~0799/0715.Range-Module.md +++ b/website/content/ChapterFour/0700~0799/0715.Range-Module.md @@ -272,6 +272,6 @@ func query(node *SegmentTreeNode, start, end int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0717.1-bit-and-2-bit-Characters.md b/website/content/ChapterFour/0700~0799/0717.1-bit-and-2-bit-Characters.md index 82de8dfc..baf0dc10 100755 --- a/website/content/ChapterFour/0700~0799/0717.1-bit-and-2-bit-Characters.md +++ b/website/content/ChapterFour/0700~0799/0717.1-bit-and-2-bit-Characters.md @@ -67,6 +67,6 @@ func isOneBitCharacter(bits []int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0718.Maximum-Length-of-Repeated-Subarray.md b/website/content/ChapterFour/0700~0799/0718.Maximum-Length-of-Repeated-Subarray.md index 211ef777..004d6f82 100755 --- a/website/content/ChapterFour/0700~0799/0718.Maximum-Length-of-Repeated-Subarray.md +++ b/website/content/ChapterFour/0700~0799/0718.Maximum-Length-of-Repeated-Subarray.md @@ -125,6 +125,6 @@ func findLength1(A []int, B []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0719.Find-K-th-Smallest-Pair-Distance.md b/website/content/ChapterFour/0700~0799/0719.Find-K-th-Smallest-Pair-Distance.md index d529b244..3f85a6de 100755 --- a/website/content/ChapterFour/0700~0799/0719.Find-K-th-Smallest-Pair-Distance.md +++ b/website/content/ChapterFour/0700~0799/0719.Find-K-th-Smallest-Pair-Distance.md @@ -99,6 +99,6 @@ func findDistanceCount1(nums []int, num int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0720.Longest-Word-in-Dictionary.md b/website/content/ChapterFour/0700~0799/0720.Longest-Word-in-Dictionary.md index 27b9c7a1..f35712bb 100755 --- a/website/content/ChapterFour/0700~0799/0720.Longest-Word-in-Dictionary.md +++ b/website/content/ChapterFour/0700~0799/0720.Longest-Word-in-Dictionary.md @@ -74,6 +74,6 @@ func longestWord(words []string) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0721.Accounts-Merge.md b/website/content/ChapterFour/0700~0799/0721.Accounts-Merge.md index 42c63ba1..dfe1190c 100755 --- a/website/content/ChapterFour/0700~0799/0721.Accounts-Merge.md +++ b/website/content/ChapterFour/0700~0799/0721.Accounts-Merge.md @@ -151,6 +151,6 @@ func accountsMerge1(accounts [][]string) [][]string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0724.Find-Pivot-Index.md b/website/content/ChapterFour/0700~0799/0724.Find-Pivot-Index.md index 5360bf54..23a7aeee 100644 --- a/website/content/ChapterFour/0700~0799/0724.Find-Pivot-Index.md +++ b/website/content/ChapterFour/0700~0799/0724.Find-Pivot-Index.md @@ -76,6 +76,6 @@ func pivotIndex(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0725.Split-Linked-List-in-Parts.md b/website/content/ChapterFour/0700~0799/0725.Split-Linked-List-in-Parts.md index 7bc0e10e..310afd70 100644 --- a/website/content/ChapterFour/0700~0799/0725.Split-Linked-List-in-Parts.md +++ b/website/content/ChapterFour/0700~0799/0725.Split-Linked-List-in-Parts.md @@ -144,6 +144,6 @@ func getLength(l *ListNode) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0726.Number-of-Atoms.md b/website/content/ChapterFour/0700~0799/0726.Number-of-Atoms.md index a885505c..3cbf7a4f 100755 --- a/website/content/ChapterFour/0700~0799/0726.Number-of-Atoms.md +++ b/website/content/ChapterFour/0700~0799/0726.Number-of-Atoms.md @@ -188,6 +188,6 @@ func isLowerLetter(v byte) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0729.My-Calendar-I.md b/website/content/ChapterFour/0700~0799/0729.My-Calendar-I.md index 15bb691d..6c7cf30b 100755 --- a/website/content/ChapterFour/0700~0799/0729.My-Calendar-I.md +++ b/website/content/ChapterFour/0700~0799/0729.My-Calendar-I.md @@ -182,6 +182,6 @@ func (this *MyCalendar) Book(start int, end int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0732.My-Calendar-III.md b/website/content/ChapterFour/0700~0799/0732.My-Calendar-III.md index 16114138..170edfd7 100755 --- a/website/content/ChapterFour/0700~0799/0732.My-Calendar-III.md +++ b/website/content/ChapterFour/0700~0799/0732.My-Calendar-III.md @@ -144,6 +144,6 @@ func (st *SegmentTree732) book(start, end int, maxHeight *int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0733.Flood-Fill.md b/website/content/ChapterFour/0700~0799/0733.Flood-Fill.md index b66a77a7..9fee69a4 100755 --- a/website/content/ChapterFour/0700~0799/0733.Flood-Fill.md +++ b/website/content/ChapterFour/0700~0799/0733.Flood-Fill.md @@ -83,6 +83,6 @@ func dfs733(image [][]int, x, y int, newColor int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0735.Asteroid-Collision.md b/website/content/ChapterFour/0700~0799/0735.Asteroid-Collision.md index a9933fdb..7a9227f5 100644 --- a/website/content/ChapterFour/0700~0799/0735.Asteroid-Collision.md +++ b/website/content/ChapterFour/0700~0799/0735.Asteroid-Collision.md @@ -107,6 +107,6 @@ func asteroidCollision(asteroids []int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0739.Daily-Temperatures.md b/website/content/ChapterFour/0700~0799/0739.Daily-Temperatures.md index 514474e8..4a15a20b 100644 --- a/website/content/ChapterFour/0700~0799/0739.Daily-Temperatures.md +++ b/website/content/ChapterFour/0700~0799/0739.Daily-Temperatures.md @@ -61,6 +61,6 @@ func dailyTemperatures1(T []int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0744.Find-Smallest-Letter-Greater-Than-Target.md b/website/content/ChapterFour/0700~0799/0744.Find-Smallest-Letter-Greater-Than-Target.md index da03eb56..daa8ce50 100755 --- a/website/content/ChapterFour/0700~0799/0744.Find-Smallest-Letter-Greater-Than-Target.md +++ b/website/content/ChapterFour/0700~0799/0744.Find-Smallest-Letter-Greater-Than-Target.md @@ -94,6 +94,6 @@ func nextGreatestLetter(letters []byte, target byte) byte { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0745.Prefix-and-Suffix-Search.md b/website/content/ChapterFour/0700~0799/0745.Prefix-and-Suffix-Search.md index fef5fe50..6934034e 100755 --- a/website/content/ChapterFour/0700~0799/0745.Prefix-and-Suffix-Search.md +++ b/website/content/ChapterFour/0700~0799/0745.Prefix-and-Suffix-Search.md @@ -100,6 +100,6 @@ func (this *WordFilter_) F_(prefix string, suffix string) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0746.Min-Cost-Climbing-Stairs.md b/website/content/ChapterFour/0700~0799/0746.Min-Cost-Climbing-Stairs.md index b7616f0b..94bfac52 100755 --- a/website/content/ChapterFour/0700~0799/0746.Min-Cost-Climbing-Stairs.md +++ b/website/content/ChapterFour/0700~0799/0746.Min-Cost-Climbing-Stairs.md @@ -73,6 +73,6 @@ func minCostClimbingStairs1(cost []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0748.Shortest-Completing-Word.md b/website/content/ChapterFour/0700~0799/0748.Shortest-Completing-Word.md index 8f2cb3a5..5bf3a79d 100755 --- a/website/content/ChapterFour/0700~0799/0748.Shortest-Completing-Word.md +++ b/website/content/ChapterFour/0700~0799/0748.Shortest-Completing-Word.md @@ -104,6 +104,6 @@ func match(lp [26]int, w string) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0753.Cracking-the-Safe.md b/website/content/ChapterFour/0700~0799/0753.Cracking-the-Safe.md index 63567a9f..12f1d6eb 100644 --- a/website/content/ChapterFour/0700~0799/0753.Cracking-the-Safe.md +++ b/website/content/ChapterFour/0700~0799/0753.Cracking-the-Safe.md @@ -94,6 +94,6 @@ func dfsCrackSafe(depth, n, k int, str *[]byte, visit *map[string]bool) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0756.Pyramid-Transition-Matrix.md b/website/content/ChapterFour/0700~0799/0756.Pyramid-Transition-Matrix.md index b3042ed5..8694d1fe 100755 --- a/website/content/ChapterFour/0700~0799/0756.Pyramid-Transition-Matrix.md +++ b/website/content/ChapterFour/0700~0799/0756.Pyramid-Transition-Matrix.md @@ -94,6 +94,6 @@ func dfsT(bottom, above string, pyramid map[string][]string) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0762.Prime-Number-of-Set-Bits-in-Binary-Representation.md b/website/content/ChapterFour/0700~0799/0762.Prime-Number-of-Set-Bits-in-Binary-Representation.md index fcfb1d5c..a4c571cf 100755 --- a/website/content/ChapterFour/0700~0799/0762.Prime-Number-of-Set-Bits-in-Binary-Representation.md +++ b/website/content/ChapterFour/0700~0799/0762.Prime-Number-of-Set-Bits-in-Binary-Representation.md @@ -80,6 +80,6 @@ func isPrime(x int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0763.Partition-Labels.md b/website/content/ChapterFour/0700~0799/0763.Partition-Labels.md index e5273f5e..caac72ef 100644 --- a/website/content/ChapterFour/0700~0799/0763.Partition-Labels.md +++ b/website/content/ChapterFour/0700~0799/0763.Partition-Labels.md @@ -94,6 +94,6 @@ func partitionLabels1(S string) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0765.Couples-Holding-Hands.md b/website/content/ChapterFour/0700~0799/0765.Couples-Holding-Hands.md index 65a08a69..87fe36c4 100755 --- a/website/content/ChapterFour/0700~0799/0765.Couples-Holding-Hands.md +++ b/website/content/ChapterFour/0700~0799/0765.Couples-Holding-Hands.md @@ -95,6 +95,6 @@ func minSwapsCouples(row []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0766.Toeplitz-Matrix.md b/website/content/ChapterFour/0700~0799/0766.Toeplitz-Matrix.md index e4f7e305..e18758da 100755 --- a/website/content/ChapterFour/0700~0799/0766.Toeplitz-Matrix.md +++ b/website/content/ChapterFour/0700~0799/0766.Toeplitz-Matrix.md @@ -81,6 +81,6 @@ func isToeplitzMatrix(matrix [][]int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0767.Reorganize-String.md b/website/content/ChapterFour/0700~0799/0767.Reorganize-String.md index 60eb52c3..c3bb9234 100644 --- a/website/content/ChapterFour/0700~0799/0767.Reorganize-String.md +++ b/website/content/ChapterFour/0700~0799/0767.Reorganize-String.md @@ -151,6 +151,6 @@ func frequencySort767(s string) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0771.Jewels-and-Stones.md b/website/content/ChapterFour/0700~0799/0771.Jewels-and-Stones.md index e5322860..c9a91a4d 100755 --- a/website/content/ChapterFour/0700~0799/0771.Jewels-and-Stones.md +++ b/website/content/ChapterFour/0700~0799/0771.Jewels-and-Stones.md @@ -76,6 +76,6 @@ func numJewelsInStones1(J string, S string) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0778.Swim-in-Rising-Water.md b/website/content/ChapterFour/0700~0799/0778.Swim-in-Rising-Water.md index dbb2414b..cc51e80b 100755 --- a/website/content/ChapterFour/0700~0799/0778.Swim-in-Rising-Water.md +++ b/website/content/ChapterFour/0700~0799/0778.Swim-in-Rising-Water.md @@ -134,6 +134,6 @@ func swimInWater1(grid [][]int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0781.Rabbits-in-Forest.md b/website/content/ChapterFour/0700~0799/0781.Rabbits-in-Forest.md index 5ec3870d..29edfa86 100755 --- a/website/content/ChapterFour/0700~0799/0781.Rabbits-in-Forest.md +++ b/website/content/ChapterFour/0700~0799/0781.Rabbits-in-Forest.md @@ -71,6 +71,6 @@ func numRabbits(ans []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0784.Letter-Case-Permutation.md b/website/content/ChapterFour/0700~0799/0784.Letter-Case-Permutation.md index 18f870a0..98edd886 100755 --- a/website/content/ChapterFour/0700~0799/0784.Letter-Case-Permutation.md +++ b/website/content/ChapterFour/0700~0799/0784.Letter-Case-Permutation.md @@ -122,6 +122,6 @@ func toUpper(s string, i int) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0785.Is-Graph-Bipartite.md b/website/content/ChapterFour/0700~0799/0785.Is-Graph-Bipartite.md index f595b55e..748451ee 100644 --- a/website/content/ChapterFour/0700~0799/0785.Is-Graph-Bipartite.md +++ b/website/content/ChapterFour/0700~0799/0785.Is-Graph-Bipartite.md @@ -100,6 +100,6 @@ func dfs(n int, graph [][]int, colors []int, parentCol int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0786.K-th-Smallest-Prime-Fraction.md b/website/content/ChapterFour/0700~0799/0786.K-th-Smallest-Prime-Fraction.md index 17203613..b0747026 100755 --- a/website/content/ChapterFour/0700~0799/0786.K-th-Smallest-Prime-Fraction.md +++ b/website/content/ChapterFour/0700~0799/0786.K-th-Smallest-Prime-Fraction.md @@ -121,6 +121,6 @@ func (a SortByFraction) Less(i, j int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0700~0799/0793.Preimage-Size-of-Factorial-Zeroes-Function.md b/website/content/ChapterFour/0700~0799/0793.Preimage-Size-of-Factorial-Zeroes-Function.md index e931f679..3208a8ae 100755 --- a/website/content/ChapterFour/0700~0799/0793.Preimage-Size-of-Factorial-Zeroes-Function.md +++ b/website/content/ChapterFour/0700~0799/0793.Preimage-Size-of-Factorial-Zeroes-Function.md @@ -103,6 +103,6 @@ func preimageSizeFZF1(K int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0802.Find-Eventual-Safe-States.md b/website/content/ChapterFour/0800~0899/0802.Find-Eventual-Safe-States.md index af127111..74054507 100644 --- a/website/content/ChapterFour/0800~0899/0802.Find-Eventual-Safe-States.md +++ b/website/content/ChapterFour/0800~0899/0802.Find-Eventual-Safe-States.md @@ -75,6 +75,6 @@ func dfsEventualSafeNodes(graph [][]int, idx int, color []int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0803.Bricks-Falling-When-Hit.md b/website/content/ChapterFour/0800~0899/0803.Bricks-Falling-When-Hit.md index c08b8ab8..81657194 100755 --- a/website/content/ChapterFour/0800~0899/0803.Bricks-Falling-When-Hit.md +++ b/website/content/ChapterFour/0800~0899/0803.Bricks-Falling-When-Hit.md @@ -127,6 +127,6 @@ func getUnionFindFromGrid(grid [][]int, x, y int, uf template.UnionFindCount) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0811.Subdomain-Visit-Count.md b/website/content/ChapterFour/0800~0899/0811.Subdomain-Visit-Count.md index d2eda349..c3a9ac90 100755 --- a/website/content/ChapterFour/0800~0899/0811.Subdomain-Visit-Count.md +++ b/website/content/ChapterFour/0800~0899/0811.Subdomain-Visit-Count.md @@ -145,6 +145,6 @@ func splitDomain(domain string, domains map[string]int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0812.Largest-Triangle-Area.md b/website/content/ChapterFour/0800~0899/0812.Largest-Triangle-Area.md index 81ea3077..6519d158 100644 --- a/website/content/ChapterFour/0800~0899/0812.Largest-Triangle-Area.md +++ b/website/content/ChapterFour/0800~0899/0812.Largest-Triangle-Area.md @@ -72,6 +72,6 @@ func max(a, b float64) float64 { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0815.Bus-Routes.md b/website/content/ChapterFour/0800~0899/0815.Bus-Routes.md index 18b747b2..844c5540 100755 --- a/website/content/ChapterFour/0800~0899/0815.Bus-Routes.md +++ b/website/content/ChapterFour/0800~0899/0815.Bus-Routes.md @@ -90,6 +90,6 @@ func numBusesToDestination(routes [][]int, S int, T int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0817.Linked-List-Components.md b/website/content/ChapterFour/0800~0899/0817.Linked-List-Components.md index 4b49383b..1442d128 100644 --- a/website/content/ChapterFour/0800~0899/0817.Linked-List-Components.md +++ b/website/content/ChapterFour/0800~0899/0817.Linked-List-Components.md @@ -111,6 +111,6 @@ func toMap(G []int) map[int]int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0819.Most-Common-Word.md b/website/content/ChapterFour/0800~0899/0819.Most-Common-Word.md index 307a2044..9da8c4cd 100755 --- a/website/content/ChapterFour/0800~0899/0819.Most-Common-Word.md +++ b/website/content/ChapterFour/0800~0899/0819.Most-Common-Word.md @@ -91,6 +91,6 @@ func mostCommonWord(paragraph string, banned []string) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0826.Most-Profit-Assigning-Work.md b/website/content/ChapterFour/0800~0899/0826.Most-Profit-Assigning-Work.md index 4e49558d..f8053719 100644 --- a/website/content/ChapterFour/0800~0899/0826.Most-Profit-Assigning-Work.md +++ b/website/content/ChapterFour/0800~0899/0826.Most-Profit-Assigning-Work.md @@ -109,6 +109,6 @@ func maxProfitAssignment(difficulty []int, profit []int, worker []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0828.Count-Unique-Characters-of-All-Substrings-of-a-Given-String.md b/website/content/ChapterFour/0800~0899/0828.Count-Unique-Characters-of-All-Substrings-of-a-Given-String.md index c60e35a1..6f5f28d4 100644 --- a/website/content/ChapterFour/0800~0899/0828.Count-Unique-Characters-of-All-Substrings-of-a-Given-String.md +++ b/website/content/ChapterFour/0800~0899/0828.Count-Unique-Characters-of-All-Substrings-of-a-Given-String.md @@ -103,6 +103,6 @@ func uniqueLetterString1(S string) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0830.Positions-of-Large-Groups.md b/website/content/ChapterFour/0800~0899/0830.Positions-of-Large-Groups.md index 3fdced6d..5efa20ed 100644 --- a/website/content/ChapterFour/0800~0899/0830.Positions-of-Large-Groups.md +++ b/website/content/ChapterFour/0800~0899/0830.Positions-of-Large-Groups.md @@ -82,6 +82,6 @@ func largeGroupPositions(S string) [][]int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0832.Flipping-an-Image.md b/website/content/ChapterFour/0800~0899/0832.Flipping-an-Image.md index 50bf028f..3c3bc5aa 100644 --- a/website/content/ChapterFour/0800~0899/0832.Flipping-an-Image.md +++ b/website/content/ChapterFour/0800~0899/0832.Flipping-an-Image.md @@ -65,6 +65,6 @@ func flipAndInvertImage(A [][]int) [][]int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0834.Sum-of-Distances-in-Tree.md b/website/content/ChapterFour/0800~0899/0834.Sum-of-Distances-in-Tree.md index d6a010e8..f4c5a049 100755 --- a/website/content/ChapterFour/0800~0899/0834.Sum-of-Distances-in-Tree.md +++ b/website/content/ChapterFour/0800~0899/0834.Sum-of-Distances-in-Tree.md @@ -103,6 +103,6 @@ func deepSecondSearch(root int, visited []bool, count, res []int, tree [][]int) ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0836.Rectangle-Overlap.md b/website/content/ChapterFour/0800~0899/0836.Rectangle-Overlap.md index 986dda6e..0475596b 100755 --- a/website/content/ChapterFour/0800~0899/0836.Rectangle-Overlap.md +++ b/website/content/ChapterFour/0800~0899/0836.Rectangle-Overlap.md @@ -56,6 +56,6 @@ func isRectangleOverlap(rec1 []int, rec2 []int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0838.Push-Dominoes.md b/website/content/ChapterFour/0800~0899/0838.Push-Dominoes.md index 548a2bac..773914ef 100644 --- a/website/content/ChapterFour/0800~0899/0838.Push-Dominoes.md +++ b/website/content/ChapterFour/0800~0899/0838.Push-Dominoes.md @@ -146,6 +146,6 @@ func pushDominoes1(dominoes string) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0839.Similar-String-Groups.md b/website/content/ChapterFour/0800~0899/0839.Similar-String-Groups.md index e1ad098b..ed2f2242 100755 --- a/website/content/ChapterFour/0800~0899/0839.Similar-String-Groups.md +++ b/website/content/ChapterFour/0800~0899/0839.Similar-String-Groups.md @@ -100,6 +100,6 @@ func isSimilar(a, b string) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0841.Keys-and-Rooms.md b/website/content/ChapterFour/0800~0899/0841.Keys-and-Rooms.md index b7f3e74a..8e4f23f9 100644 --- a/website/content/ChapterFour/0800~0899/0841.Keys-and-Rooms.md +++ b/website/content/ChapterFour/0800~0899/0841.Keys-and-Rooms.md @@ -82,6 +82,6 @@ func dfsVisitAllRooms(es [][]int, visited map[int]bool, from int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0842.Split-Array-into-Fibonacci-Sequence.md b/website/content/ChapterFour/0800~0899/0842.Split-Array-into-Fibonacci-Sequence.md index 6326d234..a50cc2f3 100755 --- a/website/content/ChapterFour/0800~0899/0842.Split-Array-into-Fibonacci-Sequence.md +++ b/website/content/ChapterFour/0800~0899/0842.Split-Array-into-Fibonacci-Sequence.md @@ -137,6 +137,6 @@ func findRecursiveCheck(S string, x1 int, x2 int, left int, res *[]int, isComple ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0844.Backspace-String-Compare.md b/website/content/ChapterFour/0800~0899/0844.Backspace-String-Compare.md index 2ecbe11f..6adcab29 100644 --- a/website/content/ChapterFour/0800~0899/0844.Backspace-String-Compare.md +++ b/website/content/ChapterFour/0800~0899/0844.Backspace-String-Compare.md @@ -113,6 +113,6 @@ func backspaceCompare(S string, T string) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0845.Longest-Mountain-in-Array.md b/website/content/ChapterFour/0800~0899/0845.Longest-Mountain-in-Array.md index 9379ea68..d0270ed5 100644 --- a/website/content/ChapterFour/0800~0899/0845.Longest-Mountain-in-Array.md +++ b/website/content/ChapterFour/0800~0899/0845.Longest-Mountain-in-Array.md @@ -93,6 +93,6 @@ func longestMountain(A []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0850.Rectangle-Area-II.md b/website/content/ChapterFour/0800~0899/0850.Rectangle-Area-II.md index 149bcf13..965f4da0 100755 --- a/website/content/ChapterFour/0800~0899/0850.Rectangle-Area-II.md +++ b/website/content/ChapterFour/0800~0899/0850.Rectangle-Area-II.md @@ -295,6 +295,6 @@ func (sat *SegmentAreaTree) updateInTree(treeIndex, left, right, updateLeft, upd ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0851.Loud-and-Rich.md b/website/content/ChapterFour/0800~0899/0851.Loud-and-Rich.md index fbe44627..ca43a9ef 100644 --- a/website/content/ChapterFour/0800~0899/0851.Loud-and-Rich.md +++ b/website/content/ChapterFour/0800~0899/0851.Loud-and-Rich.md @@ -110,6 +110,6 @@ func loudAndRich(richer [][]int, quiet []int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0852.Peak-Index-in-a-Mountain-Array.md b/website/content/ChapterFour/0800~0899/0852.Peak-Index-in-a-Mountain-Array.md index 0948ede4..12aa32de 100755 --- a/website/content/ChapterFour/0800~0899/0852.Peak-Index-in-a-Mountain-Array.md +++ b/website/content/ChapterFour/0800~0899/0852.Peak-Index-in-a-Mountain-Array.md @@ -93,6 +93,6 @@ func peakIndexInMountainArray1(A []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0853.Car-Fleet.md b/website/content/ChapterFour/0800~0899/0853.Car-Fleet.md index bb13b0d5..b3532036 100755 --- a/website/content/ChapterFour/0800~0899/0853.Car-Fleet.md +++ b/website/content/ChapterFour/0800~0899/0853.Car-Fleet.md @@ -100,6 +100,6 @@ func carFleet(target int, position []int, speed []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0856.Score-of-Parentheses.md b/website/content/ChapterFour/0800~0899/0856.Score-of-Parentheses.md index 7c810458..1b7546ca 100644 --- a/website/content/ChapterFour/0800~0899/0856.Score-of-Parentheses.md +++ b/website/content/ChapterFour/0800~0899/0856.Score-of-Parentheses.md @@ -104,6 +104,6 @@ func scoreOfParentheses(S string) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0862.Shortest-Subarray-with-Sum-at-Least-K.md b/website/content/ChapterFour/0800~0899/0862.Shortest-Subarray-with-Sum-at-Least-K.md index 0bd92651..a1079dfd 100644 --- a/website/content/ChapterFour/0800~0899/0862.Shortest-Subarray-with-Sum-at-Least-K.md +++ b/website/content/ChapterFour/0800~0899/0862.Shortest-Subarray-with-Sum-at-Least-K.md @@ -92,6 +92,6 @@ func shortestSubarray(A []int, K int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0863.All-Nodes-Distance-K-in-Binary-Tree.md b/website/content/ChapterFour/0800~0899/0863.All-Nodes-Distance-K-in-Binary-Tree.md index c212698a..2944f0e1 100644 --- a/website/content/ChapterFour/0800~0899/0863.All-Nodes-Distance-K-in-Binary-Tree.md +++ b/website/content/ChapterFour/0800~0899/0863.All-Nodes-Distance-K-in-Binary-Tree.md @@ -98,6 +98,6 @@ func findChild(root *TreeNode, K int, visit *[]int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0864.Shortest-Path-to-Get-All-Keys.md b/website/content/ChapterFour/0800~0899/0864.Shortest-Path-to-Get-All-Keys.md index b9dcafd7..7c05689b 100755 --- a/website/content/ChapterFour/0800~0899/0864.Shortest-Path-to-Get-All-Keys.md +++ b/website/content/ChapterFour/0800~0899/0864.Shortest-Path-to-Get-All-Keys.md @@ -233,6 +233,6 @@ func isKey(board [][]byte, x, y int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0867.Transpose-Matrix.md b/website/content/ChapterFour/0800~0899/0867.Transpose-Matrix.md index b9a42775..8947ba83 100755 --- a/website/content/ChapterFour/0800~0899/0867.Transpose-Matrix.md +++ b/website/content/ChapterFour/0800~0899/0867.Transpose-Matrix.md @@ -59,6 +59,6 @@ func transpose(A [][]int) [][]int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0872.Leaf-Similar-Trees.md b/website/content/ChapterFour/0800~0899/0872.Leaf-Similar-Trees.md index bce16f6b..ae1cbeb2 100644 --- a/website/content/ChapterFour/0800~0899/0872.Leaf-Similar-Trees.md +++ b/website/content/ChapterFour/0800~0899/0872.Leaf-Similar-Trees.md @@ -64,6 +64,6 @@ func dfsLeaf(root *TreeNode, leaf *[]int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0875.Koko-Eating-Bananas.md b/website/content/ChapterFour/0800~0899/0875.Koko-Eating-Bananas.md index 7da578f7..0eeb2e40 100755 --- a/website/content/ChapterFour/0800~0899/0875.Koko-Eating-Bananas.md +++ b/website/content/ChapterFour/0800~0899/0875.Koko-Eating-Bananas.md @@ -103,6 +103,6 @@ func maxInArr(xs []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0876.Middle-of-the-Linked-List.md b/website/content/ChapterFour/0800~0899/0876.Middle-of-the-Linked-List.md index e4532487..fb584c8d 100644 --- a/website/content/ChapterFour/0800~0899/0876.Middle-of-the-Linked-List.md +++ b/website/content/ChapterFour/0800~0899/0876.Middle-of-the-Linked-List.md @@ -84,6 +84,6 @@ func middleNode(head *ListNode) *ListNode { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0878.Nth-Magical-Number.md b/website/content/ChapterFour/0800~0899/0878.Nth-Magical-Number.md index 7dc186cc..ae40b10b 100755 --- a/website/content/ChapterFour/0800~0899/0878.Nth-Magical-Number.md +++ b/website/content/ChapterFour/0800~0899/0878.Nth-Magical-Number.md @@ -83,6 +83,6 @@ func calNthMagicalCount(num, a, b int64) int64 { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0880.Decoded-String-at-Index.md b/website/content/ChapterFour/0800~0899/0880.Decoded-String-at-Index.md index e1f0e0b1..08ca3315 100644 --- a/website/content/ChapterFour/0800~0899/0880.Decoded-String-at-Index.md +++ b/website/content/ChapterFour/0800~0899/0880.Decoded-String-at-Index.md @@ -106,6 +106,6 @@ func decodeAtIndex(S string, K int) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0881.Boats-to-Save-People.md b/website/content/ChapterFour/0800~0899/0881.Boats-to-Save-People.md index a42fd693..ddc07e9f 100644 --- a/website/content/ChapterFour/0800~0899/0881.Boats-to-Save-People.md +++ b/website/content/ChapterFour/0800~0899/0881.Boats-to-Save-People.md @@ -92,6 +92,6 @@ func numRescueBoats(people []int, limit int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0884.Uncommon-Words-from-Two-Sentences.md b/website/content/ChapterFour/0800~0899/0884.Uncommon-Words-from-Two-Sentences.md index cf2505db..40c26024 100755 --- a/website/content/ChapterFour/0800~0899/0884.Uncommon-Words-from-Two-Sentences.md +++ b/website/content/ChapterFour/0800~0899/0884.Uncommon-Words-from-Two-Sentences.md @@ -68,6 +68,6 @@ func uncommonFromSentences(A string, B string) []string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0885.Spiral-Matrix-III.md b/website/content/ChapterFour/0800~0899/0885.Spiral-Matrix-III.md index 9e57b2b0..48444a0d 100755 --- a/website/content/ChapterFour/0800~0899/0885.Spiral-Matrix-III.md +++ b/website/content/ChapterFour/0800~0899/0885.Spiral-Matrix-III.md @@ -86,6 +86,6 @@ func spiralMatrixIII(R int, C int, r0 int, c0 int) [][]int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0887.Super-Egg-Drop.md b/website/content/ChapterFour/0800~0899/0887.Super-Egg-Drop.md index d7508003..1e167223 100755 --- a/website/content/ChapterFour/0800~0899/0887.Super-Egg-Drop.md +++ b/website/content/ChapterFour/0800~0899/0887.Super-Egg-Drop.md @@ -147,6 +147,6 @@ func superEggDrop1(K int, N int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0888.Fair-Candy-Swap.md b/website/content/ChapterFour/0800~0899/0888.Fair-Candy-Swap.md index 5e805037..4c5a9e21 100644 --- a/website/content/ChapterFour/0800~0899/0888.Fair-Candy-Swap.md +++ b/website/content/ChapterFour/0800~0899/0888.Fair-Candy-Swap.md @@ -112,6 +112,6 @@ func max(a, b int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0891.Sum-of-Subsequence-Widths.md b/website/content/ChapterFour/0800~0899/0891.Sum-of-Subsequence-Widths.md index b8cf2e13..7a75c042 100644 --- a/website/content/ChapterFour/0800~0899/0891.Sum-of-Subsequence-Widths.md +++ b/website/content/ChapterFour/0800~0899/0891.Sum-of-Subsequence-Widths.md @@ -70,6 +70,6 @@ func sumSubseqWidths(A []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0892.Surface-Area-of-3D-Shapes.md b/website/content/ChapterFour/0800~0899/0892.Surface-Area-of-3D-Shapes.md index 0ffd62dc..9fa02621 100644 --- a/website/content/ChapterFour/0800~0899/0892.Surface-Area-of-3D-Shapes.md +++ b/website/content/ChapterFour/0800~0899/0892.Surface-Area-of-3D-Shapes.md @@ -110,6 +110,6 @@ func min(a, b int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0895.Maximum-Frequency-Stack.md b/website/content/ChapterFour/0800~0899/0895.Maximum-Frequency-Stack.md index 776d3184..06911750 100644 --- a/website/content/ChapterFour/0800~0899/0895.Maximum-Frequency-Stack.md +++ b/website/content/ChapterFour/0800~0899/0895.Maximum-Frequency-Stack.md @@ -115,6 +115,6 @@ func (this *FreqStack) Pop() int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0896.Monotonic-Array.md b/website/content/ChapterFour/0800~0899/0896.Monotonic-Array.md index 56eddaa0..93101750 100644 --- a/website/content/ChapterFour/0800~0899/0896.Monotonic-Array.md +++ b/website/content/ChapterFour/0800~0899/0896.Monotonic-Array.md @@ -101,6 +101,6 @@ func dec(A []int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0897.Increasing-Order-Search-Tree.md b/website/content/ChapterFour/0800~0899/0897.Increasing-Order-Search-Tree.md index f0639a17..cfac7507 100755 --- a/website/content/ChapterFour/0800~0899/0897.Increasing-Order-Search-Tree.md +++ b/website/content/ChapterFour/0800~0899/0897.Increasing-Order-Search-Tree.md @@ -125,6 +125,6 @@ func inorder(root *TreeNode, output *[]int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0800~0899/0898.Bitwise-ORs-of-Subarrays.md b/website/content/ChapterFour/0800~0899/0898.Bitwise-ORs-of-Subarrays.md index c17418d4..bf494c57 100755 --- a/website/content/ChapterFour/0800~0899/0898.Bitwise-ORs-of-Subarrays.md +++ b/website/content/ChapterFour/0800~0899/0898.Bitwise-ORs-of-Subarrays.md @@ -145,6 +145,6 @@ func subarrayBitwiseORs1(A []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0901.Online-Stock-Span.md b/website/content/ChapterFour/0900~0999/0901.Online-Stock-Span.md index b85244d1..b9d82c95 100644 --- a/website/content/ChapterFour/0900~0999/0901.Online-Stock-Span.md +++ b/website/content/ChapterFour/0900~0999/0901.Online-Stock-Span.md @@ -113,6 +113,6 @@ func (this *StockSpanner) Next(price int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0904.Fruit-Into-Baskets.md b/website/content/ChapterFour/0900~0999/0904.Fruit-Into-Baskets.md index 95079e7f..7f155d1b 100644 --- a/website/content/ChapterFour/0900~0999/0904.Fruit-Into-Baskets.md +++ b/website/content/ChapterFour/0900~0999/0904.Fruit-Into-Baskets.md @@ -117,6 +117,6 @@ func totalFruit(tree []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0907.Sum-of-Subarray-Minimums.md b/website/content/ChapterFour/0900~0999/0907.Sum-of-Subarray-Minimums.md index 21544292..abf0341b 100644 --- a/website/content/ChapterFour/0900~0999/0907.Sum-of-Subarray-Minimums.md +++ b/website/content/ChapterFour/0900~0999/0907.Sum-of-Subarray-Minimums.md @@ -126,6 +126,6 @@ func sumSubarrayMins2(A []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0910.Smallest-Range-II.md b/website/content/ChapterFour/0900~0999/0910.Smallest-Range-II.md index 82794f39..69ca991f 100644 --- a/website/content/ChapterFour/0900~0999/0910.Smallest-Range-II.md +++ b/website/content/ChapterFour/0900~0999/0910.Smallest-Range-II.md @@ -84,6 +84,6 @@ func min(a, b int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0911.Online-Election.md b/website/content/ChapterFour/0900~0999/0911.Online-Election.md index eedcb5c8..a00cd736 100755 --- a/website/content/ChapterFour/0900~0999/0911.Online-Election.md +++ b/website/content/ChapterFour/0900~0999/0911.Online-Election.md @@ -101,6 +101,6 @@ func (tvc *TopVotedCandidate) Q(t int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0914.X-of-a-Kind-in-a-Deck-of-Cards.md b/website/content/ChapterFour/0900~0999/0914.X-of-a-Kind-in-a-Deck-of-Cards.md index 8c1ad0f3..dbba1a2c 100644 --- a/website/content/ChapterFour/0900~0999/0914.X-of-a-Kind-in-a-Deck-of-Cards.md +++ b/website/content/ChapterFour/0900~0999/0914.X-of-a-Kind-in-a-Deck-of-Cards.md @@ -107,6 +107,6 @@ func gcd(a, b int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0918.Maximum-Sum-Circular-Subarray.md b/website/content/ChapterFour/0900~0999/0918.Maximum-Sum-Circular-Subarray.md index 6f2526d7..94930041 100755 --- a/website/content/ChapterFour/0900~0999/0918.Maximum-Sum-Circular-Subarray.md +++ b/website/content/ChapterFour/0900~0999/0918.Maximum-Sum-Circular-Subarray.md @@ -103,6 +103,6 @@ func kadane(a []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0920.Number-of-Music-Playlists.md b/website/content/ChapterFour/0900~0999/0920.Number-of-Music-Playlists.md index cd023864..27e21445 100755 --- a/website/content/ChapterFour/0900~0999/0920.Number-of-Music-Playlists.md +++ b/website/content/ChapterFour/0900~0999/0920.Number-of-Music-Playlists.md @@ -87,6 +87,6 @@ func numMusicPlaylists(N int, L int, K int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0921.Minimum-Add-to-Make-Parentheses-Valid.md b/website/content/ChapterFour/0900~0999/0921.Minimum-Add-to-Make-Parentheses-Valid.md index d634ca3d..f11d433e 100644 --- a/website/content/ChapterFour/0900~0999/0921.Minimum-Add-to-Make-Parentheses-Valid.md +++ b/website/content/ChapterFour/0900~0999/0921.Minimum-Add-to-Make-Parentheses-Valid.md @@ -90,6 +90,6 @@ func minAddToMakeValid(S string) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0922.Sort-Array-By-Parity-II.md b/website/content/ChapterFour/0900~0999/0922.Sort-Array-By-Parity-II.md index 1b315cbb..c89384dd 100644 --- a/website/content/ChapterFour/0900~0999/0922.Sort-Array-By-Parity-II.md +++ b/website/content/ChapterFour/0900~0999/0922.Sort-Array-By-Parity-II.md @@ -63,6 +63,6 @@ func sortArrayByParityII(A []int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0923.3Sum-With-Multiplicity.md b/website/content/ChapterFour/0900~0999/0923.3Sum-With-Multiplicity.md index b10b767f..6cacce75 100644 --- a/website/content/ChapterFour/0900~0999/0923.3Sum-With-Multiplicity.md +++ b/website/content/ChapterFour/0900~0999/0923.3Sum-With-Multiplicity.md @@ -104,6 +104,6 @@ func threeSumMulti(A []int, target int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0924.Minimize-Malware-Spread.md b/website/content/ChapterFour/0900~0999/0924.Minimize-Malware-Spread.md index 3b4fb596..ad9b7f5f 100755 --- a/website/content/ChapterFour/0900~0999/0924.Minimize-Malware-Spread.md +++ b/website/content/ChapterFour/0900~0999/0924.Minimize-Malware-Spread.md @@ -107,6 +107,6 @@ func minMalwareSpread(graph [][]int, initial []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0925.Long-Pressed-Name.md b/website/content/ChapterFour/0900~0999/0925.Long-Pressed-Name.md index 4025899b..1634e060 100644 --- a/website/content/ChapterFour/0900~0999/0925.Long-Pressed-Name.md +++ b/website/content/ChapterFour/0900~0999/0925.Long-Pressed-Name.md @@ -109,6 +109,6 @@ func isLongPressedName(name string, typed string) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0927.Three-Equal-Parts.md b/website/content/ChapterFour/0900~0999/0927.Three-Equal-Parts.md index d0f0979e..9cdabc5d 100755 --- a/website/content/ChapterFour/0900~0999/0927.Three-Equal-Parts.md +++ b/website/content/ChapterFour/0900~0999/0927.Three-Equal-Parts.md @@ -115,6 +115,6 @@ func threeEqualParts(A []int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0928.Minimize-Malware-Spread-II.md b/website/content/ChapterFour/0900~0999/0928.Minimize-Malware-Spread-II.md index 22e9f45e..16819d5e 100755 --- a/website/content/ChapterFour/0900~0999/0928.Minimize-Malware-Spread-II.md +++ b/website/content/ChapterFour/0900~0999/0928.Minimize-Malware-Spread-II.md @@ -139,6 +139,6 @@ func minMalwareSpread2(graph [][]int, initial []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0930.Binary-Subarrays-With-Sum.md b/website/content/ChapterFour/0900~0999/0930.Binary-Subarrays-With-Sum.md index 265f9b31..b79ee160 100644 --- a/website/content/ChapterFour/0900~0999/0930.Binary-Subarrays-With-Sum.md +++ b/website/content/ChapterFour/0900~0999/0930.Binary-Subarrays-With-Sum.md @@ -67,6 +67,6 @@ func numSubarraysWithSum(A []int, S int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0933.Number-of-Recent-Calls.md b/website/content/ChapterFour/0900~0999/0933.Number-of-Recent-Calls.md index 44cf1056..5067df81 100644 --- a/website/content/ChapterFour/0900~0999/0933.Number-of-Recent-Calls.md +++ b/website/content/ChapterFour/0900~0999/0933.Number-of-Recent-Calls.md @@ -76,6 +76,6 @@ func (this *RecentCounter) Ping(t int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0942.DI-String-Match.md b/website/content/ChapterFour/0900~0999/0942.DI-String-Match.md index 7254de73..ae0835b0 100755 --- a/website/content/ChapterFour/0900~0999/0942.DI-String-Match.md +++ b/website/content/ChapterFour/0900~0999/0942.DI-String-Match.md @@ -75,6 +75,6 @@ func diStringMatch(S string) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0946.Validate-Stack-Sequences.md b/website/content/ChapterFour/0900~0999/0946.Validate-Stack-Sequences.md index 7794c71b..6b316fd5 100644 --- a/website/content/ChapterFour/0900~0999/0946.Validate-Stack-Sequences.md +++ b/website/content/ChapterFour/0900~0999/0946.Validate-Stack-Sequences.md @@ -70,6 +70,6 @@ func validateStackSequences(pushed []int, popped []int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0947.Most-Stones-Removed-with-Same-Row-or-Column.md b/website/content/ChapterFour/0900~0999/0947.Most-Stones-Removed-with-Same-Row-or-Column.md index b976171e..215f957e 100755 --- a/website/content/ChapterFour/0900~0999/0947.Most-Stones-Removed-with-Same-Row-or-Column.md +++ b/website/content/ChapterFour/0900~0999/0947.Most-Stones-Removed-with-Same-Row-or-Column.md @@ -84,6 +84,6 @@ func removeStones(stones [][]int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0949.Largest-Time-for-Given-Digits.md b/website/content/ChapterFour/0900~0999/0949.Largest-Time-for-Given-Digits.md index 6ec4fffa..4dee6fdb 100644 --- a/website/content/ChapterFour/0900~0999/0949.Largest-Time-for-Given-Digits.md +++ b/website/content/ChapterFour/0900~0999/0949.Largest-Time-for-Given-Digits.md @@ -80,6 +80,6 @@ func largestTimeFromDigits(A []int) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0952.Largest-Component-Size-by-Common-Factor.md b/website/content/ChapterFour/0900~0999/0952.Largest-Component-Size-by-Common-Factor.md index 85c83482..48a6fda3 100755 --- a/website/content/ChapterFour/0900~0999/0952.Largest-Component-Size-by-Common-Factor.md +++ b/website/content/ChapterFour/0900~0999/0952.Largest-Component-Size-by-Common-Factor.md @@ -121,6 +121,6 @@ func largestComponentSize1(A []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0953.Verifying-an-Alien-Dictionary.md b/website/content/ChapterFour/0900~0999/0953.Verifying-an-Alien-Dictionary.md index dfdde219..5d922cba 100755 --- a/website/content/ChapterFour/0900~0999/0953.Verifying-an-Alien-Dictionary.md +++ b/website/content/ChapterFour/0900~0999/0953.Verifying-an-Alien-Dictionary.md @@ -83,6 +83,6 @@ func isAlienSorted(words []string, order string) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0959.Regions-Cut-By-Slashes.md b/website/content/ChapterFour/0900~0999/0959.Regions-Cut-By-Slashes.md index d9f8eed2..5b6f1314 100755 --- a/website/content/ChapterFour/0900~0999/0959.Regions-Cut-By-Slashes.md +++ b/website/content/ChapterFour/0900~0999/0959.Regions-Cut-By-Slashes.md @@ -152,6 +152,6 @@ func getFaceIdx(size, i, j, k int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0961.N-Repeated-Element-in-Size-2N-Array.md b/website/content/ChapterFour/0900~0999/0961.N-Repeated-Element-in-Size-2N-Array.md index 5fe35e97..dcadf139 100755 --- a/website/content/ChapterFour/0900~0999/0961.N-Repeated-Element-in-Size-2N-Array.md +++ b/website/content/ChapterFour/0900~0999/0961.N-Repeated-Element-in-Size-2N-Array.md @@ -62,6 +62,6 @@ func repeatedNTimes(A []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0968.Binary-Tree-Cameras.md b/website/content/ChapterFour/0900~0999/0968.Binary-Tree-Cameras.md index d11dbab5..668b10a5 100755 --- a/website/content/ChapterFour/0900~0999/0968.Binary-Tree-Cameras.md +++ b/website/content/ChapterFour/0900~0999/0968.Binary-Tree-Cameras.md @@ -105,6 +105,6 @@ func minCameraCoverDFS(root *TreeNode, res *int) status { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0969.Pancake-Sorting.md b/website/content/ChapterFour/0900~0999/0969.Pancake-Sorting.md index 6755f805..29ed06f4 100644 --- a/website/content/ChapterFour/0900~0999/0969.Pancake-Sorting.md +++ b/website/content/ChapterFour/0900~0999/0969.Pancake-Sorting.md @@ -98,6 +98,6 @@ func find(nums []int, t int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0970.Powerful-Integers.md b/website/content/ChapterFour/0900~0999/0970.Powerful-Integers.md index 95a7db75..9de26c3d 100755 --- a/website/content/ChapterFour/0900~0999/0970.Powerful-Integers.md +++ b/website/content/ChapterFour/0900~0999/0970.Powerful-Integers.md @@ -90,6 +90,6 @@ func pow(x, i int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0973.K-Closest-Points-to-Origin.md b/website/content/ChapterFour/0900~0999/0973.K-Closest-Points-to-Origin.md index 77984f7e..ead750c1 100644 --- a/website/content/ChapterFour/0900~0999/0973.K-Closest-Points-to-Origin.md +++ b/website/content/ChapterFour/0900~0999/0973.K-Closest-Points-to-Origin.md @@ -73,6 +73,6 @@ func KClosest(points [][]int, K int) [][]int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0976.Largest-Perimeter-Triangle.md b/website/content/ChapterFour/0900~0999/0976.Largest-Perimeter-Triangle.md index 078db7d9..02ade12a 100644 --- a/website/content/ChapterFour/0900~0999/0976.Largest-Perimeter-Triangle.md +++ b/website/content/ChapterFour/0900~0999/0976.Largest-Perimeter-Triangle.md @@ -80,6 +80,6 @@ func largestPerimeter(A []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0977.Squares-of-a-Sorted-Array.md b/website/content/ChapterFour/0900~0999/0977.Squares-of-a-Sorted-Array.md index d02cfd81..3b279c16 100644 --- a/website/content/ChapterFour/0900~0999/0977.Squares-of-a-Sorted-Array.md +++ b/website/content/ChapterFour/0900~0999/0977.Squares-of-a-Sorted-Array.md @@ -88,6 +88,6 @@ func sortedSquares1(A []int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0978.Longest-Turbulent-Subarray.md b/website/content/ChapterFour/0900~0999/0978.Longest-Turbulent-Subarray.md index 62ece5f2..bb760b0c 100755 --- a/website/content/ChapterFour/0900~0999/0978.Longest-Turbulent-Subarray.md +++ b/website/content/ChapterFour/0900~0999/0978.Longest-Turbulent-Subarray.md @@ -111,6 +111,6 @@ func maxTurbulenceSize1(A []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0979.Distribute-Coins-in-Binary-Tree.md b/website/content/ChapterFour/0900~0999/0979.Distribute-Coins-in-Binary-Tree.md index 93872dbb..c76f6808 100755 --- a/website/content/ChapterFour/0900~0999/0979.Distribute-Coins-in-Binary-Tree.md +++ b/website/content/ChapterFour/0900~0999/0979.Distribute-Coins-in-Binary-Tree.md @@ -98,6 +98,6 @@ func distributeCoinsDFS(root *TreeNode, res *int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0980.Unique-Paths-III.md b/website/content/ChapterFour/0900~0999/0980.Unique-Paths-III.md index 908e25c8..cd74994f 100755 --- a/website/content/ChapterFour/0900~0999/0980.Unique-Paths-III.md +++ b/website/content/ChapterFour/0900~0999/0980.Unique-Paths-III.md @@ -133,6 +133,6 @@ func findUniquePathIII(board [][]int, visited [][]bool, path []int, empty, start ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0981.Time-Based-Key-Value-Store.md b/website/content/ChapterFour/0900~0999/0981.Time-Based-Key-Value-Store.md index 4b5c51ff..4ef63e1d 100755 --- a/website/content/ChapterFour/0900~0999/0981.Time-Based-Key-Value-Store.md +++ b/website/content/ChapterFour/0900~0999/0981.Time-Based-Key-Value-Store.md @@ -126,6 +126,6 @@ func (t TimeMap) Get(key string, timestamp int) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0984.String-Without-AAA-or-BBB.md b/website/content/ChapterFour/0900~0999/0984.String-Without-AAA-or-BBB.md index f8f8a7fb..df90e6f0 100755 --- a/website/content/ChapterFour/0900~0999/0984.String-Without-AAA-or-BBB.md +++ b/website/content/ChapterFour/0900~0999/0984.String-Without-AAA-or-BBB.md @@ -95,6 +95,6 @@ func strWithout3a3b(A int, B int) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0985.Sum-of-Even-Numbers-After-Queries.md b/website/content/ChapterFour/0900~0999/0985.Sum-of-Even-Numbers-After-Queries.md index 53918c0e..07f6c748 100644 --- a/website/content/ChapterFour/0900~0999/0985.Sum-of-Even-Numbers-After-Queries.md +++ b/website/content/ChapterFour/0900~0999/0985.Sum-of-Even-Numbers-After-Queries.md @@ -74,6 +74,6 @@ func sumEvenAfterQueries(A []int, queries [][]int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0986.Interval-List-Intersections.md b/website/content/ChapterFour/0900~0999/0986.Interval-List-Intersections.md index a33b523e..78aaafa3 100644 --- a/website/content/ChapterFour/0900~0999/0986.Interval-List-Intersections.md +++ b/website/content/ChapterFour/0900~0999/0986.Interval-List-Intersections.md @@ -75,6 +75,6 @@ func intervalIntersection(A []Interval, B []Interval) []Interval { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0989.Add-to-Array-Form-of-Integer.md b/website/content/ChapterFour/0900~0999/0989.Add-to-Array-Form-of-Integer.md index 6628d58c..0d3600b3 100644 --- a/website/content/ChapterFour/0900~0999/0989.Add-to-Array-Form-of-Integer.md +++ b/website/content/ChapterFour/0900~0999/0989.Add-to-Array-Form-of-Integer.md @@ -86,6 +86,6 @@ func reverse(A []int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0990.Satisfiability-of-Equality-Equations.md b/website/content/ChapterFour/0900~0999/0990.Satisfiability-of-Equality-Equations.md index cc6c08ee..7d2b3a22 100755 --- a/website/content/ChapterFour/0900~0999/0990.Satisfiability-of-Equality-Equations.md +++ b/website/content/ChapterFour/0900~0999/0990.Satisfiability-of-Equality-Equations.md @@ -101,6 +101,6 @@ func equationsPossible(equations []string) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0992.Subarrays-with-K-Different-Integers.md b/website/content/ChapterFour/0900~0999/0992.Subarrays-with-K-Different-Integers.md index 642f19c2..4d6ad940 100644 --- a/website/content/ChapterFour/0900~0999/0992.Subarrays-with-K-Different-Integers.md +++ b/website/content/ChapterFour/0900~0999/0992.Subarrays-with-K-Different-Integers.md @@ -115,6 +115,6 @@ func subarraysWithKDistinctSlideWindow(A []int, K int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0993.Cousins-in-Binary-Tree.md b/website/content/ChapterFour/0900~0999/0993.Cousins-in-Binary-Tree.md index 4579f7bd..8a75f3e2 100755 --- a/website/content/ChapterFour/0900~0999/0993.Cousins-in-Binary-Tree.md +++ b/website/content/ChapterFour/0900~0999/0993.Cousins-in-Binary-Tree.md @@ -165,6 +165,6 @@ func dfsCousins(root *TreeNode, val, depth, last int, parent, res *int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0995.Minimum-Number-of-K-Consecutive-Bit-Flips.md b/website/content/ChapterFour/0900~0999/0995.Minimum-Number-of-K-Consecutive-Bit-Flips.md index 3227e1d8..31066661 100755 --- a/website/content/ChapterFour/0900~0999/0995.Minimum-Number-of-K-Consecutive-Bit-Flips.md +++ b/website/content/ChapterFour/0900~0999/0995.Minimum-Number-of-K-Consecutive-Bit-Flips.md @@ -99,6 +99,6 @@ func minKBitFlips(A []int, K int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0996.Number-of-Squareful-Arrays.md b/website/content/ChapterFour/0900~0999/0996.Number-of-Squareful-Arrays.md index 270b4cb0..a003aafa 100755 --- a/website/content/ChapterFour/0900~0999/0996.Number-of-Squareful-Arrays.md +++ b/website/content/ChapterFour/0900~0999/0996.Number-of-Squareful-Arrays.md @@ -109,6 +109,6 @@ func checkSquare(num int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/0900~0999/0999.Available-Captures-for-Rook.md b/website/content/ChapterFour/0900~0999/0999.Available-Captures-for-Rook.md index 7253b6c1..1831514c 100644 --- a/website/content/ChapterFour/0900~0999/0999.Available-Captures-for-Rook.md +++ b/website/content/ChapterFour/0900~0999/0999.Available-Captures-for-Rook.md @@ -101,6 +101,6 @@ func caputure(board [][]byte, x, y int, bx, by int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1000~1099/1002.Find-Common-Characters.md b/website/content/ChapterFour/1000~1099/1002.Find-Common-Characters.md index 93b72aa6..2e1f62b4 100755 --- a/website/content/ChapterFour/1000~1099/1002.Find-Common-Characters.md +++ b/website/content/ChapterFour/1000~1099/1002.Find-Common-Characters.md @@ -76,6 +76,6 @@ func commonChars(A []string) []string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1000~1099/1003.Check-If-Word-Is-Valid-After-Substitutions.md b/website/content/ChapterFour/1000~1099/1003.Check-If-Word-Is-Valid-After-Substitutions.md index 2c4ec6b3..69a4c678 100644 --- a/website/content/ChapterFour/1000~1099/1003.Check-If-Word-Is-Valid-After-Substitutions.md +++ b/website/content/ChapterFour/1000~1099/1003.Check-If-Word-Is-Valid-After-Substitutions.md @@ -109,6 +109,6 @@ func isValid1003(S string) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1000~1099/1004.Max-Consecutive-Ones-III.md b/website/content/ChapterFour/1000~1099/1004.Max-Consecutive-Ones-III.md index 54a10366..c7c40384 100644 --- a/website/content/ChapterFour/1000~1099/1004.Max-Consecutive-Ones-III.md +++ b/website/content/ChapterFour/1000~1099/1004.Max-Consecutive-Ones-III.md @@ -82,6 +82,6 @@ func longestOnes(A []int, K int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1000~1099/1005.Maximize-Sum-Of-Array-After-K-Negations.md b/website/content/ChapterFour/1000~1099/1005.Maximize-Sum-Of-Array-After-K-Negations.md index cfa94c28..6b0cc810 100644 --- a/website/content/ChapterFour/1000~1099/1005.Maximize-Sum-Of-Array-After-K-Negations.md +++ b/website/content/ChapterFour/1000~1099/1005.Maximize-Sum-Of-Array-After-K-Negations.md @@ -85,6 +85,6 @@ func largestSumAfterKNegations(A []int, K int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1000~1099/1011.Capacity-To-Ship-Packages-Within-D-Days.md b/website/content/ChapterFour/1000~1099/1011.Capacity-To-Ship-Packages-Within-D-Days.md index 5db2dec8..c07d5ecb 100755 --- a/website/content/ChapterFour/1000~1099/1011.Capacity-To-Ship-Packages-Within-D-Days.md +++ b/website/content/ChapterFour/1000~1099/1011.Capacity-To-Ship-Packages-Within-D-Days.md @@ -103,6 +103,6 @@ func shipWithinDays(weights []int, D int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1000~1099/1017.Convert-to-Base--2.md b/website/content/ChapterFour/1000~1099/1017.Convert-to-Base--2.md index 26516464..d6aaa9ad 100755 --- a/website/content/ChapterFour/1000~1099/1017.Convert-to-Base--2.md +++ b/website/content/ChapterFour/1000~1099/1017.Convert-to-Base--2.md @@ -77,6 +77,6 @@ func baseNeg2(N int) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1000~1099/1018.Binary-Prefix-Divisible-By-5.md b/website/content/ChapterFour/1000~1099/1018.Binary-Prefix-Divisible-By-5.md index 98109b82..ea3b7f5a 100644 --- a/website/content/ChapterFour/1000~1099/1018.Binary-Prefix-Divisible-By-5.md +++ b/website/content/ChapterFour/1000~1099/1018.Binary-Prefix-Divisible-By-5.md @@ -72,6 +72,6 @@ func prefixesDivBy5(a []int) []bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1000~1099/1019.Next-Greater-Node-In-Linked-List.md b/website/content/ChapterFour/1000~1099/1019.Next-Greater-Node-In-Linked-List.md index 82843023..d54c4e03 100644 --- a/website/content/ChapterFour/1000~1099/1019.Next-Greater-Node-In-Linked-List.md +++ b/website/content/ChapterFour/1000~1099/1019.Next-Greater-Node-In-Linked-List.md @@ -98,6 +98,6 @@ func nextLargerNodes(head *ListNode) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1000~1099/1020.Number-of-Enclaves.md b/website/content/ChapterFour/1000~1099/1020.Number-of-Enclaves.md index b125cd5d..85dcb5ff 100644 --- a/website/content/ChapterFour/1000~1099/1020.Number-of-Enclaves.md +++ b/website/content/ChapterFour/1000~1099/1020.Number-of-Enclaves.md @@ -95,6 +95,6 @@ func dfsNumEnclaves(A [][]int, x, y int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1000~1099/1021.Remove-Outermost-Parentheses.md b/website/content/ChapterFour/1000~1099/1021.Remove-Outermost-Parentheses.md index 3bc01ab3..d6ffcbd0 100644 --- a/website/content/ChapterFour/1000~1099/1021.Remove-Outermost-Parentheses.md +++ b/website/content/ChapterFour/1000~1099/1021.Remove-Outermost-Parentheses.md @@ -125,6 +125,6 @@ func removeOuterParentheses1(S string) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1000~1099/1025.Divisor-Game.md b/website/content/ChapterFour/1000~1099/1025.Divisor-Game.md index 34dcdfe2..2183178d 100755 --- a/website/content/ChapterFour/1000~1099/1025.Divisor-Game.md +++ b/website/content/ChapterFour/1000~1099/1025.Divisor-Game.md @@ -64,6 +64,6 @@ func divisorGame(N int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1000~1099/1026.Maximum-Difference-Between-Node-and-Ancestor.md b/website/content/ChapterFour/1000~1099/1026.Maximum-Difference-Between-Node-and-Ancestor.md index 6d75cc21..325536b0 100644 --- a/website/content/ChapterFour/1000~1099/1026.Maximum-Difference-Between-Node-and-Ancestor.md +++ b/website/content/ChapterFour/1000~1099/1026.Maximum-Difference-Between-Node-and-Ancestor.md @@ -76,6 +76,6 @@ func dfsAncestorDiff(root *TreeNode, res *int) (int, int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1000~1099/1028.Recover-a-Tree-From-Preorder-Traversal.md b/website/content/ChapterFour/1000~1099/1028.Recover-a-Tree-From-Preorder-Traversal.md index 01210afb..a7195a54 100755 --- a/website/content/ChapterFour/1000~1099/1028.Recover-a-Tree-From-Preorder-Traversal.md +++ b/website/content/ChapterFour/1000~1099/1028.Recover-a-Tree-From-Preorder-Traversal.md @@ -137,6 +137,6 @@ func dfsBuildPreorderTree(S string, index, level *int, cur *TreeNode) (newIndex ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1000~1099/1030.Matrix-Cells-in-Distance-Order.md b/website/content/ChapterFour/1000~1099/1030.Matrix-Cells-in-Distance-Order.md index 62a940fb..f71f5f8a 100755 --- a/website/content/ChapterFour/1000~1099/1030.Matrix-Cells-in-Distance-Order.md +++ b/website/content/ChapterFour/1000~1099/1030.Matrix-Cells-in-Distance-Order.md @@ -86,6 +86,6 @@ func allCellsDistOrder(R int, C int, r0 int, c0 int) [][]int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1000~1099/1037.Valid-Boomerang.md b/website/content/ChapterFour/1000~1099/1037.Valid-Boomerang.md index 3dc1b94c..7eaf0b08 100644 --- a/website/content/ChapterFour/1000~1099/1037.Valid-Boomerang.md +++ b/website/content/ChapterFour/1000~1099/1037.Valid-Boomerang.md @@ -51,6 +51,6 @@ func isBoomerang(points [][]int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1000~1099/1040.Moving-Stones-Until-Consecutive-II.md b/website/content/ChapterFour/1000~1099/1040.Moving-Stones-Until-Consecutive-II.md index d611c135..7234a7d0 100755 --- a/website/content/ChapterFour/1000~1099/1040.Moving-Stones-Until-Consecutive-II.md +++ b/website/content/ChapterFour/1000~1099/1040.Moving-Stones-Until-Consecutive-II.md @@ -123,6 +123,6 @@ func numMovesStonesII(stones []int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1000~1099/1047.Remove-All-Adjacent-Duplicates-In-String.md b/website/content/ChapterFour/1000~1099/1047.Remove-All-Adjacent-Duplicates-In-String.md index 1fd0cb3a..22e3764f 100644 --- a/website/content/ChapterFour/1000~1099/1047.Remove-All-Adjacent-Duplicates-In-String.md +++ b/website/content/ChapterFour/1000~1099/1047.Remove-All-Adjacent-Duplicates-In-String.md @@ -59,6 +59,6 @@ func removeDuplicates1047(S string) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1000~1099/1049.Last-Stone-Weight-II.md b/website/content/ChapterFour/1000~1099/1049.Last-Stone-Weight-II.md index 035a6afc..5cb48f00 100755 --- a/website/content/ChapterFour/1000~1099/1049.Last-Stone-Weight-II.md +++ b/website/content/ChapterFour/1000~1099/1049.Last-Stone-Weight-II.md @@ -81,6 +81,6 @@ func lastStoneWeightII(stones []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1000~1099/1051.Height-Checker.md b/website/content/ChapterFour/1000~1099/1051.Height-Checker.md index 6fecbda0..cb5879d4 100644 --- a/website/content/ChapterFour/1000~1099/1051.Height-Checker.md +++ b/website/content/ChapterFour/1000~1099/1051.Height-Checker.md @@ -74,6 +74,6 @@ func heightChecker(heights []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1000~1099/1052.Grumpy-Bookstore-Owner.md b/website/content/ChapterFour/1000~1099/1052.Grumpy-Bookstore-Owner.md index 40805ff8..4e48b5af 100755 --- a/website/content/ChapterFour/1000~1099/1052.Grumpy-Bookstore-Owner.md +++ b/website/content/ChapterFour/1000~1099/1052.Grumpy-Bookstore-Owner.md @@ -108,6 +108,6 @@ func sumSatisfied(customers []int, grumpy []int, start, end int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1000~1099/1054.Distant-Barcodes.md b/website/content/ChapterFour/1000~1099/1054.Distant-Barcodes.md index e9322c19..ea71fd10 100755 --- a/website/content/ChapterFour/1000~1099/1054.Distant-Barcodes.md +++ b/website/content/ChapterFour/1000~1099/1054.Distant-Barcodes.md @@ -94,6 +94,6 @@ func barcodesFrequencySort(s []int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1000~1099/1073.Adding-Two-Negabinary-Numbers.md b/website/content/ChapterFour/1000~1099/1073.Adding-Two-Negabinary-Numbers.md index dbbdc84a..ef540b11 100755 --- a/website/content/ChapterFour/1000~1099/1073.Adding-Two-Negabinary-Numbers.md +++ b/website/content/ChapterFour/1000~1099/1073.Adding-Two-Negabinary-Numbers.md @@ -148,6 +148,6 @@ func intToNegabinary(num int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1000~1099/1074.Number-of-Submatrices-That-Sum-to-Target.md b/website/content/ChapterFour/1000~1099/1074.Number-of-Submatrices-That-Sum-to-Target.md index 796e1700..4318fa89 100755 --- a/website/content/ChapterFour/1000~1099/1074.Number-of-Submatrices-That-Sum-to-Target.md +++ b/website/content/ChapterFour/1000~1099/1074.Number-of-Submatrices-That-Sum-to-Target.md @@ -146,6 +146,6 @@ func sumSubmatrix(matrix [][]int, startx, starty, endx, endy int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1000~1099/1078.Occurrences-After-Bigram.md b/website/content/ChapterFour/1000~1099/1078.Occurrences-After-Bigram.md index 37333250..877eeff7 100755 --- a/website/content/ChapterFour/1000~1099/1078.Occurrences-After-Bigram.md +++ b/website/content/ChapterFour/1000~1099/1078.Occurrences-After-Bigram.md @@ -66,6 +66,6 @@ func findOcurrences(text string, first string, second string) []string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1000~1099/1079.Letter-Tile-Possibilities.md b/website/content/ChapterFour/1000~1099/1079.Letter-Tile-Possibilities.md index 2dc6dd6a..1227f74c 100755 --- a/website/content/ChapterFour/1000~1099/1079.Letter-Tile-Possibilities.md +++ b/website/content/ChapterFour/1000~1099/1079.Letter-Tile-Possibilities.md @@ -109,6 +109,6 @@ func findTile(tiles, tmp []byte, used *[]bool, index int, res *int, tMap map[str ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1000~1099/1089.Duplicate-Zeros.md b/website/content/ChapterFour/1000~1099/1089.Duplicate-Zeros.md index a124e966..f59028dc 100644 --- a/website/content/ChapterFour/1000~1099/1089.Duplicate-Zeros.md +++ b/website/content/ChapterFour/1000~1099/1089.Duplicate-Zeros.md @@ -60,6 +60,6 @@ func duplicateZeros(arr []int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1000~1099/1093.Statistics-from-a-Large-Sample.md b/website/content/ChapterFour/1000~1099/1093.Statistics-from-a-Large-Sample.md index 863f1f81..dcc4dd1b 100755 --- a/website/content/ChapterFour/1000~1099/1093.Statistics-from-a-Large-Sample.md +++ b/website/content/ChapterFour/1000~1099/1093.Statistics-from-a-Large-Sample.md @@ -97,6 +97,6 @@ func sampleStats(count []int) []float64 { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1100~1199/1105.Filling-Bookcase-Shelves.md b/website/content/ChapterFour/1100~1199/1105.Filling-Bookcase-Shelves.md index e2c256c7..f7a5f422 100755 --- a/website/content/ChapterFour/1100~1199/1105.Filling-Bookcase-Shelves.md +++ b/website/content/ChapterFour/1100~1199/1105.Filling-Bookcase-Shelves.md @@ -70,6 +70,6 @@ func minHeightShelves(books [][]int, shelfWidth int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1100~1199/1108.Defanging-an-IP-Address.md b/website/content/ChapterFour/1100~1199/1108.Defanging-an-IP-Address.md index f745e3bd..90724672 100755 --- a/website/content/ChapterFour/1100~1199/1108.Defanging-an-IP-Address.md +++ b/website/content/ChapterFour/1100~1199/1108.Defanging-an-IP-Address.md @@ -56,6 +56,6 @@ func defangIPaddr(address string) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1100~1199/1110.Delete-Nodes-And-Return-Forest.md b/website/content/ChapterFour/1100~1199/1110.Delete-Nodes-And-Return-Forest.md index 971b3e1b..7b317cc4 100644 --- a/website/content/ChapterFour/1100~1199/1110.Delete-Nodes-And-Return-Forest.md +++ b/website/content/ChapterFour/1100~1199/1110.Delete-Nodes-And-Return-Forest.md @@ -84,6 +84,6 @@ func dfsDelNodes(root *TreeNode, toDel map[int]bool, isRoot bool, res *[]*TreeNo ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1100~1199/1111.Maximum-Nesting-Depth-of-Two-Valid-Parentheses-Strings.md b/website/content/ChapterFour/1100~1199/1111.Maximum-Nesting-Depth-of-Two-Valid-Parentheses-Strings.md index bc6d761b..4289e982 100755 --- a/website/content/ChapterFour/1100~1199/1111.Maximum-Nesting-Depth-of-Two-Valid-Parentheses-Strings.md +++ b/website/content/ChapterFour/1100~1199/1111.Maximum-Nesting-Depth-of-Two-Valid-Parentheses-Strings.md @@ -134,6 +134,6 @@ func maxDepthAfterSplit1(seq string) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1100~1199/1122.Relative-Sort-Array.md b/website/content/ChapterFour/1100~1199/1122.Relative-Sort-Array.md index 3ce06048..c36c2f10 100755 --- a/website/content/ChapterFour/1100~1199/1122.Relative-Sort-Array.md +++ b/website/content/ChapterFour/1100~1199/1122.Relative-Sort-Array.md @@ -103,6 +103,6 @@ func relativeSortArray1(arr1 []int, arr2 []int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1100~1199/1123.Lowest-Common-Ancestor-of-Deepest-Leaves.md b/website/content/ChapterFour/1100~1199/1123.Lowest-Common-Ancestor-of-Deepest-Leaves.md index f3fb3dee..af07abca 100755 --- a/website/content/ChapterFour/1100~1199/1123.Lowest-Common-Ancestor-of-Deepest-Leaves.md +++ b/website/content/ChapterFour/1100~1199/1123.Lowest-Common-Ancestor-of-Deepest-Leaves.md @@ -103,6 +103,6 @@ func lcaDeepestLeavesDFS(lca **TreeNode, maxLevel *int, depth int, root *TreeNod ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1100~1199/1128.Number-of-Equivalent-Domino-Pairs.md b/website/content/ChapterFour/1100~1199/1128.Number-of-Equivalent-Domino-Pairs.md index b9f94100..396e61e1 100755 --- a/website/content/ChapterFour/1100~1199/1128.Number-of-Equivalent-Domino-Pairs.md +++ b/website/content/ChapterFour/1100~1199/1128.Number-of-Equivalent-Domino-Pairs.md @@ -70,6 +70,6 @@ func numEquivDominoPairs(dominoes [][]int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1100~1199/1137.N-th-Tribonacci-Number.md b/website/content/ChapterFour/1100~1199/1137.N-th-Tribonacci-Number.md index 211d5ba6..179f6cc6 100755 --- a/website/content/ChapterFour/1100~1199/1137.N-th-Tribonacci-Number.md +++ b/website/content/ChapterFour/1100~1199/1137.N-th-Tribonacci-Number.md @@ -73,6 +73,6 @@ func tribonacci(n int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1100~1199/1145.Binary-Tree-Coloring-Game.md b/website/content/ChapterFour/1100~1199/1145.Binary-Tree-Coloring-Game.md index c1395df1..047f0d03 100644 --- a/website/content/ChapterFour/1100~1199/1145.Binary-Tree-Coloring-Game.md +++ b/website/content/ChapterFour/1100~1199/1145.Binary-Tree-Coloring-Game.md @@ -84,6 +84,6 @@ func dfsBtreeGameWinningMove(node *TreeNode, left, right *int, x int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1100~1199/1154.Day-of-the-Year.md b/website/content/ChapterFour/1100~1199/1154.Day-of-the-Year.md index b4c4bcb2..98e392d0 100755 --- a/website/content/ChapterFour/1100~1199/1154.Day-of-the-Year.md +++ b/website/content/ChapterFour/1100~1199/1154.Day-of-the-Year.md @@ -83,6 +83,6 @@ func dayOfYear(date string) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1100~1199/1157.Online-Majority-Element-In-Subarray.md b/website/content/ChapterFour/1100~1199/1157.Online-Majority-Element-In-Subarray.md index abfafc03..0fd147e4 100755 --- a/website/content/ChapterFour/1100~1199/1157.Online-Majority-Element-In-Subarray.md +++ b/website/content/ChapterFour/1100~1199/1157.Online-Majority-Element-In-Subarray.md @@ -198,6 +198,6 @@ func (mc *MajorityChecker) Query(left int, right int, threshold int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1100~1199/1160.Find-Words-That-Can-Be-Formed-by-Characters.md b/website/content/ChapterFour/1100~1199/1160.Find-Words-That-Can-Be-Formed-by-Characters.md index 2df6a209..a0e7603d 100755 --- a/website/content/ChapterFour/1100~1199/1160.Find-Words-That-Can-Be-Formed-by-Characters.md +++ b/website/content/ChapterFour/1100~1199/1160.Find-Words-That-Can-Be-Formed-by-Characters.md @@ -83,6 +83,6 @@ func canBeFormed(w string, c []int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1100~1199/1170.Compare-Strings-by-Frequency-of-the-Smallest-Character.md b/website/content/ChapterFour/1100~1199/1170.Compare-Strings-by-Frequency-of-the-Smallest-Character.md index 854c1e78..987a39a8 100755 --- a/website/content/ChapterFour/1100~1199/1170.Compare-Strings-by-Frequency-of-the-Smallest-Character.md +++ b/website/content/ChapterFour/1100~1199/1170.Compare-Strings-by-Frequency-of-the-Smallest-Character.md @@ -88,6 +88,6 @@ func countFunc(s string) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1100~1199/1171.Remove-Zero-Sum-Consecutive-Nodes-from-Linked-List.md b/website/content/ChapterFour/1100~1199/1171.Remove-Zero-Sum-Consecutive-Nodes-from-Linked-List.md index bee3e8a8..49e9862b 100755 --- a/website/content/ChapterFour/1100~1199/1171.Remove-Zero-Sum-Consecutive-Nodes-from-Linked-List.md +++ b/website/content/ChapterFour/1100~1199/1171.Remove-Zero-Sum-Consecutive-Nodes-from-Linked-List.md @@ -142,6 +142,6 @@ func removeZeroSumSublists1(head *ListNode) *ListNode { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1100~1199/1175.Prime-Arrangements.md b/website/content/ChapterFour/1100~1199/1175.Prime-Arrangements.md index 063a2619..e6ef7db5 100755 --- a/website/content/ChapterFour/1100~1199/1175.Prime-Arrangements.md +++ b/website/content/ChapterFour/1100~1199/1175.Prime-Arrangements.md @@ -67,6 +67,6 @@ func factorial(n int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1100~1199/1184.Distance-Between-Bus-Stops.md b/website/content/ChapterFour/1100~1199/1184.Distance-Between-Bus-Stops.md index 5d23749e..7d3f9829 100755 --- a/website/content/ChapterFour/1100~1199/1184.Distance-Between-Bus-Stops.md +++ b/website/content/ChapterFour/1100~1199/1184.Distance-Between-Bus-Stops.md @@ -84,6 +84,6 @@ func distanceBetweenBusStops(distance []int, start int, destination int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1100~1199/1185.Day-of-the-Week.md b/website/content/ChapterFour/1100~1199/1185.Day-of-the-Week.md index 5b34b8de..e7489d10 100755 --- a/website/content/ChapterFour/1100~1199/1185.Day-of-the-Week.md +++ b/website/content/ChapterFour/1100~1199/1185.Day-of-the-Week.md @@ -63,6 +63,6 @@ func dayOfTheWeek(day int, month int, year int) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1100~1199/1189.Maximum-Number-of-Balloons.md b/website/content/ChapterFour/1100~1199/1189.Maximum-Number-of-Balloons.md index ac27e5eb..22cf634d 100755 --- a/website/content/ChapterFour/1100~1199/1189.Maximum-Number-of-Balloons.md +++ b/website/content/ChapterFour/1100~1199/1189.Maximum-Number-of-Balloons.md @@ -72,6 +72,6 @@ func maxNumberOfBalloons(text string) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1200~1299/1200.Minimum-Absolute-Difference.md b/website/content/ChapterFour/1200~1299/1200.Minimum-Absolute-Difference.md index 2cbf856b..f23995fb 100755 --- a/website/content/ChapterFour/1200~1299/1200.Minimum-Absolute-Difference.md +++ b/website/content/ChapterFour/1200~1299/1200.Minimum-Absolute-Difference.md @@ -79,6 +79,6 @@ func minimumAbsDifference(arr []int) [][]int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1200~1299/1201.Ugly-Number-III.md b/website/content/ChapterFour/1200~1299/1201.Ugly-Number-III.md index 9382712f..a4a3299d 100755 --- a/website/content/ChapterFour/1200~1299/1201.Ugly-Number-III.md +++ b/website/content/ChapterFour/1200~1299/1201.Ugly-Number-III.md @@ -94,6 +94,6 @@ func gcd(a, b int64) int64 { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1200~1299/1202.Smallest-String-With-Swaps.md b/website/content/ChapterFour/1200~1299/1202.Smallest-String-With-Swaps.md index 903771e8..32b06cb9 100755 --- a/website/content/ChapterFour/1200~1299/1202.Smallest-String-With-Swaps.md +++ b/website/content/ChapterFour/1200~1299/1202.Smallest-String-With-Swaps.md @@ -104,6 +104,6 @@ func smallestStringWithSwaps(s string, pairs [][]int) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1200~1299/1203.Sort-Items-by-Groups-Respecting-Dependencies.md b/website/content/ChapterFour/1200~1299/1203.Sort-Items-by-Groups-Respecting-Dependencies.md index 99193c75..6cbdc8ce 100644 --- a/website/content/ChapterFour/1200~1299/1203.Sort-Items-by-Groups-Respecting-Dependencies.md +++ b/website/content/ChapterFour/1200~1299/1203.Sort-Items-by-Groups-Respecting-Dependencies.md @@ -193,6 +193,6 @@ func topSort(graph [][]int, deg, items []int) (orders []int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1200~1299/1207.Unique-Number-of-Occurrences.md b/website/content/ChapterFour/1200~1299/1207.Unique-Number-of-Occurrences.md index 1b3aff67..acd4c99d 100755 --- a/website/content/ChapterFour/1200~1299/1207.Unique-Number-of-Occurrences.md +++ b/website/content/ChapterFour/1200~1299/1207.Unique-Number-of-Occurrences.md @@ -70,6 +70,6 @@ func uniqueOccurrences(arr []int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1200~1299/1208.Get-Equal-Substrings-Within-Budget.md b/website/content/ChapterFour/1200~1299/1208.Get-Equal-Substrings-Within-Budget.md index 92c91739..ff499c21 100755 --- a/website/content/ChapterFour/1200~1299/1208.Get-Equal-Substrings-Within-Budget.md +++ b/website/content/ChapterFour/1200~1299/1208.Get-Equal-Substrings-Within-Budget.md @@ -79,6 +79,6 @@ func equalSubstring(s string, t string, maxCost int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1200~1299/1217.Minimum-Cost-to-Move-Chips-to-The-Same-Position.md b/website/content/ChapterFour/1200~1299/1217.Minimum-Cost-to-Move-Chips-to-The-Same-Position.md index d1b1cda2..8bba13af 100755 --- a/website/content/ChapterFour/1200~1299/1217.Minimum-Cost-to-Move-Chips-to-The-Same-Position.md +++ b/website/content/ChapterFour/1200~1299/1217.Minimum-Cost-to-Move-Chips-to-The-Same-Position.md @@ -78,6 +78,6 @@ func minCostToMoveChips(chips []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1200~1299/1221.Split-a-String-in-Balanced-Strings.md b/website/content/ChapterFour/1200~1299/1221.Split-a-String-in-Balanced-Strings.md index 4111287f..d1735865 100755 --- a/website/content/ChapterFour/1200~1299/1221.Split-a-String-in-Balanced-Strings.md +++ b/website/content/ChapterFour/1200~1299/1221.Split-a-String-in-Balanced-Strings.md @@ -75,6 +75,6 @@ func balancedStringSplit(s string) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1200~1299/1232.Check-If-It-Is-a-Straight-Line.md b/website/content/ChapterFour/1200~1299/1232.Check-If-It-Is-a-Straight-Line.md index 3d4fc4cb..07ad32d4 100755 --- a/website/content/ChapterFour/1200~1299/1232.Check-If-It-Is-a-Straight-Line.md +++ b/website/content/ChapterFour/1200~1299/1232.Check-If-It-Is-a-Straight-Line.md @@ -73,6 +73,6 @@ func checkStraightLine(coordinates [][]int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1200~1299/1234.Replace-the-Substring-for-Balanced-String.md b/website/content/ChapterFour/1200~1299/1234.Replace-the-Substring-for-Balanced-String.md index 8404def8..50847fe1 100755 --- a/website/content/ChapterFour/1200~1299/1234.Replace-the-Substring-for-Balanced-String.md +++ b/website/content/ChapterFour/1200~1299/1234.Replace-the-Substring-for-Balanced-String.md @@ -95,6 +95,6 @@ func balancedString(s string) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1200~1299/1235.Maximum-Profit-in-Job-Scheduling.md b/website/content/ChapterFour/1200~1299/1235.Maximum-Profit-in-Job-Scheduling.md index 831aceef..61532853 100755 --- a/website/content/ChapterFour/1200~1299/1235.Maximum-Profit-in-Job-Scheduling.md +++ b/website/content/ChapterFour/1200~1299/1235.Maximum-Profit-in-Job-Scheduling.md @@ -120,6 +120,6 @@ func (s sortJobs) Swap(i, j int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1200~1299/1252.Cells-with-Odd-Values-in-a-Matrix.md b/website/content/ChapterFour/1200~1299/1252.Cells-with-Odd-Values-in-a-Matrix.md index 6f869e52..e0a66edf 100755 --- a/website/content/ChapterFour/1200~1299/1252.Cells-with-Odd-Values-in-a-Matrix.md +++ b/website/content/ChapterFour/1200~1299/1252.Cells-with-Odd-Values-in-a-Matrix.md @@ -105,6 +105,6 @@ func oddCells1(n int, m int, indices [][]int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1200~1299/1254.Number-of-Closed-Islands.md b/website/content/ChapterFour/1200~1299/1254.Number-of-Closed-Islands.md index bdcdec52..96e175c9 100755 --- a/website/content/ChapterFour/1200~1299/1254.Number-of-Closed-Islands.md +++ b/website/content/ChapterFour/1200~1299/1254.Number-of-Closed-Islands.md @@ -112,6 +112,6 @@ func isIntInBoard(board [][]int, x, y int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1200~1299/1260.Shift-2D-Grid.md b/website/content/ChapterFour/1200~1299/1260.Shift-2D-Grid.md index 8a10aef5..83fcdef1 100644 --- a/website/content/ChapterFour/1200~1299/1260.Shift-2D-Grid.md +++ b/website/content/ChapterFour/1200~1299/1260.Shift-2D-Grid.md @@ -92,6 +92,6 @@ func shiftGrid(grid [][]int, k int) [][]int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1200~1299/1266.Minimum-Time-Visiting-All-Points.md b/website/content/ChapterFour/1200~1299/1266.Minimum-Time-Visiting-All-Points.md index 3e9ad63d..252a9822 100755 --- a/website/content/ChapterFour/1200~1299/1266.Minimum-Time-Visiting-All-Points.md +++ b/website/content/ChapterFour/1200~1299/1266.Minimum-Time-Visiting-All-Points.md @@ -77,6 +77,6 @@ func minTimeToVisitAllPoints(points [][]int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1200~1299/1275.Find-Winner-on-a-Tic-Tac-Toe-Game.md b/website/content/ChapterFour/1200~1299/1275.Find-Winner-on-a-Tic-Tac-Toe-Game.md index 92f05952..d7721e9e 100644 --- a/website/content/ChapterFour/1200~1299/1275.Find-Winner-on-a-Tic-Tac-Toe-Game.md +++ b/website/content/ChapterFour/1200~1299/1275.Find-Winner-on-a-Tic-Tac-Toe-Game.md @@ -156,6 +156,6 @@ func tictactoe(moves [][]int) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1200~1299/1281.Subtract-the-Product-and-Sum-of-Digits-of-an-Integer.md b/website/content/ChapterFour/1200~1299/1281.Subtract-the-Product-and-Sum-of-Digits-of-an-Integer.md index 2c964c08..f512f847 100644 --- a/website/content/ChapterFour/1200~1299/1281.Subtract-the-Product-and-Sum-of-Digits-of-an-Integer.md +++ b/website/content/ChapterFour/1200~1299/1281.Subtract-the-Product-and-Sum-of-Digits-of-an-Integer.md @@ -61,6 +61,6 @@ func subtractProductAndSum(n int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1200~1299/1283.Find-the-Smallest-Divisor-Given-a-Threshold.md b/website/content/ChapterFour/1200~1299/1283.Find-the-Smallest-Divisor-Given-a-Threshold.md index e25c1209..044a91c7 100644 --- a/website/content/ChapterFour/1200~1299/1283.Find-the-Smallest-Divisor-Given-a-Threshold.md +++ b/website/content/ChapterFour/1200~1299/1283.Find-the-Smallest-Divisor-Given-a-Threshold.md @@ -89,6 +89,6 @@ func calDivisor(nums []int, mid, threshold int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1200~1299/1287.Element-Appearing-More-Than-25-In-Sorted-Array.md b/website/content/ChapterFour/1200~1299/1287.Element-Appearing-More-Than-25-In-Sorted-Array.md index c1c9d669..03294b89 100644 --- a/website/content/ChapterFour/1200~1299/1287.Element-Appearing-More-Than-25-In-Sorted-Array.md +++ b/website/content/ChapterFour/1200~1299/1287.Element-Appearing-More-Than-25-In-Sorted-Array.md @@ -51,6 +51,6 @@ func findSpecialInteger(arr []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1200~1299/1290.Convert-Binary-Number-in-a-Linked-List-to-Integer.md b/website/content/ChapterFour/1200~1299/1290.Convert-Binary-Number-in-a-Linked-List-to-Integer.md index 28ab0065..41633eae 100644 --- a/website/content/ChapterFour/1200~1299/1290.Convert-Binary-Number-in-a-Linked-List-to-Integer.md +++ b/website/content/ChapterFour/1200~1299/1290.Convert-Binary-Number-in-a-Linked-List-to-Integer.md @@ -83,6 +83,6 @@ func getDecimalValue(head *ListNode) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1200~1299/1295.Find-Numbers-with-Even-Number-of-Digits.md b/website/content/ChapterFour/1200~1299/1295.Find-Numbers-with-Even-Number-of-Digits.md index 32096cd1..17d3b6ba 100644 --- a/website/content/ChapterFour/1200~1299/1295.Find-Numbers-with-Even-Number-of-Digits.md +++ b/website/content/ChapterFour/1200~1299/1295.Find-Numbers-with-Even-Number-of-Digits.md @@ -65,6 +65,6 @@ func findNumbers(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1200~1299/1299.Replace-Elements-with-Greatest-Element-on-Right-Side.md b/website/content/ChapterFour/1200~1299/1299.Replace-Elements-with-Greatest-Element-on-Right-Side.md index fb242b8f..2bbb88ac 100644 --- a/website/content/ChapterFour/1200~1299/1299.Replace-Elements-with-Greatest-Element-on-Right-Side.md +++ b/website/content/ChapterFour/1200~1299/1299.Replace-Elements-with-Greatest-Element-on-Right-Side.md @@ -53,6 +53,6 @@ func replaceElements(arr []int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1300~1399/1300.Sum-of-Mutated-Array-Closest-to-Target.md b/website/content/ChapterFour/1300~1399/1300.Sum-of-Mutated-Array-Closest-to-Target.md index 113f3d86..3e13fe77 100644 --- a/website/content/ChapterFour/1300~1399/1300.Sum-of-Mutated-Array-Closest-to-Target.md +++ b/website/content/ChapterFour/1300~1399/1300.Sum-of-Mutated-Array-Closest-to-Target.md @@ -105,6 +105,6 @@ func min(a int, b int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1300~1399/1302.Deepest-Leaves-Sum.md b/website/content/ChapterFour/1300~1399/1302.Deepest-Leaves-Sum.md index a79aef4d..6037e30c 100644 --- a/website/content/ChapterFour/1300~1399/1302.Deepest-Leaves-Sum.md +++ b/website/content/ChapterFour/1300~1399/1302.Deepest-Leaves-Sum.md @@ -60,6 +60,6 @@ func dfsDeepestLeavesSum(root *TreeNode, level int, maxLevel, sum *int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1300~1399/1304.Find-N-Unique-Integers-Sum-up-to-Zero.md b/website/content/ChapterFour/1300~1399/1304.Find-N-Unique-Integers-Sum-up-to-Zero.md index 0fadb33f..35a82147 100644 --- a/website/content/ChapterFour/1300~1399/1304.Find-N-Unique-Integers-Sum-up-to-Zero.md +++ b/website/content/ChapterFour/1300~1399/1304.Find-N-Unique-Integers-Sum-up-to-Zero.md @@ -64,6 +64,6 @@ func sumZero(n int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1300~1399/1305.All-Elements-in-Two-Binary-Search-Trees.md b/website/content/ChapterFour/1300~1399/1305.All-Elements-in-Two-Binary-Search-Trees.md index 4de15219..a29b324c 100644 --- a/website/content/ChapterFour/1300~1399/1305.All-Elements-in-Two-Binary-Search-Trees.md +++ b/website/content/ChapterFour/1300~1399/1305.All-Elements-in-Two-Binary-Search-Trees.md @@ -92,6 +92,6 @@ func getAllElements1(root1 *TreeNode, root2 *TreeNode) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1300~1399/1306.Jump-Game-III.md b/website/content/ChapterFour/1300~1399/1306.Jump-Game-III.md index 82a9fe22..cddd5cd0 100644 --- a/website/content/ChapterFour/1300~1399/1306.Jump-Game-III.md +++ b/website/content/ChapterFour/1300~1399/1306.Jump-Game-III.md @@ -82,6 +82,6 @@ func canReach(arr []int, start int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1300~1399/1313.Decompress-Run-Length-Encoded-List.md b/website/content/ChapterFour/1300~1399/1313.Decompress-Run-Length-Encoded-List.md index a99baec6..afdb5f77 100644 --- a/website/content/ChapterFour/1300~1399/1313.Decompress-Run-Length-Encoded-List.md +++ b/website/content/ChapterFour/1300~1399/1313.Decompress-Run-Length-Encoded-List.md @@ -62,6 +62,6 @@ func decompressRLElist(nums []int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1300~1399/1317.Convert-Integer-to-the-Sum-of-Two-No-Zero-Integers.md b/website/content/ChapterFour/1300~1399/1317.Convert-Integer-to-the-Sum-of-Two-No-Zero-Integers.md index b275e3db..88984940 100644 --- a/website/content/ChapterFour/1300~1399/1317.Convert-Integer-to-the-Sum-of-Two-No-Zero-Integers.md +++ b/website/content/ChapterFour/1300~1399/1317.Convert-Integer-to-the-Sum-of-Two-No-Zero-Integers.md @@ -98,6 +98,6 @@ func isNoZero(n int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1300~1399/1319.Number-of-Operations-to-Make-Network-Connected.md b/website/content/ChapterFour/1300~1399/1319.Number-of-Operations-to-Make-Network-Connected.md index 8cf7a2a2..2982a123 100644 --- a/website/content/ChapterFour/1300~1399/1319.Number-of-Operations-to-Make-Network-Connected.md +++ b/website/content/ChapterFour/1300~1399/1319.Number-of-Operations-to-Make-Network-Connected.md @@ -92,6 +92,6 @@ func makeConnected(n int, connections [][]int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1300~1399/1329.Sort-the-Matrix-Diagonally.md b/website/content/ChapterFour/1300~1399/1329.Sort-the-Matrix-Diagonally.md index 4d4808bc..3248ddc6 100644 --- a/website/content/ChapterFour/1300~1399/1329.Sort-the-Matrix-Diagonally.md +++ b/website/content/ChapterFour/1300~1399/1329.Sort-the-Matrix-Diagonally.md @@ -59,6 +59,6 @@ func diagonalSort(mat [][]int) [][]int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1300~1399/1380.Lucky-Numbers-in-a-Matrix.md b/website/content/ChapterFour/1300~1399/1380.Lucky-Numbers-in-a-Matrix.md index 6115acc5..09721269 100644 --- a/website/content/ChapterFour/1300~1399/1380.Lucky-Numbers-in-a-Matrix.md +++ b/website/content/ChapterFour/1300~1399/1380.Lucky-Numbers-in-a-Matrix.md @@ -89,6 +89,6 @@ func luckyNumbers(matrix [][]int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1300~1399/1385.Find-the-Distance-Value-Between-Two-Arrays.md b/website/content/ChapterFour/1300~1399/1385.Find-the-Distance-Value-Between-Two-Arrays.md index 3e99081b..9d0a25fa 100644 --- a/website/content/ChapterFour/1300~1399/1385.Find-the-Distance-Value-Between-Two-Arrays.md +++ b/website/content/ChapterFour/1300~1399/1385.Find-the-Distance-Value-Between-Two-Arrays.md @@ -100,6 +100,6 @@ func abs(a int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1300~1399/1389.Create-Target-Array-in-the-Given-Order.md b/website/content/ChapterFour/1300~1399/1389.Create-Target-Array-in-the-Given-Order.md index ada9721b..5cdbf7b4 100644 --- a/website/content/ChapterFour/1300~1399/1389.Create-Target-Array-in-the-Given-Order.md +++ b/website/content/ChapterFour/1300~1399/1389.Create-Target-Array-in-the-Given-Order.md @@ -92,6 +92,6 @@ func createTargetArray(nums []int, index []int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1400~1499/1437.Check-If-All-1s-Are-at-Least-Length-K-Places-Away.md b/website/content/ChapterFour/1400~1499/1437.Check-If-All-1s-Are-at-Least-Length-K-Places-Away.md index a0ba4c22..45800178 100644 --- a/website/content/ChapterFour/1400~1499/1437.Check-If-All-1s-Are-at-Least-Length-K-Places-Away.md +++ b/website/content/ChapterFour/1400~1499/1437.Check-If-All-1s-Are-at-Least-Length-K-Places-Away.md @@ -75,6 +75,6 @@ func kLengthApart(nums []int, k int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1400~1499/1455.Check-If-a-Word-Occurs-As-a-Prefix-of-Any-Word-in-a-Sentence.md b/website/content/ChapterFour/1400~1499/1455.Check-If-a-Word-Occurs-As-a-Prefix-of-Any-Word-in-a-Sentence.md index f224d37d..09d90aec 100644 --- a/website/content/ChapterFour/1400~1499/1455.Check-If-a-Word-Occurs-As-a-Prefix-of-Any-Word-in-a-Sentence.md +++ b/website/content/ChapterFour/1400~1499/1455.Check-If-a-Word-Occurs-As-a-Prefix-of-Any-Word-in-a-Sentence.md @@ -100,6 +100,6 @@ func isPrefixOfWord(sentence string, searchWord string) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1400~1499/1463.Cherry-Pickup-II.md b/website/content/ChapterFour/1400~1499/1463.Cherry-Pickup-II.md index fe8beb59..2736380d 100644 --- a/website/content/ChapterFour/1400~1499/1463.Cherry-Pickup-II.md +++ b/website/content/ChapterFour/1400~1499/1463.Cherry-Pickup-II.md @@ -46,6 +46,6 @@ Output: 4 ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1400~1499/1464.Maximum-Product-of-Two-Elements-in-an-Array.md b/website/content/ChapterFour/1400~1499/1464.Maximum-Product-of-Two-Elements-in-an-Array.md index c727b889..8f75c287 100644 --- a/website/content/ChapterFour/1400~1499/1464.Maximum-Product-of-Two-Elements-in-an-Array.md +++ b/website/content/ChapterFour/1400~1499/1464.Maximum-Product-of-Two-Elements-in-an-Array.md @@ -68,6 +68,6 @@ func maxProduct(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1400~1499/1470.Shuffle-the-Array.md b/website/content/ChapterFour/1400~1499/1470.Shuffle-the-Array.md index 571c6c2e..f010ba9f 100644 --- a/website/content/ChapterFour/1400~1499/1470.Shuffle-the-Array.md +++ b/website/content/ChapterFour/1400~1499/1470.Shuffle-the-Array.md @@ -66,6 +66,6 @@ func shuffle(nums []int, n int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1400~1499/1480.Running-Sum-of-1d-Array.md b/website/content/ChapterFour/1400~1499/1480.Running-Sum-of-1d-Array.md index 12573981..f3bde070 100644 --- a/website/content/ChapterFour/1400~1499/1480.Running-Sum-of-1d-Array.md +++ b/website/content/ChapterFour/1400~1499/1480.Running-Sum-of-1d-Array.md @@ -66,6 +66,6 @@ func runningSum(nums []int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1500~1599/1512.Number-of-Good-Pairs.md b/website/content/ChapterFour/1500~1599/1512.Number-of-Good-Pairs.md index 5d5db6bf..327a4e92 100644 --- a/website/content/ChapterFour/1500~1599/1512.Number-of-Good-Pairs.md +++ b/website/content/ChapterFour/1500~1599/1512.Number-of-Good-Pairs.md @@ -69,6 +69,6 @@ func numIdenticalPairs(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1500~1599/1539.Kth-Missing-Positive-Number.md b/website/content/ChapterFour/1500~1599/1539.Kth-Missing-Positive-Number.md index 9ec04f9e..4052881d 100644 --- a/website/content/ChapterFour/1500~1599/1539.Kth-Missing-Positive-Number.md +++ b/website/content/ChapterFour/1500~1599/1539.Kth-Missing-Positive-Number.md @@ -65,6 +65,6 @@ func findKthPositive(arr []int, k int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1500~1599/1573.Number-of-Ways-to-Split-a-String.md b/website/content/ChapterFour/1500~1599/1573.Number-of-Ways-to-Split-a-String.md index 9060eded..956091f2 100644 --- a/website/content/ChapterFour/1500~1599/1573.Number-of-Ways-to-Split-a-String.md +++ b/website/content/ChapterFour/1500~1599/1573.Number-of-Ways-to-Split-a-String.md @@ -110,6 +110,6 @@ func numWays(s string) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1640.Check-Array-Formation-Through-Concatenation.md b/website/content/ChapterFour/1600~1699/1640.Check-Array-Formation-Through-Concatenation.md index 5889f65b..10c25e7e 100644 --- a/website/content/ChapterFour/1600~1699/1640.Check-Array-Formation-Through-Concatenation.md +++ b/website/content/ChapterFour/1600~1699/1640.Check-Array-Formation-Through-Concatenation.md @@ -97,6 +97,6 @@ func canFormArray(arr []int, pieces [][]int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1641.Count-Sorted-Vowel-Strings.md b/website/content/ChapterFour/1600~1699/1641.Count-Sorted-Vowel-Strings.md index 79480691..88f0b709 100644 --- a/website/content/ChapterFour/1600~1699/1641.Count-Sorted-Vowel-Strings.md +++ b/website/content/ChapterFour/1600~1699/1641.Count-Sorted-Vowel-Strings.md @@ -92,6 +92,6 @@ func countVowelStrings1(n int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1646.Get-Maximum-in-Generated-Array.md b/website/content/ChapterFour/1600~1699/1646.Get-Maximum-in-Generated-Array.md index b14b1501..0c91d006 100644 --- a/website/content/ChapterFour/1600~1699/1646.Get-Maximum-in-Generated-Array.md +++ b/website/content/ChapterFour/1600~1699/1646.Get-Maximum-in-Generated-Array.md @@ -98,6 +98,6 @@ func getMaximumGenerated(n int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1647.Minimum-Deletions-to-Make-Character-Frequencies-Unique.md b/website/content/ChapterFour/1600~1699/1647.Minimum-Deletions-to-Make-Character-Frequencies-Unique.md index dddd6ba1..738cb917 100644 --- a/website/content/ChapterFour/1600~1699/1647.Minimum-Deletions-to-Make-Character-Frequencies-Unique.md +++ b/website/content/ChapterFour/1600~1699/1647.Minimum-Deletions-to-Make-Character-Frequencies-Unique.md @@ -91,6 +91,6 @@ func minDeletions(s string) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1648.Sell-Diminishing-Valued-Colored-Balls.md b/website/content/ChapterFour/1600~1699/1648.Sell-Diminishing-Valued-Colored-Balls.md index f65f56cb..6884175a 100644 --- a/website/content/ChapterFour/1600~1699/1648.Sell-Diminishing-Valued-Colored-Balls.md +++ b/website/content/ChapterFour/1600~1699/1648.Sell-Diminishing-Valued-Colored-Balls.md @@ -133,6 +133,6 @@ func maxProfit(inventory []int, orders int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1649.Create-Sorted-Array-through-Instructions.md b/website/content/ChapterFour/1600~1699/1649.Create-Sorted-Array-through-Instructions.md index 69450ff8..63f7c120 100644 --- a/website/content/ChapterFour/1600~1699/1649.Create-Sorted-Array-through-Instructions.md +++ b/website/content/ChapterFour/1600~1699/1649.Create-Sorted-Array-through-Instructions.md @@ -191,6 +191,6 @@ func (b *BIT) get(i int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1652.Defuse-the-Bomb.md b/website/content/ChapterFour/1600~1699/1652.Defuse-the-Bomb.md index 3ae46fce..8f5dc35f 100644 --- a/website/content/ChapterFour/1600~1699/1652.Defuse-the-Bomb.md +++ b/website/content/ChapterFour/1600~1699/1652.Defuse-the-Bomb.md @@ -127,6 +127,6 @@ func decrypt(code []int, k int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1653.Minimum-Deletions-to-Make-String-Balanced.md b/website/content/ChapterFour/1600~1699/1653.Minimum-Deletions-to-Make-String-Balanced.md index bd2ee314..15d8427e 100644 --- a/website/content/ChapterFour/1600~1699/1653.Minimum-Deletions-to-Make-String-Balanced.md +++ b/website/content/ChapterFour/1600~1699/1653.Minimum-Deletions-to-Make-String-Balanced.md @@ -92,6 +92,6 @@ func minimumDeletions1(s string) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1654.Minimum-Jumps-to-Reach-Home.md b/website/content/ChapterFour/1600~1699/1654.Minimum-Jumps-to-Reach-Home.md index 793f382c..bc5f9a41 100644 --- a/website/content/ChapterFour/1600~1699/1654.Minimum-Jumps-to-Reach-Home.md +++ b/website/content/ChapterFour/1600~1699/1654.Minimum-Jumps-to-Reach-Home.md @@ -103,6 +103,6 @@ func minimumJumps(forbidden []int, a int, b int, x int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1655.Distribute-Repeating-Integers.md b/website/content/ChapterFour/1600~1699/1655.Distribute-Repeating-Integers.md index 41977eef..ca4122a8 100644 --- a/website/content/ChapterFour/1600~1699/1655.Distribute-Repeating-Integers.md +++ b/website/content/ChapterFour/1600~1699/1655.Distribute-Repeating-Integers.md @@ -114,6 +114,6 @@ func dfs(freq map[int]int, quantity []int) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1656.Design-an-Ordered-Stream.md b/website/content/ChapterFour/1600~1699/1656.Design-an-Ordered-Stream.md index 39c33d70..d71767f0 100644 --- a/website/content/ChapterFour/1600~1699/1656.Design-an-Ordered-Stream.md +++ b/website/content/ChapterFour/1600~1699/1656.Design-an-Ordered-Stream.md @@ -108,6 +108,6 @@ func (this *OrderedStream) Insert(id int, value string) []string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1657.Determine-if-Two-Strings-Are-Close.md b/website/content/ChapterFour/1600~1699/1657.Determine-if-Two-Strings-Are-Close.md index 82d429e8..c36f7fa2 100644 --- a/website/content/ChapterFour/1600~1699/1657.Determine-if-Two-Strings-Are-Close.md +++ b/website/content/ChapterFour/1600~1699/1657.Determine-if-Two-Strings-Are-Close.md @@ -116,6 +116,6 @@ func closeStrings(word1 string, word2 string) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1658.Minimum-Operations-to-Reduce-X-to-Zero.md b/website/content/ChapterFour/1600~1699/1658.Minimum-Operations-to-Reduce-X-to-Zero.md index 955f6f2b..021824d2 100644 --- a/website/content/ChapterFour/1600~1699/1658.Minimum-Operations-to-Reduce-X-to-Zero.md +++ b/website/content/ChapterFour/1600~1699/1658.Minimum-Operations-to-Reduce-X-to-Zero.md @@ -98,6 +98,6 @@ func max(a, b int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1659.Maximize-Grid-Happiness.md b/website/content/ChapterFour/1600~1699/1659.Maximize-Grid-Happiness.md index 73f3ed57..049e5fcf 100644 --- a/website/content/ChapterFour/1600~1699/1659.Maximize-Grid-Happiness.md +++ b/website/content/ChapterFour/1600~1699/1659.Maximize-Grid-Happiness.md @@ -187,6 +187,6 @@ func max(a int, b int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1662.Check-If-Two-String-Arrays-are-Equivalent.md b/website/content/ChapterFour/1600~1699/1662.Check-If-Two-String-Arrays-are-Equivalent.md index 84931259..4b99dc3e 100644 --- a/website/content/ChapterFour/1600~1699/1662.Check-If-Two-String-Arrays-are-Equivalent.md +++ b/website/content/ChapterFour/1600~1699/1662.Check-If-Two-String-Arrays-are-Equivalent.md @@ -67,6 +67,6 @@ func arrayStringsAreEqual(word1 []string, word2 []string) bool { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1663.Smallest-String-With-A-Given-Numeric-Value.md b/website/content/ChapterFour/1600~1699/1663.Smallest-String-With-A-Given-Numeric-Value.md index e6875609..b373c410 100644 --- a/website/content/ChapterFour/1600~1699/1663.Smallest-String-With-A-Given-Numeric-Value.md +++ b/website/content/ChapterFour/1600~1699/1663.Smallest-String-With-A-Given-Numeric-Value.md @@ -104,6 +104,6 @@ func findSmallestString(value int, length, k, index int, str []byte, res *string ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1664.Ways-to-Make-a-Fair-Array.md b/website/content/ChapterFour/1600~1699/1664.Ways-to-Make-a-Fair-Array.md index 45d86fc9..1c607617 100644 --- a/website/content/ChapterFour/1600~1699/1664.Ways-to-Make-a-Fair-Array.md +++ b/website/content/ChapterFour/1600~1699/1664.Ways-to-Make-a-Fair-Array.md @@ -118,6 +118,6 @@ func waysToMakeFair1(nums []int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1665.Minimum-Initial-Energy-to-Finish-Tasks.md b/website/content/ChapterFour/1600~1699/1665.Minimum-Initial-Energy-to-Finish-Tasks.md index 6518e98a..e201a20d 100644 --- a/website/content/ChapterFour/1600~1699/1665.Minimum-Initial-Energy-to-Finish-Tasks.md +++ b/website/content/ChapterFour/1600~1699/1665.Minimum-Initial-Energy-to-Finish-Tasks.md @@ -130,6 +130,6 @@ func (task Task) Swap(i, j int) { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1668.Maximum-Repeating-Substring.md b/website/content/ChapterFour/1600~1699/1668.Maximum-Repeating-Substring.md index 91c3fd9d..f86e6bc1 100644 --- a/website/content/ChapterFour/1600~1699/1668.Maximum-Repeating-Substring.md +++ b/website/content/ChapterFour/1600~1699/1668.Maximum-Repeating-Substring.md @@ -71,6 +71,6 @@ func maxRepeating(sequence string, word string) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1669.Merge-In-Between-Linked-Lists.md b/website/content/ChapterFour/1600~1699/1669.Merge-In-Between-Linked-Lists.md index fdd831d1..05e4afc4 100644 --- a/website/content/ChapterFour/1600~1699/1669.Merge-In-Between-Linked-Lists.md +++ b/website/content/ChapterFour/1600~1699/1669.Merge-In-Between-Linked-Lists.md @@ -77,6 +77,6 @@ func mergeInBetween(list1 *ListNode, a int, b int, list2 *ListNode) *ListNode { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1670.Design-Front-Middle-Back-Queue.md b/website/content/ChapterFour/1600~1699/1670.Design-Front-Middle-Back-Queue.md index 533fa366..db98ab36 100644 --- a/website/content/ChapterFour/1600~1699/1670.Design-Front-Middle-Back-Queue.md +++ b/website/content/ChapterFour/1600~1699/1670.Design-Front-Middle-Back-Queue.md @@ -174,6 +174,6 @@ func (this *FrontMiddleBackQueue) PopBack() int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1672.Richest-Customer-Wealth.md b/website/content/ChapterFour/1600~1699/1672.Richest-Customer-Wealth.md index 13a3b114..72e287b6 100644 --- a/website/content/ChapterFour/1600~1699/1672.Richest-Customer-Wealth.md +++ b/website/content/ChapterFour/1600~1699/1672.Richest-Customer-Wealth.md @@ -74,6 +74,6 @@ func maximumWealth(accounts [][]int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1673.Find-the-Most-Competitive-Subsequence.md b/website/content/ChapterFour/1600~1699/1673.Find-the-Most-Competitive-Subsequence.md index b0b30764..02292dd4 100644 --- a/website/content/ChapterFour/1600~1699/1673.Find-the-Most-Competitive-Subsequence.md +++ b/website/content/ChapterFour/1600~1699/1673.Find-the-Most-Competitive-Subsequence.md @@ -64,6 +64,6 @@ func mostCompetitive(nums []int, k int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1674.Minimum-Moves-to-Make-Array-Complementary.md b/website/content/ChapterFour/1600~1699/1674.Minimum-Moves-to-Make-Array-Complementary.md index 31ade1f0..306c924e 100644 --- a/website/content/ChapterFour/1600~1699/1674.Minimum-Moves-to-Make-Array-Complementary.md +++ b/website/content/ChapterFour/1600~1699/1674.Minimum-Moves-to-Make-Array-Complementary.md @@ -99,6 +99,6 @@ func max(a, b int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1678.Goal-Parser-Interpretation.md b/website/content/ChapterFour/1600~1699/1678.Goal-Parser-Interpretation.md index 0027dd5b..a7cbeff6 100644 --- a/website/content/ChapterFour/1600~1699/1678.Goal-Parser-Interpretation.md +++ b/website/content/ChapterFour/1600~1699/1678.Goal-Parser-Interpretation.md @@ -75,6 +75,6 @@ func interpret(command string) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1679.Max-Number-of-K-Sum-Pairs.md b/website/content/ChapterFour/1600~1699/1679.Max-Number-of-K-Sum-Pairs.md index a573fadc..f95055aa 100644 --- a/website/content/ChapterFour/1600~1699/1679.Max-Number-of-K-Sum-Pairs.md +++ b/website/content/ChapterFour/1600~1699/1679.Max-Number-of-K-Sum-Pairs.md @@ -100,6 +100,6 @@ func maxOperations_(nums []int, k int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1680.Concatenation-of-Consecutive-Binary-Numbers.md b/website/content/ChapterFour/1600~1699/1680.Concatenation-of-Consecutive-Binary-Numbers.md index 5fc06173..085376b2 100644 --- a/website/content/ChapterFour/1600~1699/1680.Concatenation-of-Consecutive-Binary-Numbers.md +++ b/website/content/ChapterFour/1600~1699/1680.Concatenation-of-Consecutive-Binary-Numbers.md @@ -97,6 +97,6 @@ func concatenatedBinary1(n int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1681.Minimum-Incompatibility.md b/website/content/ChapterFour/1600~1699/1681.Minimum-Incompatibility.md index ebc5c06a..e8a267e6 100644 --- a/website/content/ChapterFour/1600~1699/1681.Minimum-Incompatibility.md +++ b/website/content/ChapterFour/1600~1699/1681.Minimum-Incompatibility.md @@ -124,6 +124,6 @@ func generatePermutation1681(nums, counts, order []int, index, sum, eachSize int ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1684.Count-the-Number-of-Consistent-Strings.md b/website/content/ChapterFour/1600~1699/1684.Count-the-Number-of-Consistent-Strings.md index 9cce9fd7..afe034b5 100644 --- a/website/content/ChapterFour/1600~1699/1684.Count-the-Number-of-Consistent-Strings.md +++ b/website/content/ChapterFour/1600~1699/1684.Count-the-Number-of-Consistent-Strings.md @@ -81,6 +81,6 @@ func countConsistentStrings(allowed string, words []string) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1685.Sum-of-Absolute-Differences-in-a-Sorted-Array.md b/website/content/ChapterFour/1600~1699/1685.Sum-of-Absolute-Differences-in-a-Sorted-Array.md index 690f9b1d..4ab16dc7 100644 --- a/website/content/ChapterFour/1600~1699/1685.Sum-of-Absolute-Differences-in-a-Sorted-Array.md +++ b/website/content/ChapterFour/1600~1699/1685.Sum-of-Absolute-Differences-in-a-Sorted-Array.md @@ -90,6 +90,6 @@ func getSumAbsoluteDifferences1(nums []int) []int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1688.Count-of-Matches-in-Tournament.md b/website/content/ChapterFour/1600~1699/1688.Count-of-Matches-in-Tournament.md index fc73c685..e8a8c392 100644 --- a/website/content/ChapterFour/1600~1699/1688.Count-of-Matches-in-Tournament.md +++ b/website/content/ChapterFour/1600~1699/1688.Count-of-Matches-in-Tournament.md @@ -82,6 +82,6 @@ func numberOfMatches1(n int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1689.Partitioning-Into-Minimum-Number-Of-Deci-Binary-Numbers.md b/website/content/ChapterFour/1600~1699/1689.Partitioning-Into-Minimum-Number-Of-Deci-Binary-Numbers.md index bb6b7c53..f3494ed4 100644 --- a/website/content/ChapterFour/1600~1699/1689.Partitioning-Into-Minimum-Number-Of-Deci-Binary-Numbers.md +++ b/website/content/ChapterFour/1600~1699/1689.Partitioning-Into-Minimum-Number-Of-Deci-Binary-Numbers.md @@ -62,6 +62,6 @@ func minPartitions(n string) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1690.Stone-Game-VII.md b/website/content/ChapterFour/1600~1699/1690.Stone-Game-VII.md index cdb41310..808f21e1 100644 --- a/website/content/ChapterFour/1600~1699/1690.Stone-Game-VII.md +++ b/website/content/ChapterFour/1600~1699/1690.Stone-Game-VII.md @@ -132,6 +132,6 @@ func max(a, b int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1694.Reformat-Phone-Number.md b/website/content/ChapterFour/1600~1699/1694.Reformat-Phone-Number.md index b878af68..f27cf352 100644 --- a/website/content/ChapterFour/1600~1699/1694.Reformat-Phone-Number.md +++ b/website/content/ChapterFour/1600~1699/1694.Reformat-Phone-Number.md @@ -137,6 +137,6 @@ func reformatNumber(number string) string { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1695.Maximum-Erasure-Value.md b/website/content/ChapterFour/1600~1699/1695.Maximum-Erasure-Value.md index 890a6128..7ca5b884 100644 --- a/website/content/ChapterFour/1600~1699/1695.Maximum-Erasure-Value.md +++ b/website/content/ChapterFour/1600~1699/1695.Maximum-Erasure-Value.md @@ -77,6 +77,6 @@ func max(a int, b int) int { ----------------------------------------------
-

⬅️上一页

-

下一页➡️

+

⬅️上一页

+

下一页➡️

diff --git a/website/content/ChapterFour/1600~1699/1696.Jump-Game-VI.md b/website/content/ChapterFour/1600~1699/1696.Jump-Game-VI.md index 9186a0f5..2aefdf94 100644 --- a/website/content/ChapterFour/1600~1699/1696.Jump-Game-VI.md +++ b/website/content/ChapterFour/1600~1699/1696.Jump-Game-VI.md @@ -110,5 +110,5 @@ func max(a, b int) int { ---------------------------------------------- -

⬅️上一页

+

⬅️上一页

diff --git a/website/content/ChapterFour/_index.md b/website/content/ChapterFour/_index.md index 7024aa8e..b3eaba6b 100644 --- a/website/content/ChapterFour/_index.md +++ b/website/content/ChapterFour/_index.md @@ -21,5 +21,5 @@ weight: 4 ----------------------------------------------

⬅️上一章

-

下一页➡️

+

下一页➡️

diff --git a/website/content/ChapterTwo/Array.md b/website/content/ChapterTwo/Array.md index f17e2dd8..43f3ded2 100644 --- a/website/content/ChapterTwo/Array.md +++ b/website/content/ChapterTwo/Array.md @@ -8,41 +8,41 @@ weight: 1 | No. | Title | Solution | Difficulty | TimeComplexity | SpaceComplexity |Favorite| Acceptance | |:--------:|:------- | :--------: | :----------: | :----: | :-----: | :-----: |:-----: | -|0001|Two Sum|[Go]({{< relref "/ChapterFour/0000~0099/0001.Two-Sum.md" >}})|Easy| O(n)| O(n)||46.3%| -|0004|Median of Two Sorted Arrays|[Go]({{< relref "/ChapterFour/0000~0099/0004.Median-of-Two-Sorted-Arrays.md" >}})|Hard||||30.9%| -|0011|Container With Most Water|[Go]({{< relref "/ChapterFour/0000~0099/0011.Container-With-Most-Water.md" >}})|Medium| O(n)| O(1)||52.3%| -|0015|3Sum|[Go]({{< relref "/ChapterFour/0000~0099/0015.3Sum.md" >}})|Medium| O(n^2)| O(n)|❤️|27.8%| -|0016|3Sum Closest|[Go]({{< relref "/ChapterFour/0000~0099/0016.3Sum-Closest.md" >}})|Medium| O(n^2)| O(1)|❤️|46.3%| -|0018|4Sum|[Go]({{< relref "/ChapterFour/0000~0099/0018.4Sum.md" >}})|Medium| O(n^3)| O(n^2)|❤️|34.7%| -|0026|Remove Duplicates from Sorted Array|[Go]({{< relref "/ChapterFour/0000~0099/0026.Remove-Duplicates-from-Sorted-Array.md" >}})|Easy| O(n)| O(1)||46.4%| -|0027|Remove Element|[Go]({{< relref "/ChapterFour/0000~0099/0027.Remove-Element.md" >}})|Easy| O(n)| O(1)||49.1%| -|0033|Search in Rotated Sorted Array|[Go]({{< relref "/ChapterFour/0000~0099/0033.Search-in-Rotated-Sorted-Array.md" >}})|Medium||||35.7%| -|0034|Find First and Last Position of Element in Sorted Array|[Go]({{< relref "/ChapterFour/0000~0099/0034.Find-First-and-Last-Position-of-Element-in-Sorted-Array.md" >}})|Medium||||37.2%| -|0035|Search Insert Position|[Go]({{< relref "/ChapterFour/0000~0099/0035.Search-Insert-Position.md" >}})|Easy||||42.8%| -|0039|Combination Sum|[Go]({{< relref "/ChapterFour/0000~0099/0039.Combination-Sum.md" >}})|Medium| O(n log n)| O(n)||58.9%| -|0040|Combination Sum II|[Go]({{< relref "/ChapterFour/0000~0099/0040.Combination-Sum-II.md" >}})|Medium| O(n log n)| O(n)||49.9%| -|0041|First Missing Positive|[Go]({{< relref "/ChapterFour/0000~0099/0041.First-Missing-Positive.md" >}})|Hard| O(n)| O(n)||33.5%| -|0042|Trapping Rain Water|[Go]({{< relref "/ChapterFour/0000~0099/0042.Trapping-Rain-Water.md" >}})|Hard| O(n)| O(1)|❤️|50.9%| -|0048|Rotate Image|[Go]({{< relref "/ChapterFour/0000~0099/0048.Rotate-Image.md" >}})|Medium| O(n)| O(1)||59.5%| -|0053|Maximum Subarray|[Go]({{< relref "/ChapterFour/0000~0099/0053.Maximum-Subarray.md" >}})|Easy| O(n)| O(n)||47.6%| -|0054|Spiral Matrix|[Go]({{< relref "/ChapterFour/0000~0099/0054.Spiral-Matrix.md" >}})|Medium| O(n)| O(n^2)||35.6%| -|0055|Jump Game|[Go]({{< relref "/ChapterFour/0000~0099/0055.Jump-Game.md" >}})|Medium||||35.1%| -|0056|Merge Intervals|[Go]({{< relref "/ChapterFour/0000~0099/0056.Merge-Intervals.md" >}})|Medium| O(n log n)| O(1)||40.8%| -|0057|Insert Interval|[Go]({{< relref "/ChapterFour/0000~0099/0057.Insert-Interval.md" >}})|Medium| O(n)| O(1)||34.9%| -|0059|Spiral Matrix II|[Go]({{< relref "/ChapterFour/0000~0099/0059.Spiral-Matrix-II.md" >}})|Medium| O(n)| O(n^2)||57.5%| -|0062|Unique Paths|[Go]({{< relref "/ChapterFour/0000~0099/0062.Unique-Paths.md" >}})|Medium| O(n^2)| O(n^2)||55.7%| -|0063|Unique Paths II|[Go]({{< relref "/ChapterFour/0000~0099/0063.Unique-Paths-II.md" >}})|Medium| O(n^2)| O(n^2)||35.2%| -|0064|Minimum Path Sum|[Go]({{< relref "/ChapterFour/0000~0099/0064.Minimum-Path-Sum.md" >}})|Medium| O(n^2)| O(n^2)||56.0%| -|0066|Plus One|[Go]({{< relref "/ChapterFour/0000~0099/0066.Plus-One.md" >}})|Easy||||42.4%| -|0074|Search a 2D Matrix|[Go]({{< relref "/ChapterFour/0000~0099/0074.Search-a-2D-Matrix.md" >}})|Medium||||37.5%| -|0075|Sort Colors|[Go]({{< relref "/ChapterFour/0000~0099/0075.Sort-Colors.md" >}})|Medium| O(n)| O(1)|❤️|49.1%| -|0078|Subsets|[Go]({{< relref "/ChapterFour/0000~0099/0078.Subsets.md" >}})|Medium| O(n^2)| O(n)|❤️|64.7%| -|0079|Word Search|[Go]({{< relref "/ChapterFour/0000~0099/0079.Word-Search.md" >}})|Medium| O(n^2)| O(n^2)|❤️|36.6%| -|0080|Remove Duplicates from Sorted Array II|[Go]({{< relref "/ChapterFour/0000~0099/0080.Remove-Duplicates-from-Sorted-Array-II.md" >}})|Medium| O(n)| O(1||45.9%| -|0081|Search in Rotated Sorted Array II|[Go]({{< relref "/ChapterFour/0000~0099/0081.Search-in-Rotated-Sorted-Array-II.md" >}})|Medium||||33.5%| -|0084|Largest Rectangle in Histogram|[Go]({{< relref "/ChapterFour/0000~0099/0084.Largest-Rectangle-in-Histogram.md" >}})|Hard| O(n)| O(n)|❤️|36.9%| -|0088|Merge Sorted Array|[Go]({{< relref "/ChapterFour/0000~0099/0088.Merge-Sorted-Array.md" >}})|Easy| O(n)| O(1)|❤️|40.6%| -|0090|Subsets II|[Go]({{< relref "/ChapterFour/0000~0099/0090.Subsets-II.md" >}})|Medium| O(n^2)| O(n)|❤️|48.6%| +|0001|Two Sum|[Go]({{< relref "/ChapterFour/0001~0099/0001.Two-Sum.md" >}})|Easy| O(n)| O(n)||46.3%| +|0004|Median of Two Sorted Arrays|[Go]({{< relref "/ChapterFour/0001~0099/0004.Median-of-Two-Sorted-Arrays.md" >}})|Hard||||30.9%| +|0011|Container With Most Water|[Go]({{< relref "/ChapterFour/0001~0099/0011.Container-With-Most-Water.md" >}})|Medium| O(n)| O(1)||52.3%| +|0015|3Sum|[Go]({{< relref "/ChapterFour/0001~0099/0015.3Sum.md" >}})|Medium| O(n^2)| O(n)|❤️|27.8%| +|0016|3Sum Closest|[Go]({{< relref "/ChapterFour/0001~0099/0016.3Sum-Closest.md" >}})|Medium| O(n^2)| O(1)|❤️|46.3%| +|0018|4Sum|[Go]({{< relref "/ChapterFour/0001~0099/0018.4Sum.md" >}})|Medium| O(n^3)| O(n^2)|❤️|34.7%| +|0026|Remove Duplicates from Sorted Array|[Go]({{< relref "/ChapterFour/0001~0099/0026.Remove-Duplicates-from-Sorted-Array.md" >}})|Easy| O(n)| O(1)||46.4%| +|0027|Remove Element|[Go]({{< relref "/ChapterFour/0001~0099/0027.Remove-Element.md" >}})|Easy| O(n)| O(1)||49.1%| +|0033|Search in Rotated Sorted Array|[Go]({{< relref "/ChapterFour/0001~0099/0033.Search-in-Rotated-Sorted-Array.md" >}})|Medium||||35.7%| +|0034|Find First and Last Position of Element in Sorted Array|[Go]({{< relref "/ChapterFour/0001~0099/0034.Find-First-and-Last-Position-of-Element-in-Sorted-Array.md" >}})|Medium||||37.2%| +|0035|Search Insert Position|[Go]({{< relref "/ChapterFour/0001~0099/0035.Search-Insert-Position.md" >}})|Easy||||42.8%| +|0039|Combination Sum|[Go]({{< relref "/ChapterFour/0001~0099/0039.Combination-Sum.md" >}})|Medium| O(n log n)| O(n)||58.9%| +|0040|Combination Sum II|[Go]({{< relref "/ChapterFour/0001~0099/0040.Combination-Sum-II.md" >}})|Medium| O(n log n)| O(n)||49.9%| +|0041|First Missing Positive|[Go]({{< relref "/ChapterFour/0001~0099/0041.First-Missing-Positive.md" >}})|Hard| O(n)| O(n)||33.5%| +|0042|Trapping Rain Water|[Go]({{< relref "/ChapterFour/0001~0099/0042.Trapping-Rain-Water.md" >}})|Hard| O(n)| O(1)|❤️|50.9%| +|0048|Rotate Image|[Go]({{< relref "/ChapterFour/0001~0099/0048.Rotate-Image.md" >}})|Medium| O(n)| O(1)||59.5%| +|0053|Maximum Subarray|[Go]({{< relref "/ChapterFour/0001~0099/0053.Maximum-Subarray.md" >}})|Easy| O(n)| O(n)||47.6%| +|0054|Spiral Matrix|[Go]({{< relref "/ChapterFour/0001~0099/0054.Spiral-Matrix.md" >}})|Medium| O(n)| O(n^2)||35.6%| +|0055|Jump Game|[Go]({{< relref "/ChapterFour/0001~0099/0055.Jump-Game.md" >}})|Medium||||35.1%| +|0056|Merge Intervals|[Go]({{< relref "/ChapterFour/0001~0099/0056.Merge-Intervals.md" >}})|Medium| O(n log n)| O(1)||40.8%| +|0057|Insert Interval|[Go]({{< relref "/ChapterFour/0001~0099/0057.Insert-Interval.md" >}})|Medium| O(n)| O(1)||34.9%| +|0059|Spiral Matrix II|[Go]({{< relref "/ChapterFour/0001~0099/0059.Spiral-Matrix-II.md" >}})|Medium| O(n)| O(n^2)||57.5%| +|0062|Unique Paths|[Go]({{< relref "/ChapterFour/0001~0099/0062.Unique-Paths.md" >}})|Medium| O(n^2)| O(n^2)||55.7%| +|0063|Unique Paths II|[Go]({{< relref "/ChapterFour/0001~0099/0063.Unique-Paths-II.md" >}})|Medium| O(n^2)| O(n^2)||35.2%| +|0064|Minimum Path Sum|[Go]({{< relref "/ChapterFour/0001~0099/0064.Minimum-Path-Sum.md" >}})|Medium| O(n^2)| O(n^2)||56.0%| +|0066|Plus One|[Go]({{< relref "/ChapterFour/0001~0099/0066.Plus-One.md" >}})|Easy||||42.4%| +|0074|Search a 2D Matrix|[Go]({{< relref "/ChapterFour/0001~0099/0074.Search-a-2D-Matrix.md" >}})|Medium||||37.5%| +|0075|Sort Colors|[Go]({{< relref "/ChapterFour/0001~0099/0075.Sort-Colors.md" >}})|Medium| O(n)| O(1)|❤️|49.1%| +|0078|Subsets|[Go]({{< relref "/ChapterFour/0001~0099/0078.Subsets.md" >}})|Medium| O(n^2)| O(n)|❤️|64.7%| +|0079|Word Search|[Go]({{< relref "/ChapterFour/0001~0099/0079.Word-Search.md" >}})|Medium| O(n^2)| O(n^2)|❤️|36.6%| +|0080|Remove Duplicates from Sorted Array II|[Go]({{< relref "/ChapterFour/0001~0099/0080.Remove-Duplicates-from-Sorted-Array-II.md" >}})|Medium| O(n)| O(1||45.9%| +|0081|Search in Rotated Sorted Array II|[Go]({{< relref "/ChapterFour/0001~0099/0081.Search-in-Rotated-Sorted-Array-II.md" >}})|Medium||||33.5%| +|0084|Largest Rectangle in Histogram|[Go]({{< relref "/ChapterFour/0001~0099/0084.Largest-Rectangle-in-Histogram.md" >}})|Hard| O(n)| O(n)|❤️|36.9%| +|0088|Merge Sorted Array|[Go]({{< relref "/ChapterFour/0001~0099/0088.Merge-Sorted-Array.md" >}})|Easy| O(n)| O(1)|❤️|40.6%| +|0090|Subsets II|[Go]({{< relref "/ChapterFour/0001~0099/0090.Subsets-II.md" >}})|Medium| O(n^2)| O(n)|❤️|48.6%| |0105|Construct Binary Tree from Preorder and Inorder Traversal|[Go]({{< relref "/ChapterFour/0100~0199/0105.Construct-Binary-Tree-from-Preorder-and-Inorder-Traversal.md" >}})|Medium||||51.4%| |0106|Construct Binary Tree from Inorder and Postorder Traversal|[Go]({{< relref "/ChapterFour/0100~0199/0106.Construct-Binary-Tree-from-Inorder-and-Postorder-Traversal.md" >}})|Medium||||49.3%| |0118|Pascal's Triangle|[Go]({{< relref "/ChapterFour/0100~0199/0118.Pascals-Triangle.md" >}})|Easy||||54.5%| @@ -66,7 +66,7 @@ weight: 1 |0229|Majority Element II|[Go]({{< relref "/ChapterFour/0200~0299/0229.Majority-Element-II.md" >}})|Medium||||38.6%| |0268|Missing Number|[Go]({{< relref "/ChapterFour/0200~0299/0268.Missing-Number.md" >}})|Easy||||53.5%| |0283|Move Zeroes|[Go]({{< relref "/ChapterFour/0200~0299/0283.Move-Zeroes.md" >}})|Easy| O(n)| O(1)||58.5%| -|0287|Find the Duplicate Number|[Go]({{< relref "/ChapterFour/0200~0299/0287.Find-the-Duplicate-Number.md" >}})|Medium| O(n)| O(1)|❤️|57.2%| +|0287|Find the Duplicate Number|[Go]({{< relref "/ChapterFour/0200~0299/0287.Find-the-Duplicate-Number.md" >}})|Medium| O(n)| O(1)|❤️|57.3%| |0414|Third Maximum Number|[Go]({{< relref "/ChapterFour/0400~0499/0414.Third-Maximum-Number.md" >}})|Easy||||30.6%| |0448|Find All Numbers Disappeared in an Array|[Go]({{< relref "/ChapterFour/0400~0499/0448.Find-All-Numbers-Disappeared-in-an-Array.md" >}})|Easy||||56.1%| |0457|Circular Array Loop|[Go]({{< relref "/ChapterFour/0400~0499/0457.Circular-Array-Loop.md" >}})|Medium||||30.0%| @@ -105,8 +105,8 @@ weight: 1 |0978|Longest Turbulent Subarray|[Go]({{< relref "/ChapterFour/0900~0999/0978.Longest-Turbulent-Subarray.md" >}})|Medium||||46.6%| |0985|Sum of Even Numbers After Queries|[Go]({{< relref "/ChapterFour/0900~0999/0985.Sum-of-Even-Numbers-After-Queries.md" >}})|Easy||||60.7%| |0989|Add to Array-Form of Integer|[Go]({{< relref "/ChapterFour/0900~0999/0989.Add-to-Array-Form-of-Integer.md" >}})|Easy||||44.7%| -|0999|Available Captures for Rook|[Go]({{< relref "/ChapterFour/0900~0999/0999.Available-Captures-for-Rook.md" >}})|Easy||||67.1%| -|1002|Find Common Characters|[Go]({{< relref "/ChapterFour/1000~1099/1002.Find-Common-Characters.md" >}})|Easy||||68.2%| +|0999|Available Captures for Rook|[Go]({{< relref "/ChapterFour/0900~0999/0999.Available-Captures-for-Rook.md" >}})|Easy||||67.2%| +|1002|Find Common Characters|[Go]({{< relref "/ChapterFour/1000~1099/1002.Find-Common-Characters.md" >}})|Easy||||68.3%| |1011|Capacity To Ship Packages Within D Days|[Go]({{< relref "/ChapterFour/1000~1099/1011.Capacity-To-Ship-Packages-Within-D-Days.md" >}})|Medium||||59.6%| |1018|Binary Prefix Divisible By 5|[Go]({{< relref "/ChapterFour/1000~1099/1018.Binary-Prefix-Divisible-By-5.md" >}})|Easy||||47.8%| |1040|Moving Stones Until Consecutive II|[Go]({{< relref "/ChapterFour/1000~1099/1040.Moving-Stones-Until-Consecutive-II.md" >}})|Medium||||54.0%| @@ -140,18 +140,18 @@ weight: 1 |1380|Lucky Numbers in a Matrix|[Go]({{< relref "/ChapterFour/1300~1399/1380.Lucky-Numbers-in-a-Matrix.md" >}})|Easy||||70.8%| |1385|Find the Distance Value Between Two Arrays|[Go]({{< relref "/ChapterFour/1300~1399/1385.Find-the-Distance-Value-Between-Two-Arrays.md" >}})|Easy||||66.4%| |1389|Create Target Array in the Given Order|[Go]({{< relref "/ChapterFour/1300~1399/1389.Create-Target-Array-in-the-Given-Order.md" >}})|Easy||||84.8%| -|1437|Check If All 1's Are at Least Length K Places Away|[Go]({{< relref "/ChapterFour/1400~1499/1437.Check-If-All-1s-Are-at-Least-Length-K-Places-Away.md" >}})|Easy||||63.0%| +|1437|Check If All 1's Are at Least Length K Places Away|[Go]({{< relref "/ChapterFour/1400~1499/1437.Check-If-All-1s-Are-at-Least-Length-K-Places-Away.md" >}})|Easy||||63.1%| |1464|Maximum Product of Two Elements in an Array|[Go]({{< relref "/ChapterFour/1400~1499/1464.Maximum-Product-of-Two-Elements-in-an-Array.md" >}})|Easy||||77.1%| |1470|Shuffle the Array|[Go]({{< relref "/ChapterFour/1400~1499/1470.Shuffle-the-Array.md" >}})|Easy||||88.4%| |1480|Running Sum of 1d Array|[Go]({{< relref "/ChapterFour/1400~1499/1480.Running-Sum-of-1d-Array.md" >}})|Easy||||89.5%| |1512|Number of Good Pairs|[Go]({{< relref "/ChapterFour/1500~1599/1512.Number-of-Good-Pairs.md" >}})|Easy||||87.8%| |1539|Kth Missing Positive Number|[Go]({{< relref "/ChapterFour/1500~1599/1539.Kth-Missing-Positive-Number.md" >}})|Easy||||55.2%| -|1640|Check Array Formation Through Concatenation|[Go]({{< relref "/ChapterFour/1600~1699/1640.Check-Array-Formation-Through-Concatenation.md" >}})|Easy||||60.5%| -|1646|Get Maximum in Generated Array|[Go]({{< relref "/ChapterFour/1600~1699/1646.Get-Maximum-in-Generated-Array.md" >}})|Easy||||53.4%| +|1640|Check Array Formation Through Concatenation|[Go]({{< relref "/ChapterFour/1600~1699/1640.Check-Array-Formation-Through-Concatenation.md" >}})|Easy||||60.6%| +|1646|Get Maximum in Generated Array|[Go]({{< relref "/ChapterFour/1600~1699/1646.Get-Maximum-in-Generated-Array.md" >}})|Easy||||53.5%| |1652|Defuse the Bomb|[Go]({{< relref "/ChapterFour/1600~1699/1652.Defuse-the-Bomb.md" >}})|Easy||||63.5%| |1656|Design an Ordered Stream|[Go]({{< relref "/ChapterFour/1600~1699/1656.Design-an-Ordered-Stream.md" >}})|Easy||||82.1%| |1672|Richest Customer Wealth|[Go]({{< relref "/ChapterFour/1600~1699/1672.Richest-Customer-Wealth.md" >}})|Easy||||88.4%| -|------------|-------------------------------------------------------|-------| ----------------| ---------------|-------------|-------------|-------------| +|------------|------------------------------------------------------|--------------|----------------|---------------|-------------|-------------|-------------| ---------------------------------------------- diff --git a/website/content/ChapterTwo/Backtracking.md b/website/content/ChapterTwo/Backtracking.md index 0432b19b..972e2a7b 100644 --- a/website/content/ChapterTwo/Backtracking.md +++ b/website/content/ChapterTwo/Backtracking.md @@ -100,22 +100,22 @@ func updateMatrix_BFS(matrix [][]int) [][]int { | No. | Title | Solution | Difficulty | TimeComplexity | SpaceComplexity |Favorite| Acceptance | |:--------:|:------- | :--------: | :----------: | :----: | :-----: | :-----: |:-----: | -|0017|Letter Combinations of a Phone Number|[Go]({{< relref "/ChapterFour/0000~0099/0017.Letter-Combinations-of-a-Phone-Number.md" >}})|Medium| O(log n)| O(1)||48.8%| -|0022|Generate Parentheses|[Go]({{< relref "/ChapterFour/0000~0099/0022.Generate-Parentheses.md" >}})|Medium| O(log n)| O(1)||64.9%| -|0037|Sudoku Solver|[Go]({{< relref "/ChapterFour/0000~0099/0037.Sudoku-Solver.md" >}})|Hard| O(n^2)| O(n^2)|❤️|46.1%| -|0039|Combination Sum|[Go]({{< relref "/ChapterFour/0000~0099/0039.Combination-Sum.md" >}})|Medium| O(n log n)| O(n)||58.9%| -|0040|Combination Sum II|[Go]({{< relref "/ChapterFour/0000~0099/0040.Combination-Sum-II.md" >}})|Medium| O(n log n)| O(n)||49.9%| -|0046|Permutations|[Go]({{< relref "/ChapterFour/0000~0099/0046.Permutations.md" >}})|Medium| O(n)| O(n)|❤️|66.2%| -|0047|Permutations II|[Go]({{< relref "/ChapterFour/0000~0099/0047.Permutations-II.md" >}})|Medium| O(n^2)| O(n)|❤️|49.1%| -|0051|N-Queens|[Go]({{< relref "/ChapterFour/0000~0099/0051.N-Queens.md" >}})|Hard| O(n!)| O(n)|❤️|49.2%| -|0052|N-Queens II|[Go]({{< relref "/ChapterFour/0000~0099/0052.N-Queens-II.md" >}})|Hard| O(n!)| O(n)|❤️|59.8%| -|0060|Permutation Sequence|[Go]({{< relref "/ChapterFour/0000~0099/0060.Permutation-Sequence.md" >}})|Hard| O(n log n)| O(1)||39.3%| -|0077|Combinations|[Go]({{< relref "/ChapterFour/0000~0099/0077.Combinations.md" >}})|Medium| O(n)| O(n)|❤️|57.1%| -|0078|Subsets|[Go]({{< relref "/ChapterFour/0000~0099/0078.Subsets.md" >}})|Medium| O(n^2)| O(n)|❤️|64.7%| -|0079|Word Search|[Go]({{< relref "/ChapterFour/0000~0099/0079.Word-Search.md" >}})|Medium| O(n^2)| O(n^2)|❤️|36.6%| -|0089|Gray Code|[Go]({{< relref "/ChapterFour/0000~0099/0089.Gray-Code.md" >}})|Medium| O(n)| O(1)||50.2%| -|0090|Subsets II|[Go]({{< relref "/ChapterFour/0000~0099/0090.Subsets-II.md" >}})|Medium| O(n^2)| O(n)|❤️|48.6%| -|0093|Restore IP Addresses|[Go]({{< relref "/ChapterFour/0000~0099/0093.Restore-IP-Addresses.md" >}})|Medium| O(n)| O(n)|❤️|37.3%| +|0017|Letter Combinations of a Phone Number|[Go]({{< relref "/ChapterFour/0001~0099/0017.Letter-Combinations-of-a-Phone-Number.md" >}})|Medium| O(log n)| O(1)||48.8%| +|0022|Generate Parentheses|[Go]({{< relref "/ChapterFour/0001~0099/0022.Generate-Parentheses.md" >}})|Medium| O(log n)| O(1)||64.9%| +|0037|Sudoku Solver|[Go]({{< relref "/ChapterFour/0001~0099/0037.Sudoku-Solver.md" >}})|Hard| O(n^2)| O(n^2)|❤️|46.1%| +|0039|Combination Sum|[Go]({{< relref "/ChapterFour/0001~0099/0039.Combination-Sum.md" >}})|Medium| O(n log n)| O(n)||58.9%| +|0040|Combination Sum II|[Go]({{< relref "/ChapterFour/0001~0099/0040.Combination-Sum-II.md" >}})|Medium| O(n log n)| O(n)||49.9%| +|0046|Permutations|[Go]({{< relref "/ChapterFour/0001~0099/0046.Permutations.md" >}})|Medium| O(n)| O(n)|❤️|66.2%| +|0047|Permutations II|[Go]({{< relref "/ChapterFour/0001~0099/0047.Permutations-II.md" >}})|Medium| O(n^2)| O(n)|❤️|49.1%| +|0051|N-Queens|[Go]({{< relref "/ChapterFour/0001~0099/0051.N-Queens.md" >}})|Hard| O(n!)| O(n)|❤️|49.2%| +|0052|N-Queens II|[Go]({{< relref "/ChapterFour/0001~0099/0052.N-Queens-II.md" >}})|Hard| O(n!)| O(n)|❤️|59.8%| +|0060|Permutation Sequence|[Go]({{< relref "/ChapterFour/0001~0099/0060.Permutation-Sequence.md" >}})|Hard| O(n log n)| O(1)||39.3%| +|0077|Combinations|[Go]({{< relref "/ChapterFour/0001~0099/0077.Combinations.md" >}})|Medium| O(n)| O(n)|❤️|57.1%| +|0078|Subsets|[Go]({{< relref "/ChapterFour/0001~0099/0078.Subsets.md" >}})|Medium| O(n^2)| O(n)|❤️|64.7%| +|0079|Word Search|[Go]({{< relref "/ChapterFour/0001~0099/0079.Word-Search.md" >}})|Medium| O(n^2)| O(n^2)|❤️|36.6%| +|0089|Gray Code|[Go]({{< relref "/ChapterFour/0001~0099/0089.Gray-Code.md" >}})|Medium| O(n)| O(1)||50.2%| +|0090|Subsets II|[Go]({{< relref "/ChapterFour/0001~0099/0090.Subsets-II.md" >}})|Medium| O(n^2)| O(n)|❤️|48.6%| +|0093|Restore IP Addresses|[Go]({{< relref "/ChapterFour/0001~0099/0093.Restore-IP-Addresses.md" >}})|Medium| O(n)| O(n)|❤️|37.3%| |0126|Word Ladder II|[Go]({{< relref "/ChapterFour/0100~0199/0126.Word-Ladder-II.md" >}})|Hard| O(n)| O(n^2)|❤️|23.5%| |0131|Palindrome Partitioning|[Go]({{< relref "/ChapterFour/0100~0199/0131.Palindrome-Partitioning.md" >}})|Medium| O(n)| O(n^2)|❤️|51.5%| |0211|Design Add and Search Words Data Structure|[Go]({{< relref "/ChapterFour/0200~0299/0211.Design-Add-and-Search-Words-Data-Structure.md" >}})|Medium| O(n)| O(n)|❤️|39.9%| diff --git a/website/content/ChapterTwo/Binary_Search.md b/website/content/ChapterTwo/Binary_Search.md index bdcc6a5d..0f9eb06e 100644 --- a/website/content/ChapterTwo/Binary_Search.md +++ b/website/content/ChapterTwo/Binary_Search.md @@ -131,15 +131,15 @@ func peakIndexInMountainArray(A []int) int { | No. | Title | Solution | Difficulty | TimeComplexity | SpaceComplexity |Favorite| Acceptance | |:--------:|:------- | :--------: | :----------: | :----: | :-----: | :-----: |:-----: | -|0004|Median of Two Sorted Arrays|[Go]({{< relref "/ChapterFour/0000~0099/0004.Median-of-Two-Sorted-Arrays.md" >}})|Hard||||30.9%| -|0029|Divide Two Integers|[Go]({{< relref "/ChapterFour/0000~0099/0029.Divide-Two-Integers.md" >}})|Medium||||16.6%| -|0033|Search in Rotated Sorted Array|[Go]({{< relref "/ChapterFour/0000~0099/0033.Search-in-Rotated-Sorted-Array.md" >}})|Medium||||35.7%| -|0034|Find First and Last Position of Element in Sorted Array|[Go]({{< relref "/ChapterFour/0000~0099/0034.Find-First-and-Last-Position-of-Element-in-Sorted-Array.md" >}})|Medium||||37.2%| -|0035|Search Insert Position|[Go]({{< relref "/ChapterFour/0000~0099/0035.Search-Insert-Position.md" >}})|Easy||||42.8%| -|0050|Pow(x, n)|[Go]({{< relref "/ChapterFour/0000~0099/0050.Powx-n.md" >}})|Medium| O(log n)| O(1)||30.8%| -|0069|Sqrt(x)|[Go]({{< relref "/ChapterFour/0000~0099/0069.Sqrtx.md" >}})|Easy| O(log n)| O(1)||34.9%| -|0074|Search a 2D Matrix|[Go]({{< relref "/ChapterFour/0000~0099/0074.Search-a-2D-Matrix.md" >}})|Medium||||37.5%| -|0081|Search in Rotated Sorted Array II|[Go]({{< relref "/ChapterFour/0000~0099/0081.Search-in-Rotated-Sorted-Array-II.md" >}})|Medium||||33.5%| +|0004|Median of Two Sorted Arrays|[Go]({{< relref "/ChapterFour/0001~0099/0004.Median-of-Two-Sorted-Arrays.md" >}})|Hard||||30.9%| +|0029|Divide Two Integers|[Go]({{< relref "/ChapterFour/0001~0099/0029.Divide-Two-Integers.md" >}})|Medium||||16.6%| +|0033|Search in Rotated Sorted Array|[Go]({{< relref "/ChapterFour/0001~0099/0033.Search-in-Rotated-Sorted-Array.md" >}})|Medium||||35.7%| +|0034|Find First and Last Position of Element in Sorted Array|[Go]({{< relref "/ChapterFour/0001~0099/0034.Find-First-and-Last-Position-of-Element-in-Sorted-Array.md" >}})|Medium||||37.2%| +|0035|Search Insert Position|[Go]({{< relref "/ChapterFour/0001~0099/0035.Search-Insert-Position.md" >}})|Easy||||42.8%| +|0050|Pow(x, n)|[Go]({{< relref "/ChapterFour/0001~0099/0050.Powx-n.md" >}})|Medium| O(log n)| O(1)||30.8%| +|0069|Sqrt(x)|[Go]({{< relref "/ChapterFour/0001~0099/0069.Sqrtx.md" >}})|Easy| O(log n)| O(1)||34.9%| +|0074|Search a 2D Matrix|[Go]({{< relref "/ChapterFour/0001~0099/0074.Search-a-2D-Matrix.md" >}})|Medium||||37.5%| +|0081|Search in Rotated Sorted Array II|[Go]({{< relref "/ChapterFour/0001~0099/0081.Search-in-Rotated-Sorted-Array-II.md" >}})|Medium||||33.5%| |0153|Find Minimum in Rotated Sorted Array|[Go]({{< relref "/ChapterFour/0100~0199/0153.Find-Minimum-in-Rotated-Sorted-Array.md" >}})|Medium||||46.0%| |0154|Find Minimum in Rotated Sorted Array II|[Go]({{< relref "/ChapterFour/0100~0199/0154.Find-Minimum-in-Rotated-Sorted-Array-II.md" >}})|Hard||||42.0%| |0162|Find Peak Element|[Go]({{< relref "/ChapterFour/0100~0199/0162.Find-Peak-Element.md" >}})|Medium||||43.9%| @@ -150,7 +150,7 @@ func peakIndexInMountainArray(A []int) int { |0230|Kth Smallest Element in a BST|[Go]({{< relref "/ChapterFour/0200~0299/0230.Kth-Smallest-Element-in-a-BST.md" >}})|Medium| O(n)| O(1)||62.3%| |0240|Search a 2D Matrix II|[Go]({{< relref "/ChapterFour/0200~0299/0240.Search-a-2D-Matrix-II.md" >}})|Medium||||44.2%| |0275|H-Index II|[Go]({{< relref "/ChapterFour/0200~0299/0275.H-Index-II.md" >}})|Medium||||36.2%| -|0287|Find the Duplicate Number|[Go]({{< relref "/ChapterFour/0200~0299/0287.Find-the-Duplicate-Number.md" >}})|Medium| O(n)| O(1)|❤️|57.2%| +|0287|Find the Duplicate Number|[Go]({{< relref "/ChapterFour/0200~0299/0287.Find-the-Duplicate-Number.md" >}})|Medium| O(n)| O(1)|❤️|57.3%| |0300|Longest Increasing Subsequence|[Go]({{< relref "/ChapterFour/0300~0399/0300.Longest-Increasing-Subsequence.md" >}})|Medium| O(n log n)| O(n)||43.7%| |0315|Count of Smaller Numbers After Self|[Go]({{< relref "/ChapterFour/0300~0399/0315.Count-of-Smaller-Numbers-After-Self.md" >}})|Hard||||42.6%| |0327|Count of Range Sum|[Go]({{< relref "/ChapterFour/0300~0399/0327.Count-of-Range-Sum.md" >}})|Hard||||35.9%| diff --git a/website/content/ChapterTwo/Bit_Manipulation.md b/website/content/ChapterTwo/Bit_Manipulation.md index 3d0f6000..fa96f115 100644 --- a/website/content/ChapterTwo/Bit_Manipulation.md +++ b/website/content/ChapterTwo/Bit_Manipulation.md @@ -44,7 +44,7 @@ X & ~X = 0 | No. | Title | Solution | Difficulty | TimeComplexity | SpaceComplexity |Favorite| Acceptance | |:--------:|:------- | :--------: | :----------: | :----: | :-----: | :-----: |:-----: | -|0078|Subsets|[Go]({{< relref "/ChapterFour/0000~0099/0078.Subsets.md" >}})|Medium| O(n^2)| O(n)|❤️|64.7%| +|0078|Subsets|[Go]({{< relref "/ChapterFour/0001~0099/0078.Subsets.md" >}})|Medium| O(n^2)| O(n)|❤️|64.7%| |0136|Single Number|[Go]({{< relref "/ChapterFour/0100~0199/0136.Single-Number.md" >}})|Easy| O(n)| O(1)||66.4%| |0137|Single Number II|[Go]({{< relref "/ChapterFour/0100~0199/0137.Single-Number-II.md" >}})|Medium| O(n)| O(1)|❤️|53.6%| |0169|Majority Element|[Go]({{< relref "/ChapterFour/0100~0199/0169.Majority-Element.md" >}})|Easy| O(n)| O(1)|❤️|59.9%| @@ -73,7 +73,7 @@ X & ~X = 0 |0762|Prime Number of Set Bits in Binary Representation|[Go]({{< relref "/ChapterFour/0700~0799/0762.Prime-Number-of-Set-Bits-in-Binary-Representation.md" >}})|Easy| O(n)| O(1)||64.2%| |0784|Letter Case Permutation|[Go]({{< relref "/ChapterFour/0700~0799/0784.Letter-Case-Permutation.md" >}})|Medium| O(n)| O(1)||66.3%| |0898|Bitwise ORs of Subarrays|[Go]({{< relref "/ChapterFour/0800~0899/0898.Bitwise-ORs-of-Subarrays.md" >}})|Medium| O(n)| O(1)||34.0%| -|1290|Convert Binary Number in a Linked List to Integer|[Go]({{< relref "/ChapterFour/1200~1299/1290.Convert-Binary-Number-in-a-Linked-List-to-Integer.md" >}})|Easy||||81.6%| +|1290|Convert Binary Number in a Linked List to Integer|[Go]({{< relref "/ChapterFour/1200~1299/1290.Convert-Binary-Number-in-a-Linked-List-to-Integer.md" >}})|Easy||||81.7%| |------------|-------------------------------------------------------|-------| ----------------| ---------------|-------------|-------------|-------------| diff --git a/website/content/ChapterTwo/Breadth_First_Search.md b/website/content/ChapterTwo/Breadth_First_Search.md index 59ae3797..0b9b1ed4 100644 --- a/website/content/ChapterTwo/Breadth_First_Search.md +++ b/website/content/ChapterTwo/Breadth_First_Search.md @@ -28,7 +28,7 @@ weight: 10 |0785|Is Graph Bipartite?|[Go]({{< relref "/ChapterFour/0700~0799/0785.Is-Graph-Bipartite.md" >}})|Medium||||48.2%| |0815|Bus Routes|[Go]({{< relref "/ChapterFour/0800~0899/0815.Bus-Routes.md" >}})|Hard||||43.3%| |0863|All Nodes Distance K in Binary Tree|[Go]({{< relref "/ChapterFour/0800~0899/0863.All-Nodes-Distance-K-in-Binary-Tree.md" >}})|Medium||||57.6%| -|0864|Shortest Path to Get All Keys|[Go]({{< relref "/ChapterFour/0800~0899/0864.Shortest-Path-to-Get-All-Keys.md" >}})|Hard||||41.7%| +|0864|Shortest Path to Get All Keys|[Go]({{< relref "/ChapterFour/0800~0899/0864.Shortest-Path-to-Get-All-Keys.md" >}})|Hard||||41.6%| |0993|Cousins in Binary Tree|[Go]({{< relref "/ChapterFour/0900~0999/0993.Cousins-in-Binary-Tree.md" >}})|Easy| O(n)| O(1)||52.3%| |1306|Jump Game III|[Go]({{< relref "/ChapterFour/1300~1399/1306.Jump-Game-III.md" >}})|Medium||||62.6%| |1319|Number of Operations to Make Network Connected|[Go]({{< relref "/ChapterFour/1300~1399/1319.Number-of-Operations-to-Make-Network-Connected.md" >}})|Medium||||55.1%| diff --git a/website/content/ChapterTwo/Depth_First_Search.md b/website/content/ChapterTwo/Depth_First_Search.md index 25ec3a17..f9c22532 100644 --- a/website/content/ChapterTwo/Depth_First_Search.md +++ b/website/content/ChapterTwo/Depth_First_Search.md @@ -9,9 +9,9 @@ weight: 9 | No. | Title | Solution | Difficulty | TimeComplexity | SpaceComplexity |Favorite| Acceptance | |:--------:|:------- | :--------: | :----------: | :----: | :-----: | :-----: |:-----: | -|0017|Letter Combinations of a Phone Number|[Go]({{< relref "/ChapterFour/0000~0099/0017.Letter-Combinations-of-a-Phone-Number.md" >}})|Medium||||48.8%| -|0098|Validate Binary Search Tree|[Go]({{< relref "/ChapterFour/0000~0099/0098.Validate-Binary-Search-Tree.md" >}})|Medium| O(n)| O(1)||28.6%| -|0099|Recover Binary Search Tree|[Go]({{< relref "/ChapterFour/0000~0099/0099.Recover-Binary-Search-Tree.md" >}})|Hard| O(n)| O(1)||42.2%| +|0017|Letter Combinations of a Phone Number|[Go]({{< relref "/ChapterFour/0001~0099/0017.Letter-Combinations-of-a-Phone-Number.md" >}})|Medium||||48.8%| +|0098|Validate Binary Search Tree|[Go]({{< relref "/ChapterFour/0001~0099/0098.Validate-Binary-Search-Tree.md" >}})|Medium| O(n)| O(1)||28.6%| +|0099|Recover Binary Search Tree|[Go]({{< relref "/ChapterFour/0001~0099/0099.Recover-Binary-Search-Tree.md" >}})|Hard| O(n)| O(1)||42.2%| |0100|Same Tree|[Go]({{< relref "/ChapterFour/0100~0199/0100.Same-Tree.md" >}})|Easy| O(n)| O(1)||54.0%| |0101|Symmetric Tree|[Go]({{< relref "/ChapterFour/0100~0199/0101.Symmetric-Tree.md" >}})|Easy| O(n)| O(1)||47.9%| |0104|Maximum Depth of Binary Tree|[Go]({{< relref "/ChapterFour/0100~0199/0104.Maximum-Depth-of-Binary-Tree.md" >}})|Easy| O(n)| O(1)||67.8%| diff --git a/website/content/ChapterTwo/Dynamic_Programming.md b/website/content/ChapterTwo/Dynamic_Programming.md index ac3abc3f..b1b159df 100644 --- a/website/content/ChapterTwo/Dynamic_Programming.md +++ b/website/content/ChapterTwo/Dynamic_Programming.md @@ -9,15 +9,15 @@ weight: 7 | No. | Title | Solution | Difficulty | TimeComplexity | SpaceComplexity |Favorite| Acceptance | |:--------:|:------- | :--------: | :----------: | :----: | :-----: | :-----: |:-----: | -|0042|Trapping Rain Water|[Go]({{< relref "/ChapterFour/0000~0099/0042.Trapping-Rain-Water.md" >}})|Hard||||50.9%| -|0053|Maximum Subarray|[Go]({{< relref "/ChapterFour/0000~0099/0053.Maximum-Subarray.md" >}})|Easy| O(n)| O(n)||47.6%| -|0062|Unique Paths|[Go]({{< relref "/ChapterFour/0000~0099/0062.Unique-Paths.md" >}})|Medium| O(n^2)| O(n^2)||55.7%| -|0063|Unique Paths II|[Go]({{< relref "/ChapterFour/0000~0099/0063.Unique-Paths-II.md" >}})|Medium| O(n^2)| O(n^2)||35.2%| -|0064|Minimum Path Sum|[Go]({{< relref "/ChapterFour/0000~0099/0064.Minimum-Path-Sum.md" >}})|Medium| O(n^2)| O(n^2)||56.0%| -|0070|Climbing Stairs|[Go]({{< relref "/ChapterFour/0000~0099/0070.Climbing-Stairs.md" >}})|Easy| O(n)| O(n)||48.5%| -|0091|Decode Ways|[Go]({{< relref "/ChapterFour/0000~0099/0091.Decode-Ways.md" >}})|Medium| O(n)| O(n)||26.3%| -|0095|Unique Binary Search Trees II|[Go]({{< relref "/ChapterFour/0000~0099/0095.Unique-Binary-Search-Trees-II.md" >}})|Medium||||42.2%| -|0096|Unique Binary Search Trees|[Go]({{< relref "/ChapterFour/0000~0099/0096.Unique-Binary-Search-Trees.md" >}})|Medium| O(n)| O(n)||54.2%| +|0042|Trapping Rain Water|[Go]({{< relref "/ChapterFour/0001~0099/0042.Trapping-Rain-Water.md" >}})|Hard||||50.9%| +|0053|Maximum Subarray|[Go]({{< relref "/ChapterFour/0001~0099/0053.Maximum-Subarray.md" >}})|Easy| O(n)| O(n)||47.6%| +|0062|Unique Paths|[Go]({{< relref "/ChapterFour/0001~0099/0062.Unique-Paths.md" >}})|Medium| O(n^2)| O(n^2)||55.7%| +|0063|Unique Paths II|[Go]({{< relref "/ChapterFour/0001~0099/0063.Unique-Paths-II.md" >}})|Medium| O(n^2)| O(n^2)||35.2%| +|0064|Minimum Path Sum|[Go]({{< relref "/ChapterFour/0001~0099/0064.Minimum-Path-Sum.md" >}})|Medium| O(n^2)| O(n^2)||56.0%| +|0070|Climbing Stairs|[Go]({{< relref "/ChapterFour/0001~0099/0070.Climbing-Stairs.md" >}})|Easy| O(n)| O(n)||48.5%| +|0091|Decode Ways|[Go]({{< relref "/ChapterFour/0001~0099/0091.Decode-Ways.md" >}})|Medium| O(n)| O(n)||26.3%| +|0095|Unique Binary Search Trees II|[Go]({{< relref "/ChapterFour/0001~0099/0095.Unique-Binary-Search-Trees-II.md" >}})|Medium||||42.2%| +|0096|Unique Binary Search Trees|[Go]({{< relref "/ChapterFour/0001~0099/0096.Unique-Binary-Search-Trees.md" >}})|Medium| O(n)| O(n)||54.2%| |0120|Triangle|[Go]({{< relref "/ChapterFour/0100~0199/0120.Triangle.md" >}})|Medium| O(n^2)| O(n)||45.6%| |0121|Best Time to Buy and Sell Stock|[Go]({{< relref "/ChapterFour/0100~0199/0121.Best-Time-to-Buy-and-Sell-Stock.md" >}})|Easy| O(n)| O(1)||51.4%| |0131|Palindrome Partitioning|[Go]({{< relref "/ChapterFour/0100~0199/0131.Palindrome-Partitioning.md" >}})|Medium||||51.5%| @@ -59,8 +59,8 @@ weight: 7 |1654|Minimum Jumps to Reach Home|[Go]({{< relref "/ChapterFour/1600~1699/1654.Minimum-Jumps-to-Reach-Home.md" >}})|Medium||||26.2%| |1655|Distribute Repeating Integers|[Go]({{< relref "/ChapterFour/1600~1699/1655.Distribute-Repeating-Integers.md" >}})|Hard||||40.4%| |1659|Maximize Grid Happiness|[Go]({{< relref "/ChapterFour/1600~1699/1659.Maximize-Grid-Happiness.md" >}})|Hard||||35.3%| -|1664|Ways to Make a Fair Array|[Go]({{< relref "/ChapterFour/1600~1699/1664.Ways-to-Make-a-Fair-Array.md" >}})|Medium||||60.6%| -|1690|Stone Game VII|[Go]({{< relref "/ChapterFour/1600~1699/1690.Stone-Game-VII.md" >}})|Medium||||47.1%| +|1664|Ways to Make a Fair Array|[Go]({{< relref "/ChapterFour/1600~1699/1664.Ways-to-Make-a-Fair-Array.md" >}})|Medium||||60.7%| +|1690|Stone Game VII|[Go]({{< relref "/ChapterFour/1600~1699/1690.Stone-Game-VII.md" >}})|Medium||||47.2%| |------------|-------------------------------------------------------|-------| ----------------| ---------------|-------------|-------------|-------------| diff --git a/website/content/ChapterTwo/Hash_Table.md b/website/content/ChapterTwo/Hash_Table.md index dac9780a..2567b01e 100644 --- a/website/content/ChapterTwo/Hash_Table.md +++ b/website/content/ChapterTwo/Hash_Table.md @@ -9,15 +9,15 @@ weight: 13 | No. | Title | Solution | Difficulty | TimeComplexity | SpaceComplexity |Favorite| Acceptance | |:--------:|:------- | :--------: | :----------: | :----: | :-----: | :-----: |:-----: | -|0001|Two Sum|[Go]({{< relref "/ChapterFour/0000~0099/0001.Two-Sum.md" >}})|Easy| O(n)| O(n)||46.3%| -|0003|Longest Substring Without Repeating Characters|[Go]({{< relref "/ChapterFour/0000~0099/0003.Longest-Substring-Without-Repeating-Characters.md" >}})|Medium| O(n)| O(1)|❤️|31.3%| -|0018|4Sum|[Go]({{< relref "/ChapterFour/0000~0099/0018.4Sum.md" >}})|Medium| O(n^3)| O(n^2)|❤️|34.7%| -|0030|Substring with Concatenation of All Words|[Go]({{< relref "/ChapterFour/0000~0099/0030.Substring-with-Concatenation-of-All-Words.md" >}})|Hard| O(n)| O(n)|❤️|26.1%| -|0036|Valid Sudoku|[Go]({{< relref "/ChapterFour/0000~0099/0036.Valid-Sudoku.md" >}})|Medium| O(n^2)| O(n^2)||50.3%| -|0037|Sudoku Solver|[Go]({{< relref "/ChapterFour/0000~0099/0037.Sudoku-Solver.md" >}})|Hard| O(n^2)| O(n^2)|❤️|46.1%| -|0049|Group Anagrams|[Go]({{< relref "/ChapterFour/0000~0099/0049.Group-Anagrams.md" >}})|Medium| O(n log n)| O(n)||59.0%| -|0076|Minimum Window Substring|[Go]({{< relref "/ChapterFour/0000~0099/0076.Minimum-Window-Substring.md" >}})|Hard| O(n)| O(n)|❤️|35.8%| -|0094|Binary Tree Inorder Traversal|[Go]({{< relref "/ChapterFour/0000~0099/0094.Binary-Tree-Inorder-Traversal.md" >}})|Medium| O(n)| O(1)||65.5%| +|0001|Two Sum|[Go]({{< relref "/ChapterFour/0001~0099/0001.Two-Sum.md" >}})|Easy| O(n)| O(n)||46.3%| +|0003|Longest Substring Without Repeating Characters|[Go]({{< relref "/ChapterFour/0001~0099/0003.Longest-Substring-Without-Repeating-Characters.md" >}})|Medium| O(n)| O(1)|❤️|31.3%| +|0018|4Sum|[Go]({{< relref "/ChapterFour/0001~0099/0018.4Sum.md" >}})|Medium| O(n^3)| O(n^2)|❤️|34.7%| +|0030|Substring with Concatenation of All Words|[Go]({{< relref "/ChapterFour/0001~0099/0030.Substring-with-Concatenation-of-All-Words.md" >}})|Hard| O(n)| O(n)|❤️|26.1%| +|0036|Valid Sudoku|[Go]({{< relref "/ChapterFour/0001~0099/0036.Valid-Sudoku.md" >}})|Medium| O(n^2)| O(n^2)||50.3%| +|0037|Sudoku Solver|[Go]({{< relref "/ChapterFour/0001~0099/0037.Sudoku-Solver.md" >}})|Hard| O(n^2)| O(n^2)|❤️|46.1%| +|0049|Group Anagrams|[Go]({{< relref "/ChapterFour/0001~0099/0049.Group-Anagrams.md" >}})|Medium| O(n log n)| O(n)||59.0%| +|0076|Minimum Window Substring|[Go]({{< relref "/ChapterFour/0001~0099/0076.Minimum-Window-Substring.md" >}})|Hard| O(n)| O(n)|❤️|35.8%| +|0094|Binary Tree Inorder Traversal|[Go]({{< relref "/ChapterFour/0001~0099/0094.Binary-Tree-Inorder-Traversal.md" >}})|Medium| O(n)| O(1)||65.5%| |0136|Single Number|[Go]({{< relref "/ChapterFour/0100~0199/0136.Single-Number.md" >}})|Easy||||66.4%| |0138|Copy List with Random Pointer|[Go]({{< relref "/ChapterFour/0100~0199/0138.Copy-List-with-Random-Pointer.md" >}})|Medium| O(n)| O(1)||39.7%| |0187|Repeated DNA Sequences|[Go]({{< relref "/ChapterFour/0100~0199/0187.Repeated-DNA-Sequences.md" >}})|Medium||||41.3%| @@ -68,14 +68,14 @@ weight: 13 |0970|Powerful Integers|[Go]({{< relref "/ChapterFour/0900~0999/0970.Powerful-Integers.md" >}})|Easy||||39.9%| |0981|Time Based Key-Value Store|[Go]({{< relref "/ChapterFour/0900~0999/0981.Time-Based-Key-Value-Store.md" >}})|Medium||||54.0%| |0992|Subarrays with K Different Integers|[Go]({{< relref "/ChapterFour/0900~0999/0992.Subarrays-with-K-Different-Integers.md" >}})|Hard| O(n)| O(n) |❤️|50.5%| -|1002|Find Common Characters|[Go]({{< relref "/ChapterFour/1000~1099/1002.Find-Common-Characters.md" >}})|Easy||||68.2%| +|1002|Find Common Characters|[Go]({{< relref "/ChapterFour/1000~1099/1002.Find-Common-Characters.md" >}})|Easy||||68.3%| |1078|Occurrences After Bigram|[Go]({{< relref "/ChapterFour/1000~1099/1078.Occurrences-After-Bigram.md" >}})|Easy||||64.8%| |1160|Find Words That Can Be Formed by Characters|[Go]({{< relref "/ChapterFour/1100~1199/1160.Find-Words-That-Can-Be-Formed-by-Characters.md" >}})|Easy||||67.6%| |1189|Maximum Number of Balloons|[Go]({{< relref "/ChapterFour/1100~1199/1189.Maximum-Number-of-Balloons.md" >}})|Easy||||61.7%| |1207|Unique Number of Occurrences|[Go]({{< relref "/ChapterFour/1200~1299/1207.Unique-Number-of-Occurrences.md" >}})|Easy||||71.6%| |1512|Number of Good Pairs|[Go]({{< relref "/ChapterFour/1500~1599/1512.Number-of-Good-Pairs.md" >}})|Easy||||87.8%| |1539|Kth Missing Positive Number|[Go]({{< relref "/ChapterFour/1500~1599/1539.Kth-Missing-Positive-Number.md" >}})|Easy||||55.2%| -|1640|Check Array Formation Through Concatenation|[Go]({{< relref "/ChapterFour/1600~1699/1640.Check-Array-Formation-Through-Concatenation.md" >}})|Easy||||60.5%| +|1640|Check Array Formation Through Concatenation|[Go]({{< relref "/ChapterFour/1600~1699/1640.Check-Array-Formation-Through-Concatenation.md" >}})|Easy||||60.6%| |1679|Max Number of K-Sum Pairs|[Go]({{< relref "/ChapterFour/1600~1699/1679.Max-Number-of-K-Sum-Pairs.md" >}})|Medium||||54.3%| |------------|-------------------------------------------------------|-------| ----------------| ---------------|-------------|-------------|-------------| diff --git a/website/content/ChapterTwo/Linked_List.md b/website/content/ChapterTwo/Linked_List.md index 3a08f5e4..82c55d2a 100644 --- a/website/content/ChapterTwo/Linked_List.md +++ b/website/content/ChapterTwo/Linked_List.md @@ -23,17 +23,17 @@ weight: 4 | No. | Title | Solution | Difficulty | TimeComplexity | SpaceComplexity |Favorite| Acceptance | |:--------:|:------- | :--------: | :----------: | :----: | :-----: | :-----: |:-----: | -|0002|Add Two Numbers|[Go]({{< relref "/ChapterFour/0000~0099/0002.Add-Two-Numbers.md" >}})|Medium| O(n)| O(1)||35.2%| -|0019|Remove Nth Node From End of List|[Go]({{< relref "/ChapterFour/0000~0099/0019.Remove-Nth-Node-From-End-of-List.md" >}})|Medium| O(n)| O(1)||35.7%| -|0021|Merge Two Sorted Lists|[Go]({{< relref "/ChapterFour/0000~0099/0021.Merge-Two-Sorted-Lists.md" >}})|Easy| O(log n)| O(1)||55.7%| -|0023|Merge k Sorted Lists|[Go]({{< relref "/ChapterFour/0000~0099/0023.Merge-k-Sorted-Lists.md" >}})|Hard| O(log n)| O(1)|❤️|42.4%| -|0024|Swap Nodes in Pairs|[Go]({{< relref "/ChapterFour/0000~0099/0024.Swap-Nodes-in-Pairs.md" >}})|Medium| O(n)| O(1)||52.8%| -|0025|Reverse Nodes in k-Group|[Go]({{< relref "/ChapterFour/0000~0099/0025.Reverse-Nodes-in-k-Group.md" >}})|Hard| O(log n)| O(1)|❤️|44.4%| -|0061|Rotate List|[Go]({{< relref "/ChapterFour/0000~0099/0061.Rotate-List.md" >}})|Medium| O(n)| O(1)||31.6%| -|0082|Remove Duplicates from Sorted List II|[Go]({{< relref "/ChapterFour/0000~0099/0082.Remove-Duplicates-from-Sorted-List-II.md" >}})|Medium| O(n)| O(1)||39.0%| -|0083|Remove Duplicates from Sorted List|[Go]({{< relref "/ChapterFour/0000~0099/0083.Remove-Duplicates-from-Sorted-List.md" >}})|Easy| O(n)| O(1)||46.3%| -|0086|Partition List|[Go]({{< relref "/ChapterFour/0000~0099/0086.Partition-List.md" >}})|Medium| O(n)| O(1)|❤️|43.1%| -|0092|Reverse Linked List II|[Go]({{< relref "/ChapterFour/0000~0099/0092.Reverse-Linked-List-II.md" >}})|Medium| O(n)| O(1)|❤️|40.3%| +|0002|Add Two Numbers|[Go]({{< relref "/ChapterFour/0001~0099/0002.Add-Two-Numbers.md" >}})|Medium| O(n)| O(1)||35.2%| +|0019|Remove Nth Node From End of List|[Go]({{< relref "/ChapterFour/0001~0099/0019.Remove-Nth-Node-From-End-of-List.md" >}})|Medium| O(n)| O(1)||35.7%| +|0021|Merge Two Sorted Lists|[Go]({{< relref "/ChapterFour/0001~0099/0021.Merge-Two-Sorted-Lists.md" >}})|Easy| O(log n)| O(1)||55.7%| +|0023|Merge k Sorted Lists|[Go]({{< relref "/ChapterFour/0001~0099/0023.Merge-k-Sorted-Lists.md" >}})|Hard| O(log n)| O(1)|❤️|42.4%| +|0024|Swap Nodes in Pairs|[Go]({{< relref "/ChapterFour/0001~0099/0024.Swap-Nodes-in-Pairs.md" >}})|Medium| O(n)| O(1)||52.8%| +|0025|Reverse Nodes in k-Group|[Go]({{< relref "/ChapterFour/0001~0099/0025.Reverse-Nodes-in-k-Group.md" >}})|Hard| O(log n)| O(1)|❤️|44.4%| +|0061|Rotate List|[Go]({{< relref "/ChapterFour/0001~0099/0061.Rotate-List.md" >}})|Medium| O(n)| O(1)||31.6%| +|0082|Remove Duplicates from Sorted List II|[Go]({{< relref "/ChapterFour/0001~0099/0082.Remove-Duplicates-from-Sorted-List-II.md" >}})|Medium| O(n)| O(1)||39.0%| +|0083|Remove Duplicates from Sorted List|[Go]({{< relref "/ChapterFour/0001~0099/0083.Remove-Duplicates-from-Sorted-List.md" >}})|Easy| O(n)| O(1)||46.3%| +|0086|Partition List|[Go]({{< relref "/ChapterFour/0001~0099/0086.Partition-List.md" >}})|Medium| O(n)| O(1)|❤️|43.1%| +|0092|Reverse Linked List II|[Go]({{< relref "/ChapterFour/0001~0099/0092.Reverse-Linked-List-II.md" >}})|Medium| O(n)| O(1)|❤️|40.3%| |0109|Convert Sorted List to Binary Search Tree|[Go]({{< relref "/ChapterFour/0100~0199/0109.Convert-Sorted-List-to-Binary-Search-Tree.md" >}})|Medium| O(log n)| O(n)||49.9%| |0138|Copy List with Random Pointer|[Go]({{< relref "/ChapterFour/0100~0199/0138.Copy-List-with-Random-Pointer.md" >}})|Medium||||39.7%| |0141|Linked List Cycle|[Go]({{< relref "/ChapterFour/0100~0199/0141.Linked-List-Cycle.md" >}})|Easy| O(n)| O(1)|❤️|42.3%| @@ -54,9 +54,9 @@ weight: 4 |0876|Middle of the Linked List|[Go]({{< relref "/ChapterFour/0800~0899/0876.Middle-of-the-Linked-List.md" >}})|Easy| O(n)| O(1)|❤️|68.9%| |1019|Next Greater Node In Linked List|[Go]({{< relref "/ChapterFour/1000~1099/1019.Next-Greater-Node-In-Linked-List.md" >}})|Medium| O(n)| O(1)||58.2%| |1171|Remove Zero Sum Consecutive Nodes from Linked List|[Go]({{< relref "/ChapterFour/1100~1199/1171.Remove-Zero-Sum-Consecutive-Nodes-from-Linked-List.md" >}})|Medium||||41.4%| -|1290|Convert Binary Number in a Linked List to Integer|[Go]({{< relref "/ChapterFour/1200~1299/1290.Convert-Binary-Number-in-a-Linked-List-to-Integer.md" >}})|Easy||||81.6%| +|1290|Convert Binary Number in a Linked List to Integer|[Go]({{< relref "/ChapterFour/1200~1299/1290.Convert-Binary-Number-in-a-Linked-List-to-Integer.md" >}})|Easy||||81.7%| |1669|Merge In Between Linked Lists|[Go]({{< relref "/ChapterFour/1600~1699/1669.Merge-In-Between-Linked-Lists.md" >}})|Medium||||77.9%| -|1670|Design Front Middle Back Queue|[Go]({{< relref "/ChapterFour/1600~1699/1670.Design-Front-Middle-Back-Queue.md" >}})|Medium||||54.7%| +|1670|Design Front Middle Back Queue|[Go]({{< relref "/ChapterFour/1600~1699/1670.Design-Front-Middle-Back-Queue.md" >}})|Medium||||54.6%| |------------|-------------------------------------------------------|-------| ----------------| ---------------|-------------|-------------|-------------| diff --git a/website/content/ChapterTwo/Math.md b/website/content/ChapterTwo/Math.md index cb1d1659..bfd2af90 100644 --- a/website/content/ChapterTwo/Math.md +++ b/website/content/ChapterTwo/Math.md @@ -9,15 +9,15 @@ weight: 12 | No. | Title | Solution | Difficulty | TimeComplexity | SpaceComplexity |Favorite| Acceptance | |:--------:|:------- | :--------: | :----------: | :----: | :-----: | :-----: |:-----: | -|0002|Add Two Numbers|[Go]({{< relref "/ChapterFour/0000~0099/0002.Add-Two-Numbers.md" >}})|Medium| O(n)| O(1)||35.2%| -|0007|Reverse Integer|[Go]({{< relref "/ChapterFour/0000~0099/0007.Reverse-Integer.md" >}})|Easy||||25.9%| -|0009|Palindrome Number|[Go]({{< relref "/ChapterFour/0000~0099/0009.Palindrome-Number.md" >}})|Easy||||49.5%| -|0013|Roman to Integer|[Go]({{< relref "/ChapterFour/0000~0099/0013.Roman-to-Integer.md" >}})|Easy||||56.4%| -|0029|Divide Two Integers|[Go]({{< relref "/ChapterFour/0000~0099/0029.Divide-Two-Integers.md" >}})|Medium||||16.6%| -|0050|Pow(x, n)|[Go]({{< relref "/ChapterFour/0000~0099/0050.Powx-n.md" >}})|Medium| O(log n)| O(1)||30.8%| -|0060|Permutation Sequence|[Go]({{< relref "/ChapterFour/0000~0099/0060.Permutation-Sequence.md" >}})|Hard| O(n log n)| O(1)||39.3%| -|0067|Add Binary|[Go]({{< relref "/ChapterFour/0000~0099/0067.Add-Binary.md" >}})|Easy||||46.7%| -|0069|Sqrt(x)|[Go]({{< relref "/ChapterFour/0000~0099/0069.Sqrtx.md" >}})|Easy| O(log n)| O(1)||34.9%| +|0002|Add Two Numbers|[Go]({{< relref "/ChapterFour/0001~0099/0002.Add-Two-Numbers.md" >}})|Medium| O(n)| O(1)||35.2%| +|0007|Reverse Integer|[Go]({{< relref "/ChapterFour/0001~0099/0007.Reverse-Integer.md" >}})|Easy||||25.9%| +|0009|Palindrome Number|[Go]({{< relref "/ChapterFour/0001~0099/0009.Palindrome-Number.md" >}})|Easy||||49.6%| +|0013|Roman to Integer|[Go]({{< relref "/ChapterFour/0001~0099/0013.Roman-to-Integer.md" >}})|Easy||||56.4%| +|0029|Divide Two Integers|[Go]({{< relref "/ChapterFour/0001~0099/0029.Divide-Two-Integers.md" >}})|Medium||||16.6%| +|0050|Pow(x, n)|[Go]({{< relref "/ChapterFour/0001~0099/0050.Powx-n.md" >}})|Medium| O(log n)| O(1)||30.8%| +|0060|Permutation Sequence|[Go]({{< relref "/ChapterFour/0001~0099/0060.Permutation-Sequence.md" >}})|Hard| O(n log n)| O(1)||39.3%| +|0067|Add Binary|[Go]({{< relref "/ChapterFour/0001~0099/0067.Add-Binary.md" >}})|Easy||||46.7%| +|0069|Sqrt(x)|[Go]({{< relref "/ChapterFour/0001~0099/0069.Sqrtx.md" >}})|Easy| O(log n)| O(1)||34.9%| |0168|Excel Sheet Column Title|[Go]({{< relref "/ChapterFour/0100~0199/0168.Excel-Sheet-Column-Title.md" >}})|Easy||||31.6%| |0171|Excel Sheet Column Number|[Go]({{< relref "/ChapterFour/0100~0199/0171.Excel-Sheet-Column-Number.md" >}})|Easy||||56.8%| |0172|Factorial Trailing Zeroes|[Go]({{< relref "/ChapterFour/0100~0199/0172.Factorial-Trailing-Zeroes.md" >}})|Easy||||38.4%| diff --git a/website/content/ChapterTwo/Sliding_Window.md b/website/content/ChapterTwo/Sliding_Window.md index 21bb67b2..2220b83f 100644 --- a/website/content/ChapterTwo/Sliding_Window.md +++ b/website/content/ChapterTwo/Sliding_Window.md @@ -29,8 +29,8 @@ weight: 17 | No. | Title | Solution | Difficulty | TimeComplexity | SpaceComplexity |Favorite| Acceptance | |:--------:|:------- | :--------: | :----------: | :----: | :-----: | :-----: |:-----: | -|0003|Longest Substring Without Repeating Characters|[Go]({{< relref "/ChapterFour/0000~0099/0003.Longest-Substring-Without-Repeating-Characters.md" >}})|Medium| O(n)| O(1)|❤️|31.3%| -|0076|Minimum Window Substring|[Go]({{< relref "/ChapterFour/0000~0099/0076.Minimum-Window-Substring.md" >}})|Hard| O(n)| O(n)|❤️|35.8%| +|0003|Longest Substring Without Repeating Characters|[Go]({{< relref "/ChapterFour/0001~0099/0003.Longest-Substring-Without-Repeating-Characters.md" >}})|Medium| O(n)| O(1)|❤️|31.3%| +|0076|Minimum Window Substring|[Go]({{< relref "/ChapterFour/0001~0099/0076.Minimum-Window-Substring.md" >}})|Hard| O(n)| O(n)|❤️|35.8%| |0239|Sliding Window Maximum|[Go]({{< relref "/ChapterFour/0200~0299/0239.Sliding-Window-Maximum.md" >}})|Hard| O(n * k)| O(n)|❤️|44.6%| |0424|Longest Repeating Character Replacement|[Go]({{< relref "/ChapterFour/0400~0499/0424.Longest-Repeating-Character-Replacement.md" >}})|Medium| O(n)| O(1) ||48.1%| |0480|Sliding Window Median|[Go]({{< relref "/ChapterFour/0400~0499/0480.Sliding-Window-Median.md" >}})|Hard| O(n * log k)| O(k)|❤️|38.5%| diff --git a/website/content/ChapterTwo/Sort.md b/website/content/ChapterTwo/Sort.md index 22bee78f..b282a217 100644 --- a/website/content/ChapterTwo/Sort.md +++ b/website/content/ChapterTwo/Sort.md @@ -18,9 +18,9 @@ weight: 14 | No. | Title | Solution | Difficulty | TimeComplexity | SpaceComplexity |Favorite| Acceptance | |:--------:|:------- | :--------: | :----------: | :----: | :-----: | :-----: |:-----: | -|0056|Merge Intervals|[Go]({{< relref "/ChapterFour/0000~0099/0056.Merge-Intervals.md" >}})|Medium| O(n log n)| O(log n)||40.8%| -|0057|Insert Interval|[Go]({{< relref "/ChapterFour/0000~0099/0057.Insert-Interval.md" >}})|Medium| O(n)| O(1)||34.9%| -|0075|Sort Colors|[Go]({{< relref "/ChapterFour/0000~0099/0075.Sort-Colors.md" >}})|Medium| O(n)| O(1)|❤️|49.1%| +|0056|Merge Intervals|[Go]({{< relref "/ChapterFour/0001~0099/0056.Merge-Intervals.md" >}})|Medium| O(n log n)| O(log n)||40.8%| +|0057|Insert Interval|[Go]({{< relref "/ChapterFour/0001~0099/0057.Insert-Interval.md" >}})|Medium| O(n)| O(1)||34.9%| +|0075|Sort Colors|[Go]({{< relref "/ChapterFour/0001~0099/0075.Sort-Colors.md" >}})|Medium| O(n)| O(1)|❤️|49.1%| |0147|Insertion Sort List|[Go]({{< relref "/ChapterFour/0100~0199/0147.Insertion-Sort-List.md" >}})|Medium| O(n)| O(1) |❤️|44.2%| |0148|Sort List|[Go]({{< relref "/ChapterFour/0100~0199/0148.Sort-List.md" >}})|Medium|O(n log n)| O(log n)|❤️|46.0%| |0164|Maximum Gap|[Go]({{< relref "/ChapterFour/0100~0199/0164.Maximum-Gap.md" >}})|Hard| O(n log n)| O(log n) |❤️|36.7%| @@ -43,12 +43,12 @@ weight: 14 |0973|K Closest Points to Origin|[Go]({{< relref "/ChapterFour/0900~0999/0973.K-Closest-Points-to-Origin.md" >}})|Medium| O(n log n)| O(log n) ||64.5%| |0976|Largest Perimeter Triangle|[Go]({{< relref "/ChapterFour/0900~0999/0976.Largest-Perimeter-Triangle.md" >}})|Easy| O(n log n)| O(log n) ||58.5%| |1030|Matrix Cells in Distance Order|[Go]({{< relref "/ChapterFour/1000~1099/1030.Matrix-Cells-in-Distance-Order.md" >}})|Easy| O(n^2)| O(1) ||66.9%| -|1054|Distant Barcodes|[Go]({{< relref "/ChapterFour/1000~1099/1054.Distant-Barcodes.md" >}})|Medium| O(n log n)| O(log n) |❤️|44.2%| +|1054|Distant Barcodes|[Go]({{< relref "/ChapterFour/1000~1099/1054.Distant-Barcodes.md" >}})|Medium| O(n log n)| O(log n) |❤️|44.3%| |1122|Relative Sort Array|[Go]({{< relref "/ChapterFour/1100~1199/1122.Relative-Sort-Array.md" >}})|Easy||||67.9%| |1235|Maximum Profit in Job Scheduling|[Go]({{< relref "/ChapterFour/1200~1299/1235.Maximum-Profit-in-Job-Scheduling.md" >}})|Hard||||47.1%| |1305|All Elements in Two Binary Search Trees|[Go]({{< relref "/ChapterFour/1300~1399/1305.All-Elements-in-Two-Binary-Search-Trees.md" >}})|Medium||||77.8%| |1329|Sort the Matrix Diagonally|[Go]({{< relref "/ChapterFour/1300~1399/1329.Sort-the-Matrix-Diagonally.md" >}})|Medium||||81.8%| -|1640|Check Array Formation Through Concatenation|[Go]({{< relref "/ChapterFour/1600~1699/1640.Check-Array-Formation-Through-Concatenation.md" >}})|Easy||||60.5%| +|1640|Check Array Formation Through Concatenation|[Go]({{< relref "/ChapterFour/1600~1699/1640.Check-Array-Formation-Through-Concatenation.md" >}})|Easy||||60.6%| |1647|Minimum Deletions to Make Character Frequencies Unique|[Go]({{< relref "/ChapterFour/1600~1699/1647.Minimum-Deletions-to-Make-Character-Frequencies-Unique.md" >}})|Medium||||53.9%| |1648|Sell Diminishing-Valued Colored Balls|[Go]({{< relref "/ChapterFour/1600~1699/1648.Sell-Diminishing-Valued-Colored-Balls.md" >}})|Medium||||30.8%| |------------|-------------------------------------------------------|-------| ----------------| ---------------|-------------|-------------|-------------| diff --git a/website/content/ChapterTwo/Stack.md b/website/content/ChapterTwo/Stack.md index 6e8dc4b6..e7df5f7a 100644 --- a/website/content/ChapterTwo/Stack.md +++ b/website/content/ChapterTwo/Stack.md @@ -17,11 +17,11 @@ weight: 5 | No. | Title | Solution | Difficulty | TimeComplexity | SpaceComplexity |Favorite| Acceptance | |:--------:|:------- | :--------: | :----------: | :----: | :-----: | :-----: |:-----: | -|0020|Valid Parentheses|[Go]({{< relref "/ChapterFour/0000~0099/0020.Valid-Parentheses.md" >}})|Easy| O(log n)| O(1)||39.8%| -|0042|Trapping Rain Water|[Go]({{< relref "/ChapterFour/0000~0099/0042.Trapping-Rain-Water.md" >}})|Hard| O(n)| O(1)|❤️|50.9%| -|0071|Simplify Path|[Go]({{< relref "/ChapterFour/0000~0099/0071.Simplify-Path.md" >}})|Medium| O(n)| O(n)|❤️|33.6%| -|0084|Largest Rectangle in Histogram|[Go]({{< relref "/ChapterFour/0000~0099/0084.Largest-Rectangle-in-Histogram.md" >}})|Hard| O(n)| O(n)|❤️|36.9%| -|0094|Binary Tree Inorder Traversal|[Go]({{< relref "/ChapterFour/0000~0099/0094.Binary-Tree-Inorder-Traversal.md" >}})|Medium| O(n)| O(1)||65.5%| +|0020|Valid Parentheses|[Go]({{< relref "/ChapterFour/0001~0099/0020.Valid-Parentheses.md" >}})|Easy| O(log n)| O(1)||39.8%| +|0042|Trapping Rain Water|[Go]({{< relref "/ChapterFour/0001~0099/0042.Trapping-Rain-Water.md" >}})|Hard| O(n)| O(1)|❤️|50.9%| +|0071|Simplify Path|[Go]({{< relref "/ChapterFour/0001~0099/0071.Simplify-Path.md" >}})|Medium| O(n)| O(n)|❤️|33.7%| +|0084|Largest Rectangle in Histogram|[Go]({{< relref "/ChapterFour/0001~0099/0084.Largest-Rectangle-in-Histogram.md" >}})|Hard| O(n)| O(n)|❤️|36.9%| +|0094|Binary Tree Inorder Traversal|[Go]({{< relref "/ChapterFour/0001~0099/0094.Binary-Tree-Inorder-Traversal.md" >}})|Medium| O(n)| O(1)||65.5%| |0103|Binary Tree Zigzag Level Order Traversal|[Go]({{< relref "/ChapterFour/0100~0199/0103.Binary-Tree-Zigzag-Level-Order-Traversal.md" >}})|Medium| O(n)| O(n)||49.9%| |0144|Binary Tree Preorder Traversal|[Go]({{< relref "/ChapterFour/0100~0199/0144.Binary-Tree-Preorder-Traversal.md" >}})|Medium| O(n)| O(1)||57.2%| |0145|Binary Tree Postorder Traversal|[Go]({{< relref "/ChapterFour/0100~0199/0145.Binary-Tree-Postorder-Traversal.md" >}})|Medium| O(n)| O(1)||57.2%| diff --git a/website/content/ChapterTwo/String.md b/website/content/ChapterTwo/String.md index 89fded64..8b98bfa6 100644 --- a/website/content/ChapterTwo/String.md +++ b/website/content/ChapterTwo/String.md @@ -9,19 +9,19 @@ weight: 2 | No. | Title | Solution | Difficulty | TimeComplexity | SpaceComplexity |Favorite| Acceptance | |:--------:|:------- | :--------: | :----------: | :----: | :-----: | :-----: |:-----: | -|0003|Longest Substring Without Repeating Characters|[Go]({{< relref "/ChapterFour/0000~0099/0003.Longest-Substring-Without-Repeating-Characters.md" >}})|Medium| O(n)| O(1)|❤️|31.3%| -|0013|Roman to Integer|[Go]({{< relref "/ChapterFour/0000~0099/0013.Roman-to-Integer.md" >}})|Easy||||56.4%| -|0017|Letter Combinations of a Phone Number|[Go]({{< relref "/ChapterFour/0000~0099/0017.Letter-Combinations-of-a-Phone-Number.md" >}})|Medium| O(log n)| O(1)||48.8%| -|0020|Valid Parentheses|[Go]({{< relref "/ChapterFour/0000~0099/0020.Valid-Parentheses.md" >}})|Easy| O(log n)| O(1)||39.8%| -|0022|Generate Parentheses|[Go]({{< relref "/ChapterFour/0000~0099/0022.Generate-Parentheses.md" >}})|Medium| O(log n)| O(1)||64.9%| -|0028|Implement strStr()|[Go]({{< relref "/ChapterFour/0000~0099/0028.Implement-strStr.md" >}})|Easy| O(n)| O(1)||35.1%| -|0030|Substring with Concatenation of All Words|[Go]({{< relref "/ChapterFour/0000~0099/0030.Substring-with-Concatenation-of-All-Words.md" >}})|Hard| O(n)| O(n)|❤️|26.1%| -|0049|Group Anagrams|[Go]({{< relref "/ChapterFour/0000~0099/0049.Group-Anagrams.md" >}})|Medium| O(n log n)| O(n)||59.0%| -|0067|Add Binary|[Go]({{< relref "/ChapterFour/0000~0099/0067.Add-Binary.md" >}})|Easy||||46.7%| -|0071|Simplify Path|[Go]({{< relref "/ChapterFour/0000~0099/0071.Simplify-Path.md" >}})|Medium| O(n)| O(n)||33.6%| -|0076|Minimum Window Substring|[Go]({{< relref "/ChapterFour/0000~0099/0076.Minimum-Window-Substring.md" >}})|Hard| O(n)| O(n)|❤️|35.8%| -|0091|Decode Ways|[Go]({{< relref "/ChapterFour/0000~0099/0091.Decode-Ways.md" >}})|Medium| O(n)| O(n)||26.3%| -|0093|Restore IP Addresses|[Go]({{< relref "/ChapterFour/0000~0099/0093.Restore-IP-Addresses.md" >}})|Medium| O(n)| O(n)|❤️|37.3%| +|0003|Longest Substring Without Repeating Characters|[Go]({{< relref "/ChapterFour/0001~0099/0003.Longest-Substring-Without-Repeating-Characters.md" >}})|Medium| O(n)| O(1)|❤️|31.3%| +|0013|Roman to Integer|[Go]({{< relref "/ChapterFour/0001~0099/0013.Roman-to-Integer.md" >}})|Easy||||56.4%| +|0017|Letter Combinations of a Phone Number|[Go]({{< relref "/ChapterFour/0001~0099/0017.Letter-Combinations-of-a-Phone-Number.md" >}})|Medium| O(log n)| O(1)||48.8%| +|0020|Valid Parentheses|[Go]({{< relref "/ChapterFour/0001~0099/0020.Valid-Parentheses.md" >}})|Easy| O(log n)| O(1)||39.8%| +|0022|Generate Parentheses|[Go]({{< relref "/ChapterFour/0001~0099/0022.Generate-Parentheses.md" >}})|Medium| O(log n)| O(1)||64.9%| +|0028|Implement strStr()|[Go]({{< relref "/ChapterFour/0001~0099/0028.Implement-strStr.md" >}})|Easy| O(n)| O(1)||35.1%| +|0030|Substring with Concatenation of All Words|[Go]({{< relref "/ChapterFour/0001~0099/0030.Substring-with-Concatenation-of-All-Words.md" >}})|Hard| O(n)| O(n)|❤️|26.1%| +|0049|Group Anagrams|[Go]({{< relref "/ChapterFour/0001~0099/0049.Group-Anagrams.md" >}})|Medium| O(n log n)| O(n)||59.0%| +|0067|Add Binary|[Go]({{< relref "/ChapterFour/0001~0099/0067.Add-Binary.md" >}})|Easy||||46.7%| +|0071|Simplify Path|[Go]({{< relref "/ChapterFour/0001~0099/0071.Simplify-Path.md" >}})|Medium| O(n)| O(n)||33.7%| +|0076|Minimum Window Substring|[Go]({{< relref "/ChapterFour/0001~0099/0076.Minimum-Window-Substring.md" >}})|Hard| O(n)| O(n)|❤️|35.8%| +|0091|Decode Ways|[Go]({{< relref "/ChapterFour/0001~0099/0091.Decode-Ways.md" >}})|Medium| O(n)| O(n)||26.3%| +|0093|Restore IP Addresses|[Go]({{< relref "/ChapterFour/0001~0099/0093.Restore-IP-Addresses.md" >}})|Medium| O(n)| O(n)|❤️|37.3%| |0125|Valid Palindrome|[Go]({{< relref "/ChapterFour/0100~0199/0125.Valid-Palindrome.md" >}})|Easy| O(n)| O(1)||38.0%| |0126|Word Ladder II|[Go]({{< relref "/ChapterFour/0100~0199/0126.Word-Ladder-II.md" >}})|Hard| O(n)| O(n^2)|❤️|23.5%| |0151|Reverse Words in a String|[Go]({{< relref "/ChapterFour/0100~0199/0151.Reverse-Words-in-a-String.md" >}})|Medium||||23.4%| diff --git a/website/content/ChapterTwo/Tree.md b/website/content/ChapterTwo/Tree.md index fe4a31be..9688bc02 100644 --- a/website/content/ChapterTwo/Tree.md +++ b/website/content/ChapterTwo/Tree.md @@ -9,11 +9,11 @@ weight: 6 | No. | Title | Solution | Difficulty | TimeComplexity | SpaceComplexity |Favorite| Acceptance | |:--------:|:------- | :--------: | :----------: | :----: | :-----: | :-----: |:-----: | -|0094|Binary Tree Inorder Traversal|[Go]({{< relref "/ChapterFour/0000~0099/0094.Binary-Tree-Inorder-Traversal.md" >}})|Medium| O(n)| O(1)||65.5%| -|0095|Unique Binary Search Trees II|[Go]({{< relref "/ChapterFour/0000~0099/0095.Unique-Binary-Search-Trees-II.md" >}})|Medium||||42.2%| -|0096|Unique Binary Search Trees|[Go]({{< relref "/ChapterFour/0000~0099/0096.Unique-Binary-Search-Trees.md" >}})|Medium| O(n^2)| O(n)||54.2%| -|0098|Validate Binary Search Tree|[Go]({{< relref "/ChapterFour/0000~0099/0098.Validate-Binary-Search-Tree.md" >}})|Medium| O(n)| O(1)||28.6%| -|0099|Recover Binary Search Tree|[Go]({{< relref "/ChapterFour/0000~0099/0099.Recover-Binary-Search-Tree.md" >}})|Hard| O(n)| O(1)||42.2%| +|0094|Binary Tree Inorder Traversal|[Go]({{< relref "/ChapterFour/0001~0099/0094.Binary-Tree-Inorder-Traversal.md" >}})|Medium| O(n)| O(1)||65.5%| +|0095|Unique Binary Search Trees II|[Go]({{< relref "/ChapterFour/0001~0099/0095.Unique-Binary-Search-Trees-II.md" >}})|Medium||||42.2%| +|0096|Unique Binary Search Trees|[Go]({{< relref "/ChapterFour/0001~0099/0096.Unique-Binary-Search-Trees.md" >}})|Medium| O(n^2)| O(n)||54.2%| +|0098|Validate Binary Search Tree|[Go]({{< relref "/ChapterFour/0001~0099/0098.Validate-Binary-Search-Tree.md" >}})|Medium| O(n)| O(1)||28.6%| +|0099|Recover Binary Search Tree|[Go]({{< relref "/ChapterFour/0001~0099/0099.Recover-Binary-Search-Tree.md" >}})|Hard| O(n)| O(1)||42.2%| |0100|Same Tree|[Go]({{< relref "/ChapterFour/0100~0199/0100.Same-Tree.md" >}})|Easy| O(n)| O(1)||54.0%| |0101|Symmetric Tree|[Go]({{< relref "/ChapterFour/0100~0199/0101.Symmetric-Tree.md" >}})|Easy| O(n)| O(1)||47.9%| |0102|Binary Tree Level Order Traversal|[Go]({{< relref "/ChapterFour/0100~0199/0102.Binary-Tree-Level-Order-Traversal.md" >}})|Medium| O(n)| O(1)||56.3%| diff --git a/website/content/ChapterTwo/Two_Pointers.md b/website/content/ChapterTwo/Two_Pointers.md index 78d9e892..d4a24d7b 100644 --- a/website/content/ChapterTwo/Two_Pointers.md +++ b/website/content/ChapterTwo/Two_Pointers.md @@ -32,23 +32,23 @@ weight: 3 | No. | Title | Solution | Difficulty | TimeComplexity | SpaceComplexity |Favorite| Acceptance | |:--------:|:------- | :--------: | :----------: | :----: | :-----: | :-----: |:-----: | -|0003|Longest Substring Without Repeating Characters|[Go]({{< relref "/ChapterFour/0000~0099/0003.Longest-Substring-Without-Repeating-Characters.md" >}})|Medium| O(n)| O(1)|❤️|31.3%| -|0011|Container With Most Water|[Go]({{< relref "/ChapterFour/0000~0099/0011.Container-With-Most-Water.md" >}})|Medium| O(n)| O(1)||52.3%| -|0015|3Sum|[Go]({{< relref "/ChapterFour/0000~0099/0015.3Sum.md" >}})|Medium| O(n^2)| O(n)|❤️|27.8%| -|0016|3Sum Closest|[Go]({{< relref "/ChapterFour/0000~0099/0016.3Sum-Closest.md" >}})|Medium| O(n^2)| O(1)|❤️|46.3%| -|0018|4Sum|[Go]({{< relref "/ChapterFour/0000~0099/0018.4Sum.md" >}})|Medium| O(n^3)| O(n^2)|❤️|34.7%| -|0019|Remove Nth Node From End of List|[Go]({{< relref "/ChapterFour/0000~0099/0019.Remove-Nth-Node-From-End-of-List.md" >}})|Medium| O(n)| O(1)||35.7%| -|0026|Remove Duplicates from Sorted Array|[Go]({{< relref "/ChapterFour/0000~0099/0026.Remove-Duplicates-from-Sorted-Array.md" >}})|Easy| O(n)| O(1)||46.4%| -|0027|Remove Element|[Go]({{< relref "/ChapterFour/0000~0099/0027.Remove-Element.md" >}})|Easy| O(n)| O(1)||49.1%| -|0028|Implement strStr()|[Go]({{< relref "/ChapterFour/0000~0099/0028.Implement-strStr.md" >}})|Easy| O(n)| O(1)||35.1%| -|0030|Substring with Concatenation of All Words|[Go]({{< relref "/ChapterFour/0000~0099/0030.Substring-with-Concatenation-of-All-Words.md" >}})|Hard| O(n)| O(n)|❤️|26.1%| -|0042|Trapping Rain Water|[Go]({{< relref "/ChapterFour/0000~0099/0042.Trapping-Rain-Water.md" >}})|Hard| O(n)| O(1)|❤️|50.9%| -|0061|Rotate List|[Go]({{< relref "/ChapterFour/0000~0099/0061.Rotate-List.md" >}})|Medium| O(n)| O(1)||31.6%| -|0075|Sort Colors|[Go]({{< relref "/ChapterFour/0000~0099/0075.Sort-Colors.md" >}})|Medium| O(n)| O(1)|❤️|49.1%| -|0076|Minimum Window Substring|[Go]({{< relref "/ChapterFour/0000~0099/0076.Minimum-Window-Substring.md" >}})|Hard| O(n)| O(n)|❤️|35.8%| -|0080|Remove Duplicates from Sorted Array II|[Go]({{< relref "/ChapterFour/0000~0099/0080.Remove-Duplicates-from-Sorted-Array-II.md" >}})|Medium| O(n)| O(1||45.9%| -|0086|Partition List|[Go]({{< relref "/ChapterFour/0000~0099/0086.Partition-List.md" >}})|Medium| O(n)| O(1)|❤️|43.1%| -|0088|Merge Sorted Array|[Go]({{< relref "/ChapterFour/0000~0099/0088.Merge-Sorted-Array.md" >}})|Easy| O(n)| O(1)|❤️|40.6%| +|0003|Longest Substring Without Repeating Characters|[Go]({{< relref "/ChapterFour/0001~0099/0003.Longest-Substring-Without-Repeating-Characters.md" >}})|Medium| O(n)| O(1)|❤️|31.3%| +|0011|Container With Most Water|[Go]({{< relref "/ChapterFour/0001~0099/0011.Container-With-Most-Water.md" >}})|Medium| O(n)| O(1)||52.3%| +|0015|3Sum|[Go]({{< relref "/ChapterFour/0001~0099/0015.3Sum.md" >}})|Medium| O(n^2)| O(n)|❤️|27.8%| +|0016|3Sum Closest|[Go]({{< relref "/ChapterFour/0001~0099/0016.3Sum-Closest.md" >}})|Medium| O(n^2)| O(1)|❤️|46.3%| +|0018|4Sum|[Go]({{< relref "/ChapterFour/0001~0099/0018.4Sum.md" >}})|Medium| O(n^3)| O(n^2)|❤️|34.7%| +|0019|Remove Nth Node From End of List|[Go]({{< relref "/ChapterFour/0001~0099/0019.Remove-Nth-Node-From-End-of-List.md" >}})|Medium| O(n)| O(1)||35.7%| +|0026|Remove Duplicates from Sorted Array|[Go]({{< relref "/ChapterFour/0001~0099/0026.Remove-Duplicates-from-Sorted-Array.md" >}})|Easy| O(n)| O(1)||46.4%| +|0027|Remove Element|[Go]({{< relref "/ChapterFour/0001~0099/0027.Remove-Element.md" >}})|Easy| O(n)| O(1)||49.1%| +|0028|Implement strStr()|[Go]({{< relref "/ChapterFour/0001~0099/0028.Implement-strStr.md" >}})|Easy| O(n)| O(1)||35.1%| +|0030|Substring with Concatenation of All Words|[Go]({{< relref "/ChapterFour/0001~0099/0030.Substring-with-Concatenation-of-All-Words.md" >}})|Hard| O(n)| O(n)|❤️|26.1%| +|0042|Trapping Rain Water|[Go]({{< relref "/ChapterFour/0001~0099/0042.Trapping-Rain-Water.md" >}})|Hard| O(n)| O(1)|❤️|50.9%| +|0061|Rotate List|[Go]({{< relref "/ChapterFour/0001~0099/0061.Rotate-List.md" >}})|Medium| O(n)| O(1)||31.6%| +|0075|Sort Colors|[Go]({{< relref "/ChapterFour/0001~0099/0075.Sort-Colors.md" >}})|Medium| O(n)| O(1)|❤️|49.1%| +|0076|Minimum Window Substring|[Go]({{< relref "/ChapterFour/0001~0099/0076.Minimum-Window-Substring.md" >}})|Hard| O(n)| O(n)|❤️|35.8%| +|0080|Remove Duplicates from Sorted Array II|[Go]({{< relref "/ChapterFour/0001~0099/0080.Remove-Duplicates-from-Sorted-Array-II.md" >}})|Medium| O(n)| O(1||45.9%| +|0086|Partition List|[Go]({{< relref "/ChapterFour/0001~0099/0086.Partition-List.md" >}})|Medium| O(n)| O(1)|❤️|43.1%| +|0088|Merge Sorted Array|[Go]({{< relref "/ChapterFour/0001~0099/0088.Merge-Sorted-Array.md" >}})|Easy| O(n)| O(1)|❤️|40.6%| |0125|Valid Palindrome|[Go]({{< relref "/ChapterFour/0100~0199/0125.Valid-Palindrome.md" >}})|Easy| O(n)| O(1)||38.0%| |0141|Linked List Cycle|[Go]({{< relref "/ChapterFour/0100~0199/0141.Linked-List-Cycle.md" >}})|Easy| O(n)| O(1)|❤️|42.3%| |0142|Linked List Cycle II|[Go]({{< relref "/ChapterFour/0100~0199/0142.Linked-List-Cycle-II.md" >}})|Medium| O(n)| O(1)|❤️|39.4%| @@ -56,7 +56,7 @@ weight: 3 |0209|Minimum Size Subarray Sum|[Go]({{< relref "/ChapterFour/0200~0299/0209.Minimum-Size-Subarray-Sum.md" >}})|Medium| O(n)| O(1)||39.2%| |0234|Palindrome Linked List|[Go]({{< relref "/ChapterFour/0200~0299/0234.Palindrome-Linked-List.md" >}})|Easy| O(n)| O(1)||40.3%| |0283|Move Zeroes|[Go]({{< relref "/ChapterFour/0200~0299/0283.Move-Zeroes.md" >}})|Easy| O(n)| O(1)||58.5%| -|0287|Find the Duplicate Number|[Go]({{< relref "/ChapterFour/0200~0299/0287.Find-the-Duplicate-Number.md" >}})|Medium| O(n)| O(1)|❤️|57.2%| +|0287|Find the Duplicate Number|[Go]({{< relref "/ChapterFour/0200~0299/0287.Find-the-Duplicate-Number.md" >}})|Medium| O(n)| O(1)|❤️|57.3%| |0344|Reverse String|[Go]({{< relref "/ChapterFour/0300~0399/0344.Reverse-String.md" >}})|Easy| O(n)| O(1)||70.1%| |0345|Reverse Vowels of a String|[Go]({{< relref "/ChapterFour/0300~0399/0345.Reverse-Vowels-of-a-String.md" >}})|Easy| O(n)| O(1)||44.9%| |0349|Intersection of Two Arrays|[Go]({{< relref "/ChapterFour/0300~0399/0349.Intersection-of-Two-Arrays.md" >}})|Easy| O(n)| O(n) ||64.5%| @@ -70,7 +70,7 @@ weight: 3 |0713|Subarray Product Less Than K|[Go]({{< relref "/ChapterFour/0700~0799/0713.Subarray-Product-Less-Than-K.md" >}})|Medium| O(n)| O(1)||40.4%| |0763|Partition Labels|[Go]({{< relref "/ChapterFour/0700~0799/0763.Partition-Labels.md" >}})|Medium| O(n)| O(1)|❤️|77.9%| |0826|Most Profit Assigning Work|[Go]({{< relref "/ChapterFour/0800~0899/0826.Most-Profit-Assigning-Work.md" >}})|Medium| O(n log n)| O(n)||39.0%| -|0828|Count Unique Characters of All Substrings of a Given String|[Go]({{< relref "/ChapterFour/0800~0899/0828.Count-Unique-Characters-of-All-Substrings-of-a-Given-String.md" >}})|Hard| O(n)| O(1)|❤️|46.8%| +|0828|Count Unique Characters of All Substrings of a Given String|[Go]({{< relref "/ChapterFour/0800~0899/0828.Count-Unique-Characters-of-All-Substrings-of-a-Given-String.md" >}})|Hard| O(n)| O(1)|❤️|46.7%| |0838|Push Dominoes|[Go]({{< relref "/ChapterFour/0800~0899/0838.Push-Dominoes.md" >}})|Medium| O(n)| O(n)||49.7%| |0844|Backspace String Compare|[Go]({{< relref "/ChapterFour/0800~0899/0844.Backspace-String-Compare.md" >}})|Easy| O(n)| O(n) ||46.8%| |0845|Longest Mountain in Array|[Go]({{< relref "/ChapterFour/0800~0899/0845.Longest-Mountain-in-Array.md" >}})|Medium| O(n)| O(1) ||38.5%| diff --git a/website/content/menu/_index.md b/website/content/menu/_index.md deleted file mode 100644 index fde47cd3..00000000 --- a/website/content/menu/_index.md +++ /dev/null @@ -1,609 +0,0 @@ ---- -headless: true ---- - -
- -- [第一章 序章]({{< relref "/ChapterOne/_index.md" >}}) - - [1.1 关于作者]({{< relref "/ChapterOne/#关于作者" >}}) - - [1.2 数据结构知识]({{< relref "/ChapterOne/Data_Structure.md" >}}) - - [1.3 算法知识]({{< relref "/ChapterOne/Algorithm.md" >}}) -- [第二章 算法专题]({{< relref "/ChapterTwo/_index.md" >}}) - - [2.01 Array]({{< relref "/ChapterTwo/Array.md" >}}) - - [2.02 String]({{< relref "/ChapterTwo/String.md" >}}) - - [2.03 ✅ Two Pointers]({{< relref "/ChapterTwo/Two_Pointers.md" >}}) - - [2.04 ✅ Linked List]({{< relref "/ChapterTwo/Linked_List.md" >}}) - - [2.05 ✅ Stack]({{< relref "/ChapterTwo/Stack.md" >}}) - - [2.06 Tree]({{< relref "/ChapterTwo/Tree.md" >}}) - - [2.07 Dynamic Programming]({{< relref "/ChapterTwo/Dynamic_Programming.md" >}}) - - [2.08 ✅ Backtracking]({{< relref "/ChapterTwo/Backtracking.md" >}}) - - [2.09 Depth First Search]({{< relref "/ChapterTwo/Depth_First_Search.md" >}}) - - [2.10 Breadth First Search]({{< relref "/ChapterTwo/Breadth_First_Search.md" >}}) - - [2.11 Binary Search]({{< relref "/ChapterTwo/Binary_Search.md" >}}) - - [2.12 Math]({{< relref "/ChapterTwo/Math.md" >}}) - - [2.13 Hash Table]({{< relref "/ChapterTwo/Hash_Table.md" >}}) - - [2.14 ✅ Sort]({{< relref "/ChapterTwo/Sort.md" >}}) - - [2.15 ✅ Bit Manipulation]({{< relref "/ChapterTwo/Bit_Manipulation.md" >}}) - - [2.16 ✅ Union Find]({{< relref "/ChapterTwo/Union_Find.md" >}}) - - [2.17 ✅ Sliding Window]({{< relref "/ChapterTwo/Sliding_Window.md" >}}) - - [2.18 ✅ Segment Tree]({{< relref "/ChapterTwo/Segment_Tree.md" >}}) - - [2.19 ✅ Binary Indexed Tree]({{< relref "/ChapterTwo/Binary_Indexed_Tree.md" >}}) -- [第三章 一些模板]({{< relref "/ChapterThree/_index.md" >}}) - - [3.1 Segment Tree]({{< relref "/ChapterThree/Segment_Tree.md" >}}) - - [3.2 UnionFind]({{< relref "/ChapterThree/UnionFind.md" >}}) - - [3.3 LRUCache]({{< relref "/ChapterThree/LRUCache.md" >}}) - - [3.4 LFUCache]({{< relref "/ChapterThree/LFUCache.md" >}}) -- [第四章 Leetcode 题解]({{< relref "/ChapterFour/_index.md" >}}) - - [0001.Two-Sum]({{< relref "/ChapterFour/0001.Two-Sum.md" >}}) - - [0002.Add-Two-Numbers]({{< relref "/ChapterFour/0002.Add-Two-Numbers.md" >}}) - - [0003.Longest-Substring-Without-Repeating-Characters]({{< relref "/ChapterFour/0003.Longest-Substring-Without-Repeating-Characters.md" >}}) - - [0004.Median-of-Two-Sorted-Arrays]({{< relref "/ChapterFour/0004.Median-of-Two-Sorted-Arrays.md" >}}) - - [0007.Reverse-Integer]({{< relref "/ChapterFour/0007.Reverse-Integer.md" >}}) - - [0009.Palindrome-Number]({{< relref "/ChapterFour/0009.Palindrome-Number.md" >}}) - - [0011.Container-With-Most-Water]({{< relref "/ChapterFour/0011.Container-With-Most-Water.md" >}}) - - [0013.Roman-to-Integer]({{< relref "/ChapterFour/0013.Roman-to-Integer.md" >}}) - - [0015.3Sum]({{< relref "/ChapterFour/0015.3Sum.md" >}}) - - [0016.3Sum-Closest]({{< relref "/ChapterFour/0016.3Sum-Closest.md" >}}) - - [0017.Letter-Combinations-of-a-Phone-Number]({{< relref "/ChapterFour/0017.Letter-Combinations-of-a-Phone-Number.md" >}}) - - [0018.4Sum]({{< relref "/ChapterFour/0018.4Sum.md" >}}) - - [0019.Remove-Nth-Node-From-End-of-List]({{< relref "/ChapterFour/0019.Remove-Nth-Node-From-End-of-List.md" >}}) - - [0020.Valid-Parentheses]({{< relref "/ChapterFour/0020.Valid-Parentheses.md" >}}) - - [0021.Merge-Two-Sorted-Lists]({{< relref "/ChapterFour/0021.Merge-Two-Sorted-Lists.md" >}}) - - [0022.Generate-Parentheses]({{< relref "/ChapterFour/0022.Generate-Parentheses.md" >}}) - - [0023.Merge-k-Sorted-Lists]({{< relref "/ChapterFour/0023.Merge-k-Sorted-Lists.md" >}}) - - [0024.Swap-Nodes-in-Pairs]({{< relref "/ChapterFour/0024.Swap-Nodes-in-Pairs.md" >}}) - - [0025.Reverse-Nodes-in-k-Group]({{< relref "/ChapterFour/0025.Reverse-Nodes-in-k-Group.md" >}}) - - [0026.Remove-Duplicates-from-Sorted-Array]({{< relref "/ChapterFour/0026.Remove-Duplicates-from-Sorted-Array.md" >}}) - - [0027.Remove-Element]({{< relref "/ChapterFour/0027.Remove-Element.md" >}}) - - [0028.Implement-strStr]({{< relref "/ChapterFour/0028.Implement-strStr.md" >}}) - - [0029.Divide-Two-Integers]({{< relref "/ChapterFour/0029.Divide-Two-Integers.md" >}}) - - [0030.Substring-with-Concatenation-of-All-Words]({{< relref "/ChapterFour/0030.Substring-with-Concatenation-of-All-Words.md" >}}) - - [0033.Search-in-Rotated-Sorted-Array]({{< relref "/ChapterFour/0033.Search-in-Rotated-Sorted-Array.md" >}}) - - [0034.Find-First-and-Last-Position-of-Element-in-Sorted-Array]({{< relref "/ChapterFour/0034.Find-First-and-Last-Position-of-Element-in-Sorted-Array.md" >}}) - - [0035.Search-Insert-Position]({{< relref "/ChapterFour/0035.Search-Insert-Position.md" >}}) - - [0036.Valid-Sudoku]({{< relref "/ChapterFour/0036.Valid-Sudoku.md" >}}) - - [0037.Sudoku-Solver]({{< relref "/ChapterFour/0037.Sudoku-Solver.md" >}}) - - [0039.Combination-Sum]({{< relref "/ChapterFour/0039.Combination-Sum.md" >}}) - - [0040.Combination-Sum-II]({{< relref "/ChapterFour/0040.Combination-Sum-II.md" >}}) - - [0041.First-Missing-Positive]({{< relref "/ChapterFour/0041.First-Missing-Positive.md" >}}) - - [0042.Trapping-Rain-Water]({{< relref "/ChapterFour/0042.Trapping-Rain-Water.md" >}}) - - [0046.Permutations]({{< relref "/ChapterFour/0046.Permutations.md" >}}) - - [0047.Permutations-II]({{< relref "/ChapterFour/0047.Permutations-II.md" >}}) - - [0048.Rotate-Image]({{< relref "/ChapterFour/0048.Rotate-Image.md" >}}) - - [0049.Group-Anagrams]({{< relref "/ChapterFour/0049.Group-Anagrams.md" >}}) - - [0050.Powx-n]({{< relref "/ChapterFour/0050.Powx-n.md" >}}) - - [0051.N-Queens]({{< relref "/ChapterFour/0051.N-Queens.md" >}}) - - [0052.N-Queens-II]({{< relref "/ChapterFour/0052.N-Queens-II.md" >}}) - - [0053.Maximum-Subarray]({{< relref "/ChapterFour/0053.Maximum-Subarray.md" >}}) - - [0054.Spiral-Matrix]({{< relref "/ChapterFour/0054.Spiral-Matrix.md" >}}) - - [0055.Jump-Game]({{< relref "/ChapterFour/0055.Jump-Game.md" >}}) - - [0056.Merge-Intervals]({{< relref "/ChapterFour/0056.Merge-Intervals.md" >}}) - - [0057.Insert-Interval]({{< relref "/ChapterFour/0057.Insert-Interval.md" >}}) - - [0059.Spiral-Matrix-II]({{< relref "/ChapterFour/0059.Spiral-Matrix-II.md" >}}) - - [0060.Permutation-Sequence]({{< relref "/ChapterFour/0060.Permutation-Sequence.md" >}}) - - [0061.Rotate-List]({{< relref "/ChapterFour/0061.Rotate-List.md" >}}) - - [0062.Unique-Paths]({{< relref "/ChapterFour/0062.Unique-Paths.md" >}}) - - [0063.Unique-Paths-II]({{< relref "/ChapterFour/0063.Unique-Paths-II.md" >}}) - - [0064.Minimum-Path-Sum]({{< relref "/ChapterFour/0064.Minimum-Path-Sum.md" >}}) - - [0066.Plus-One]({{< relref "/ChapterFour/0066.Plus-One.md" >}}) - - [0067.Add-Binary]({{< relref "/ChapterFour/0067.Add-Binary.md" >}}) - - [0069.Sqrtx]({{< relref "/ChapterFour/0069.Sqrtx.md" >}}) - - [0070.Climbing-Stairs]({{< relref "/ChapterFour/0070.Climbing-Stairs.md" >}}) - - [0071.Simplify-Path]({{< relref "/ChapterFour/0071.Simplify-Path.md" >}}) - - [0074.Search-a-2D-Matrix]({{< relref "/ChapterFour/0074.Search-a-2D-Matrix.md" >}}) - - [0075.Sort-Colors]({{< relref "/ChapterFour/0075.Sort-Colors.md" >}}) - - [0076.Minimum-Window-Substring]({{< relref "/ChapterFour/0076.Minimum-Window-Substring.md" >}}) - - [0077.Combinations]({{< relref "/ChapterFour/0077.Combinations.md" >}}) - - [0078.Subsets]({{< relref "/ChapterFour/0078.Subsets.md" >}}) - - [0079.Word-Search]({{< relref "/ChapterFour/0079.Word-Search.md" >}}) - - [0080.Remove-Duplicates-from-Sorted-Array-II]({{< relref "/ChapterFour/0080.Remove-Duplicates-from-Sorted-Array-II.md" >}}) - - [0081.Search-in-Rotated-Sorted-Array-II]({{< relref "/ChapterFour/0081.Search-in-Rotated-Sorted-Array-II.md" >}}) - - [0082.Remove-Duplicates-from-Sorted-List-II]({{< relref "/ChapterFour/0082.Remove-Duplicates-from-Sorted-List-II.md" >}}) - - [0083.Remove-Duplicates-from-Sorted-List]({{< relref "/ChapterFour/0083.Remove-Duplicates-from-Sorted-List.md" >}}) - - [0084.Largest-Rectangle-in-Histogram]({{< relref "/ChapterFour/0084.Largest-Rectangle-in-Histogram.md" >}}) - - [0086.Partition-List]({{< relref "/ChapterFour/0086.Partition-List.md" >}}) - - [0088.Merge-Sorted-Array]({{< relref "/ChapterFour/0088.Merge-Sorted-Array.md" >}}) - - [0089.Gray-Code]({{< relref "/ChapterFour/0089.Gray-Code.md" >}}) - - [0090.Subsets-II]({{< relref "/ChapterFour/0090.Subsets-II.md" >}}) - - [0091.Decode-Ways]({{< relref "/ChapterFour/0091.Decode-Ways.md" >}}) - - [0092.Reverse-Linked-List-II]({{< relref "/ChapterFour/0092.Reverse-Linked-List-II.md" >}}) - - [0093.Restore-IP-Addresses]({{< relref "/ChapterFour/0093.Restore-IP-Addresses.md" >}}) - - [0094.Binary-Tree-Inorder-Traversal]({{< relref "/ChapterFour/0094.Binary-Tree-Inorder-Traversal.md" >}}) - - [0095.Unique-Binary-Search-Trees-II]({{< relref "/ChapterFour/0095.Unique-Binary-Search-Trees-II.md" >}}) - - [0096.Unique-Binary-Search-Trees]({{< relref "/ChapterFour/0096.Unique-Binary-Search-Trees.md" >}}) - - [0098.Validate-Binary-Search-Tree]({{< relref "/ChapterFour/0098.Validate-Binary-Search-Tree.md" >}}) - - [0099.Recover-Binary-Search-Tree]({{< relref "/ChapterFour/0099.Recover-Binary-Search-Tree.md" >}}) - - [0100.Same-Tree]({{< relref "/ChapterFour/0100.Same-Tree.md" >}}) - - [0101.Symmetric-Tree]({{< relref "/ChapterFour/0101.Symmetric-Tree.md" >}}) - - [0102.Binary-Tree-Level-Order-Traversal]({{< relref "/ChapterFour/0102.Binary-Tree-Level-Order-Traversal.md" >}}) - - [0103.Binary-Tree-Zigzag-Level-Order-Traversal]({{< relref "/ChapterFour/0103.Binary-Tree-Zigzag-Level-Order-Traversal.md" >}}) - - [0104.Maximum-Depth-of-Binary-Tree]({{< relref "/ChapterFour/0104.Maximum-Depth-of-Binary-Tree.md" >}}) - - [0105.Construct-Binary-Tree-from-Preorder-and-Inorder-Traversal]({{< relref "/ChapterFour/0105.Construct-Binary-Tree-from-Preorder-and-Inorder-Traversal.md" >}}) - - [0106.Construct-Binary-Tree-from-Inorder-and-Postorder-Traversal]({{< relref "/ChapterFour/0106.Construct-Binary-Tree-from-Inorder-and-Postorder-Traversal.md" >}}) - - [0107.Binary-Tree-Level-Order-Traversal-II]({{< relref "/ChapterFour/0107.Binary-Tree-Level-Order-Traversal-II.md" >}}) - - [0108.Convert-Sorted-Array-to-Binary-Search-Tree]({{< relref "/ChapterFour/0108.Convert-Sorted-Array-to-Binary-Search-Tree.md" >}}) - - [0109.Convert-Sorted-List-to-Binary-Search-Tree]({{< relref "/ChapterFour/0109.Convert-Sorted-List-to-Binary-Search-Tree.md" >}}) - - [0110.Balanced-Binary-Tree]({{< relref "/ChapterFour/0110.Balanced-Binary-Tree.md" >}}) - - [0111.Minimum-Depth-of-Binary-Tree]({{< relref "/ChapterFour/0111.Minimum-Depth-of-Binary-Tree.md" >}}) - - [0112.Path-Sum]({{< relref "/ChapterFour/0112.Path-Sum.md" >}}) - - [0113.Path-Sum-II]({{< relref "/ChapterFour/0113.Path-Sum-II.md" >}}) - - [0114.Flatten-Binary-Tree-to-Linked-List]({{< relref "/ChapterFour/0114.Flatten-Binary-Tree-to-Linked-List.md" >}}) - - [0118.Pascals-Triangle]({{< relref "/ChapterFour/0118.Pascals-Triangle.md" >}}) - - [0120.Triangle]({{< relref "/ChapterFour/0120.Triangle.md" >}}) - - [0121.Best-Time-to-Buy-and-Sell-Stock]({{< relref "/ChapterFour/0121.Best-Time-to-Buy-and-Sell-Stock.md" >}}) - - [0122.Best-Time-to-Buy-and-Sell-Stock-II]({{< relref "/ChapterFour/0122.Best-Time-to-Buy-and-Sell-Stock-II.md" >}}) - - [0124.Binary-Tree-Maximum-Path-Sum]({{< relref "/ChapterFour/0124.Binary-Tree-Maximum-Path-Sum.md" >}}) - - [0125.Valid-Palindrome]({{< relref "/ChapterFour/0125.Valid-Palindrome.md" >}}) - - [0126.Word-Ladder-II]({{< relref "/ChapterFour/0126.Word-Ladder-II.md" >}}) - - [0127.Word-Ladder]({{< relref "/ChapterFour/0127.Word-Ladder.md" >}}) - - [0128.Longest-Consecutive-Sequence]({{< relref "/ChapterFour/0128.Longest-Consecutive-Sequence.md" >}}) - - [0129.Sum-Root-to-Leaf-Numbers]({{< relref "/ChapterFour/0129.Sum-Root-to-Leaf-Numbers.md" >}}) - - [0130.Surrounded-Regions]({{< relref "/ChapterFour/0130.Surrounded-Regions.md" >}}) - - [0131.Palindrome-Partitioning]({{< relref "/ChapterFour/0131.Palindrome-Partitioning.md" >}}) - - [0136.Single-Number]({{< relref "/ChapterFour/0136.Single-Number.md" >}}) - - [0137.Single-Number-II]({{< relref "/ChapterFour/0137.Single-Number-II.md" >}}) - - [0138.Copy-List-With-Random-Pointer]({{< relref "/ChapterFour/0138.Copy-List-With-Random-Pointer.md" >}}) - - [0141.Linked-List-Cycle]({{< relref "/ChapterFour/0141.Linked-List-Cycle.md" >}}) - - [0142.Linked-List-Cycle-II]({{< relref "/ChapterFour/0142.Linked-List-Cycle-II.md" >}}) - - [0143.Reorder-List]({{< relref "/ChapterFour/0143.Reorder-List.md" >}}) - - [0144.Binary-Tree-Preorder-Traversal]({{< relref "/ChapterFour/0144.Binary-Tree-Preorder-Traversal.md" >}}) - - [0145.Binary-Tree-Postorder-Traversal]({{< relref "/ChapterFour/0145.Binary-Tree-Postorder-Traversal.md" >}}) - - [0146.LRU-Cache]({{< relref "/ChapterFour/0146.LRU-Cache.md" >}}) - - [0147.Insertion-Sort-List]({{< relref "/ChapterFour/0147.Insertion-Sort-List.md" >}}) - - [0148.Sort-List]({{< relref "/ChapterFour/0148.Sort-List.md" >}}) - - [0150.Evaluate-Reverse-Polish-Notation]({{< relref "/ChapterFour/0150.Evaluate-Reverse-Polish-Notation.md" >}}) - - [0151.Reverse-Words-in-a-String]({{< relref "/ChapterFour/0151.Reverse-Words-in-a-String.md" >}}) - - [0152.Maximum-Product-Subarray]({{< relref "/ChapterFour/0152.Maximum-Product-Subarray.md" >}}) - - [0153.Find-Minimum-in-Rotated-Sorted-Array]({{< relref "/ChapterFour/0153.Find-Minimum-in-Rotated-Sorted-Array.md" >}}) - - [0154.Find-Minimum-in-Rotated-Sorted-Array-II]({{< relref "/ChapterFour/0154.Find-Minimum-in-Rotated-Sorted-Array-II.md" >}}) - - [0155.Min-Stack]({{< relref "/ChapterFour/0155.Min-Stack.md" >}}) - - [0160.Intersection-of-Two-Linked-Lists]({{< relref "/ChapterFour/0160.Intersection-of-Two-Linked-Lists.md" >}}) - - [0162.Find-Peak-Element]({{< relref "/ChapterFour/0162.Find-Peak-Element.md" >}}) - - [0164.Maximum-Gap]({{< relref "/ChapterFour/0164.Maximum-Gap.md" >}}) - - [0167.Two-Sum-II---Input-array-is-sorted]({{< relref "/ChapterFour/0167.Two-Sum-II---Input-array-is-sorted.md" >}}) - - [0168.Excel-Sheet-Column-Title]({{< relref "/ChapterFour/0168.Excel-Sheet-Column-Title.md" >}}) - - [0169.Majority-Element]({{< relref "/ChapterFour/0169.Majority-Element.md" >}}) - - [0171.Excel-Sheet-Column-Number]({{< relref "/ChapterFour/0171.Excel-Sheet-Column-Number.md" >}}) - - [0172.Factorial-Trailing-Zeroes]({{< relref "/ChapterFour/0172.Factorial-Trailing-Zeroes.md" >}}) - - [0173.Binary-Search-Tree-Iterator]({{< relref "/ChapterFour/0173.Binary-Search-Tree-Iterator.md" >}}) - - [0174.Dungeon-Game]({{< relref "/ChapterFour/0174.Dungeon-Game.md" >}}) - - [0179.Largest-Number]({{< relref "/ChapterFour/0179.Largest-Number.md" >}}) - - [0187.Repeated-DNA-Sequences]({{< relref "/ChapterFour/0187.Repeated-DNA-Sequences.md" >}}) - - [0189.Rotate-Array]({{< relref "/ChapterFour/0189.Rotate-Array.md" >}}) - - [0190.Reverse-Bits]({{< relref "/ChapterFour/0190.Reverse-Bits.md" >}}) - - [0191.Number-of-1-Bits]({{< relref "/ChapterFour/0191.Number-of-1-Bits.md" >}}) - - [0198.House-Robber]({{< relref "/ChapterFour/0198.House-Robber.md" >}}) - - [0199.Binary-Tree-Right-Side-View]({{< relref "/ChapterFour/0199.Binary-Tree-Right-Side-View.md" >}}) - - [0200.Number-of-Islands]({{< relref "/ChapterFour/0200.Number-of-Islands.md" >}}) - - [0201.Bitwise-AND-of-Numbers-Range]({{< relref "/ChapterFour/0201.Bitwise-AND-of-Numbers-Range.md" >}}) - - [0202.Happy-Number]({{< relref "/ChapterFour/0202.Happy-Number.md" >}}) - - [0203.Remove-Linked-List-Elements]({{< relref "/ChapterFour/0203.Remove-Linked-List-Elements.md" >}}) - - [0204.Count-Primes]({{< relref "/ChapterFour/0204.Count-Primes.md" >}}) - - [0205.Isomorphic-Strings]({{< relref "/ChapterFour/0205.Isomorphic-Strings.md" >}}) - - [0206.Reverse-Linked-List]({{< relref "/ChapterFour/0206.Reverse-Linked-List.md" >}}) - - [0207.Course-Schedule]({{< relref "/ChapterFour/0207.Course-Schedule.md" >}}) - - [0208.Implement-Trie-Prefix-Tree]({{< relref "/ChapterFour/0208.Implement-Trie-Prefix-Tree.md" >}}) - - [0209.Minimum-Size-Subarray-Sum]({{< relref "/ChapterFour/0209.Minimum-Size-Subarray-Sum.md" >}}) - - [0210.Course-Schedule-II]({{< relref "/ChapterFour/0210.Course-Schedule-II.md" >}}) - - [0211.Design-Add-and-Search-Words-Data-Structure]({{< relref "/ChapterFour/0211.Design-Add-and-Search-Words-Data-Structure.md" >}}) - - [0212.Word-Search-II]({{< relref "/ChapterFour/0212.Word-Search-II.md" >}}) - - [0213.House-Robber-II]({{< relref "/ChapterFour/0213.House-Robber-II.md" >}}) - - [0215.Kth-Largest-Element-in-an-Array]({{< relref "/ChapterFour/0215.Kth-Largest-Element-in-an-Array.md" >}}) - - [0216.Combination-Sum-III]({{< relref "/ChapterFour/0216.Combination-Sum-III.md" >}}) - - [0217.Contains-Duplicate]({{< relref "/ChapterFour/0217.Contains-Duplicate.md" >}}) - - [0218.The-Skyline-Problem]({{< relref "/ChapterFour/0218.The-Skyline-Problem.md" >}}) - - [0219.Contains-Duplicate-II]({{< relref "/ChapterFour/0219.Contains-Duplicate-II.md" >}}) - - [0220.Contains-Duplicate-III]({{< relref "/ChapterFour/0220.Contains-Duplicate-III.md" >}}) - - [0222.Count-Complete-Tree-Nodes]({{< relref "/ChapterFour/0222.Count-Complete-Tree-Nodes.md" >}}) - - [0223.Rectangle-Area]({{< relref "/ChapterFour/0223.Rectangle-Area.md" >}}) - - [0224.Basic-Calculator]({{< relref "/ChapterFour/0224.Basic-Calculator.md" >}}) - - [0225.Implement-Stack-using-Queues]({{< relref "/ChapterFour/0225.Implement-Stack-using-Queues.md" >}}) - - [0226.Invert-Binary-Tree]({{< relref "/ChapterFour/0226.Invert-Binary-Tree.md" >}}) - - [0228.Summary-Ranges]({{< relref "/ChapterFour/0228.Summary-Ranges.md" >}}) - - [0229.Majority-Element-II]({{< relref "/ChapterFour/0229.Majority-Element-II.md" >}}) - - [0230.Kth-Smallest-Element-in-a-BST]({{< relref "/ChapterFour/0230.Kth-Smallest-Element-in-a-BST.md" >}}) - - [0231.Power-of-Two]({{< relref "/ChapterFour/0231.Power-of-Two.md" >}}) - - [0232.Implement-Queue-using-Stacks]({{< relref "/ChapterFour/0232.Implement-Queue-using-Stacks.md" >}}) - - [0234.Palindrome-Linked-List]({{< relref "/ChapterFour/0234.Palindrome-Linked-List.md" >}}) - - [0235.Lowest-Common-Ancestor-of-a-Binary-Search-Tree]({{< relref "/ChapterFour/0235.Lowest-Common-Ancestor-of-a-Binary-Search-Tree.md" >}}) - - [0236.Lowest-Common-Ancestor-of-a-Binary-Tree]({{< relref "/ChapterFour/0236.Lowest-Common-Ancestor-of-a-Binary-Tree.md" >}}) - - [0237.Delete-Node-in-a-Linked-List]({{< relref "/ChapterFour/0237.Delete-Node-in-a-Linked-List.md" >}}) - - [0239.Sliding-Window-Maximum]({{< relref "/ChapterFour/0239.Sliding-Window-Maximum.md" >}}) - - [0240.Search-a-2D-Matrix-II]({{< relref "/ChapterFour/0240.Search-a-2D-Matrix-II.md" >}}) - - [0242.Valid-Anagram]({{< relref "/ChapterFour/0242.Valid-Anagram.md" >}}) - - [0257.Binary-Tree-Paths]({{< relref "/ChapterFour/0257.Binary-Tree-Paths.md" >}}) - - [0258.Add-Digits]({{< relref "/ChapterFour/0258.Add-Digits.md" >}}) - - [0260.Single-Number-III]({{< relref "/ChapterFour/0260.Single-Number-III.md" >}}) - - [0263.Ugly-Number]({{< relref "/ChapterFour/0263.Ugly-Number.md" >}}) - - [0268.Missing-Number]({{< relref "/ChapterFour/0268.Missing-Number.md" >}}) - - [0274.H-Index]({{< relref "/ChapterFour/0274.H-Index.md" >}}) - - [0275.H-Index-II]({{< relref "/ChapterFour/0275.H-Index-II.md" >}}) - - [0283.Move-Zeroes]({{< relref "/ChapterFour/0283.Move-Zeroes.md" >}}) - - [0287.Find-the-Duplicate-Number]({{< relref "/ChapterFour/0287.Find-the-Duplicate-Number.md" >}}) - - [0290.Word-Pattern]({{< relref "/ChapterFour/0290.Word-Pattern.md" >}}) - - [0300.Longest-Increasing-Subsequence]({{< relref "/ChapterFour/0300.Longest-Increasing-Subsequence.md" >}}) - - [0303.Range-Sum-Query---Immutable]({{< relref "/ChapterFour/0303.Range-Sum-Query---Immutable.md" >}}) - - [0306.Additive-Number]({{< relref "/ChapterFour/0306.Additive-Number.md" >}}) - - [0307.Range-Sum-Query---Mutable]({{< relref "/ChapterFour/0307.Range-Sum-Query---Mutable.md" >}}) - - [0309.Best-Time-to-Buy-and-Sell-Stock-with-Cooldown]({{< relref "/ChapterFour/0309.Best-Time-to-Buy-and-Sell-Stock-with-Cooldown.md" >}}) - - [0315.Count-of-Smaller-Numbers-After-Self]({{< relref "/ChapterFour/0315.Count-of-Smaller-Numbers-After-Self.md" >}}) - - [0318.Maximum-Product-of-Word-Lengths]({{< relref "/ChapterFour/0318.Maximum-Product-of-Word-Lengths.md" >}}) - - [0322.Coin-Change]({{< relref "/ChapterFour/0322.Coin-Change.md" >}}) - - [0324.Wiggle-Sort-II]({{< relref "/ChapterFour/0324.Wiggle-Sort-II.md" >}}) - - [0326.Power-of-Three]({{< relref "/ChapterFour/0326.Power-of-Three.md" >}}) - - [0327.Count-of-Range-Sum]({{< relref "/ChapterFour/0327.Count-of-Range-Sum.md" >}}) - - [0328.Odd-Even-Linked-List]({{< relref "/ChapterFour/0328.Odd-Even-Linked-List.md" >}}) - - [0329.Longest-Increasing-Path-in-a-Matrix]({{< relref "/ChapterFour/0329.Longest-Increasing-Path-in-a-Matrix.md" >}}) - - [0331.Verify-Preorder-Serialization-of-a-Binary-Tree]({{< relref "/ChapterFour/0331.Verify-Preorder-Serialization-of-a-Binary-Tree.md" >}}) - - [0337.House-Robber-III]({{< relref "/ChapterFour/0337.House-Robber-III.md" >}}) - - [0338.Counting-Bits]({{< relref "/ChapterFour/0338.Counting-Bits.md" >}}) - - [0342.Power-of-Four]({{< relref "/ChapterFour/0342.Power-of-Four.md" >}}) - - [0343.Integer-Break]({{< relref "/ChapterFour/0343.Integer-Break.md" >}}) - - [0344.Reverse-String]({{< relref "/ChapterFour/0344.Reverse-String.md" >}}) - - [0345.Reverse-Vowels-of-a-String]({{< relref "/ChapterFour/0345.Reverse-Vowels-of-a-String.md" >}}) - - [0347.Top-K-Frequent-Elements]({{< relref "/ChapterFour/0347.Top-K-Frequent-Elements.md" >}}) - - [0349.Intersection-of-Two-Arrays]({{< relref "/ChapterFour/0349.Intersection-of-Two-Arrays.md" >}}) - - [0350.Intersection-of-Two-Arrays-II]({{< relref "/ChapterFour/0350.Intersection-of-Two-Arrays-II.md" >}}) - - [0354.Russian-Doll-Envelopes]({{< relref "/ChapterFour/0354.Russian-Doll-Envelopes.md" >}}) - - [0357.Count-Numbers-with-Unique-Digits]({{< relref "/ChapterFour/0357.Count-Numbers-with-Unique-Digits.md" >}}) - - [0367.Valid-Perfect-Square]({{< relref "/ChapterFour/0367.Valid-Perfect-Square.md" >}}) - - [0371.Sum-of-Two-Integers]({{< relref "/ChapterFour/0371.Sum-of-Two-Integers.md" >}}) - - [0372.Super-Pow]({{< relref "/ChapterFour/0372.Super-Pow.md" >}}) - - [0373.Find-K-Pairs-with-Smallest-Sums]({{< relref "/ChapterFour/0373.Find-K-Pairs-with-Smallest-Sums.md" >}}) - - [0378.Kth-Smallest-Element-in-a-Sorted-Matrix]({{< relref "/ChapterFour/0378.Kth-Smallest-Element-in-a-Sorted-Matrix.md" >}}) - - [0385.Mini-Parser]({{< relref "/ChapterFour/0385.Mini-Parser.md" >}}) - - [0386.Lexicographical-Numbers]({{< relref "/ChapterFour/0386.Lexicographical-Numbers.md" >}}) - - [0387.First-Unique-Character-in-a-String]({{< relref "/ChapterFour/0387.First-Unique-Character-in-a-String.md" >}}) - - [0389.Find-the-Difference]({{< relref "/ChapterFour/0389.Find-the-Difference.md" >}}) - - [0392.Is-Subsequence]({{< relref "/ChapterFour/0392.Is-Subsequence.md" >}}) - - [0393.UTF-8-Validation]({{< relref "/ChapterFour/0393.UTF-8-Validation.md" >}}) - - [0394.Decode-String]({{< relref "/ChapterFour/0394.Decode-String.md" >}}) - - [0397.Integer-Replacement]({{< relref "/ChapterFour/0397.Integer-Replacement.md" >}}) - - [0399.Evaluate-Division]({{< relref "/ChapterFour/0399.Evaluate-Division.md" >}}) - - [0401.Binary-Watch]({{< relref "/ChapterFour/0401.Binary-Watch.md" >}}) - - [0402.Remove-K-Digits]({{< relref "/ChapterFour/0402.Remove-K-Digits.md" >}}) - - [0404.Sum-of-Left-Leaves]({{< relref "/ChapterFour/0404.Sum-of-Left-Leaves.md" >}}) - - [0405.Convert-a-Number-to-Hexadecimal]({{< relref "/ChapterFour/0405.Convert-a-Number-to-Hexadecimal.md" >}}) - - [0409.Longest-Palindrome]({{< relref "/ChapterFour/0409.Longest-Palindrome.md" >}}) - - [0410.Split-Array-Largest-Sum]({{< relref "/ChapterFour/0410.Split-Array-Largest-Sum.md" >}}) - - [0412.Fizz-Buzz]({{< relref "/ChapterFour/0412.Fizz-Buzz.md" >}}) - - [0414.Third-Maximum-Number]({{< relref "/ChapterFour/0414.Third-Maximum-Number.md" >}}) - - [0416.Partition-Equal-Subset-Sum]({{< relref "/ChapterFour/0416.Partition-Equal-Subset-Sum.md" >}}) - - [0421.Maximum-XOR-of-Two-Numbers-in-an-Array]({{< relref "/ChapterFour/0421.Maximum-XOR-of-Two-Numbers-in-an-Array.md" >}}) - - [0424.Longest-Repeating-Character-Replacement]({{< relref "/ChapterFour/0424.Longest-Repeating-Character-Replacement.md" >}}) - - [0433.Minimum-Genetic-Mutation]({{< relref "/ChapterFour/0433.Minimum-Genetic-Mutation.md" >}}) - - [0435.Non-overlapping-Intervals]({{< relref "/ChapterFour/0435.Non-overlapping-Intervals.md" >}}) - - [0436.Find-Right-Interval]({{< relref "/ChapterFour/0436.Find-Right-Interval.md" >}}) - - [0437.Path-Sum-III]({{< relref "/ChapterFour/0437.Path-Sum-III.md" >}}) - - [0438.Find-All-Anagrams-in-a-String]({{< relref "/ChapterFour/0438.Find-All-Anagrams-in-a-String.md" >}}) - - [0441.Arranging-Coins]({{< relref "/ChapterFour/0441.Arranging-Coins.md" >}}) - - [0445.Add-Two-Numbers-II]({{< relref "/ChapterFour/0445.Add-Two-Numbers-II.md" >}}) - - [0447.Number-of-Boomerangs]({{< relref "/ChapterFour/0447.Number-of-Boomerangs.md" >}}) - - [0448.Find-All-Numbers-Disappeared-in-an-Array]({{< relref "/ChapterFour/0448.Find-All-Numbers-Disappeared-in-an-Array.md" >}}) - - [0451.Sort-Characters-By-Frequency]({{< relref "/ChapterFour/0451.Sort-Characters-By-Frequency.md" >}}) - - [0453.Minimum-Moves-to-Equal-Array-Elements]({{< relref "/ChapterFour/0453.Minimum-Moves-to-Equal-Array-Elements.md" >}}) - - [0454.4Sum-II]({{< relref "/ChapterFour/0454.4Sum-II.md" >}}) - - [0455.Assign-Cookies]({{< relref "/ChapterFour/0455.Assign-Cookies.md" >}}) - - [0456.132-Pattern]({{< relref "/ChapterFour/0456.132-Pattern.md" >}}) - - [0457.Circular-Array-Loop]({{< relref "/ChapterFour/0457.Circular-Array-Loop.md" >}}) - - [0460.LFU-Cache]({{< relref "/ChapterFour/0460.LFU-Cache.md" >}}) - - [0461.Hamming-Distance]({{< relref "/ChapterFour/0461.Hamming-Distance.md" >}}) - - [0463.Island-Perimeter]({{< relref "/ChapterFour/0463.Island-Perimeter.md" >}}) - - [0470.Implement-Rand10-Using-Rand7]({{< relref "/ChapterFour/0470.Implement-Rand10-Using-Rand7.md" >}}) - - [0474.Ones-and-Zeroes]({{< relref "/ChapterFour/0474.Ones-and-Zeroes.md" >}}) - - [0475.Heaters]({{< relref "/ChapterFour/0475.Heaters.md" >}}) - - [0476.Number-Complement]({{< relref "/ChapterFour/0476.Number-Complement.md" >}}) - - [0477.Total-Hamming-Distance]({{< relref "/ChapterFour/0477.Total-Hamming-Distance.md" >}}) - - [0480.Sliding-Window-Median]({{< relref "/ChapterFour/0480.Sliding-Window-Median.md" >}}) - - [0483.Smallest-Good-Base]({{< relref "/ChapterFour/0483.Smallest-Good-Base.md" >}}) - - [0485.Max-Consecutive-Ones]({{< relref "/ChapterFour/0485.Max-Consecutive-Ones.md" >}}) - - [0491.Increasing-Subsequences]({{< relref "/ChapterFour/0491.Increasing-Subsequences.md" >}}) - - [0493.Reverse-Pairs]({{< relref "/ChapterFour/0493.Reverse-Pairs.md" >}}) - - [0494.Target-Sum]({{< relref "/ChapterFour/0494.Target-Sum.md" >}}) - - [0496.Next-Greater-Element-I]({{< relref "/ChapterFour/0496.Next-Greater-Element-I.md" >}}) - - [0497.Random-Point-in-Non-overlapping-Rectangles]({{< relref "/ChapterFour/0497.Random-Point-in-Non-overlapping-Rectangles.md" >}}) - - [0498.Diagonal-Traverse]({{< relref "/ChapterFour/0498.Diagonal-Traverse.md" >}}) - - [0500.Keyboard-Row]({{< relref "/ChapterFour/0500.Keyboard-Row.md" >}}) - - [0503.Next-Greater-Element-II]({{< relref "/ChapterFour/0503.Next-Greater-Element-II.md" >}}) - - [0507.Perfect-Number]({{< relref "/ChapterFour/0507.Perfect-Number.md" >}}) - - [0508.Most-Frequent-Subtree-Sum]({{< relref "/ChapterFour/0508.Most-Frequent-Subtree-Sum.md" >}}) - - [0509.Fibonacci-Number]({{< relref "/ChapterFour/0509.Fibonacci-Number.md" >}}) - - [0513.Find-Bottom-Left-Tree-Value]({{< relref "/ChapterFour/0513.Find-Bottom-Left-Tree-Value.md" >}}) - - [0515.Find-Largest-Value-in-Each-Tree-Row]({{< relref "/ChapterFour/0515.Find-Largest-Value-in-Each-Tree-Row.md" >}}) - - [0524.Longest-Word-in-Dictionary-through-Deleting]({{< relref "/ChapterFour/0524.Longest-Word-in-Dictionary-through-Deleting.md" >}}) - - [0526.Beautiful-Arrangement]({{< relref "/ChapterFour/0526.Beautiful-Arrangement.md" >}}) - - [0528.Random-Pick-with-Weight]({{< relref "/ChapterFour/0528.Random-Pick-with-Weight.md" >}}) - - [0529.Minesweeper]({{< relref "/ChapterFour/0529.Minesweeper.md" >}}) - - [0532.K-diff-Pairs-in-an-Array]({{< relref "/ChapterFour/0532.K-diff-Pairs-in-an-Array.md" >}}) - - [0537.Complex-Number-Multiplication]({{< relref "/ChapterFour/0537.Complex-Number-Multiplication.md" >}}) - - [0541.Reverse-String-II]({{< relref "/ChapterFour/0541.Reverse-String-II.md" >}}) - - [0542.01-Matrix]({{< relref "/ChapterFour/0542.01-Matrix.md" >}}) - - [0547.Number-of-Provinces]({{< relref "/ChapterFour/0547.Number-of-Provinces.md" >}}) - - [0557.Reverse-Words-in-a-String-III]({{< relref "/ChapterFour/0557.Reverse-Words-in-a-String-III.md" >}}) - - [0561.Array-Partition-I]({{< relref "/ChapterFour/0561.Array-Partition-I.md" >}}) - - [0563.Binary-Tree-Tilt]({{< relref "/ChapterFour/0563.Binary-Tree-Tilt.md" >}}) - - [0566.Reshape-the-Matrix]({{< relref "/ChapterFour/0566.Reshape-the-Matrix.md" >}}) - - [0567.Permutation-in-String]({{< relref "/ChapterFour/0567.Permutation-in-String.md" >}}) - - [0572.Subtree-of-Another-Tree]({{< relref "/ChapterFour/0572.Subtree-of-Another-Tree.md" >}}) - - [0575.Distribute-Candies]({{< relref "/ChapterFour/0575.Distribute-Candies.md" >}}) - - [0594.Longest-Harmonious-Subsequence]({{< relref "/ChapterFour/0594.Longest-Harmonious-Subsequence.md" >}}) - - [0598.Range-Addition-II]({{< relref "/ChapterFour/0598.Range-Addition-II.md" >}}) - - [0599.Minimum-Index-Sum-of-Two-Lists]({{< relref "/ChapterFour/0599.Minimum-Index-Sum-of-Two-Lists.md" >}}) - - [0605.Can-Place-Flowers]({{< relref "/ChapterFour/0605.Can-Place-Flowers.md" >}}) - - [0628.Maximum-Product-of-Three-Numbers]({{< relref "/ChapterFour/0628.Maximum-Product-of-Three-Numbers.md" >}}) - - [0632.Smallest-Range-Covering-Elements-from-K-Lists]({{< relref "/ChapterFour/0632.Smallest-Range-Covering-Elements-from-K-Lists.md" >}}) - - [0633.Sum-of-Square-Numbers]({{< relref "/ChapterFour/0633.Sum-of-Square-Numbers.md" >}}) - - [0636.Exclusive-Time-of-Functions]({{< relref "/ChapterFour/0636.Exclusive-Time-of-Functions.md" >}}) - - [0637.Average-of-Levels-in-Binary-Tree]({{< relref "/ChapterFour/0637.Average-of-Levels-in-Binary-Tree.md" >}}) - - [0638.Shopping-Offers]({{< relref "/ChapterFour/0638.Shopping-Offers.md" >}}) - - [0645.Set-Mismatch]({{< relref "/ChapterFour/0645.Set-Mismatch.md" >}}) - - [0648.Replace-Words]({{< relref "/ChapterFour/0648.Replace-Words.md" >}}) - - [0653.Two-Sum-IV---Input-is-a-BST]({{< relref "/ChapterFour/0653.Two-Sum-IV---Input-is-a-BST.md" >}}) - - [0658.Find-K-Closest-Elements]({{< relref "/ChapterFour/0658.Find-K-Closest-Elements.md" >}}) - - [0661.Image-Smoother]({{< relref "/ChapterFour/0661.Image-Smoother.md" >}}) - - [0662.Maximum-Width-of-Binary-Tree]({{< relref "/ChapterFour/0662.Maximum-Width-of-Binary-Tree.md" >}}) - - [0668.Kth-Smallest-Number-in-Multiplication-Table]({{< relref "/ChapterFour/0668.Kth-Smallest-Number-in-Multiplication-Table.md" >}}) - - [0674.Longest-Continuous-Increasing-Subsequence]({{< relref "/ChapterFour/0674.Longest-Continuous-Increasing-Subsequence.md" >}}) - - [0676.Implement-Magic-Dictionary]({{< relref "/ChapterFour/0676.Implement-Magic-Dictionary.md" >}}) - - [0682.Baseball-Game]({{< relref "/ChapterFour/0682.Baseball-Game.md" >}}) - - [0684.Redundant-Connection]({{< relref "/ChapterFour/0684.Redundant-Connection.md" >}}) - - [0685.Redundant-Connection-II]({{< relref "/ChapterFour/0685.Redundant-Connection-II.md" >}}) - - [0693.Binary-Number-with-Alternating-Bits]({{< relref "/ChapterFour/0693.Binary-Number-with-Alternating-Bits.md" >}}) - - [0695.Max-Area-of-Island]({{< relref "/ChapterFour/0695.Max-Area-of-Island.md" >}}) - - [0697.Degree-of-an-Array]({{< relref "/ChapterFour/0697.Degree-of-an-Array.md" >}}) - - [0699.Falling-Squares]({{< relref "/ChapterFour/0699.Falling-Squares.md" >}}) - - [0704.Binary-Search]({{< relref "/ChapterFour/0704.Binary-Search.md" >}}) - - [0705.Design-HashSet]({{< relref "/ChapterFour/0705.Design-HashSet.md" >}}) - - [0706.Design-HashMap]({{< relref "/ChapterFour/0706.Design-HashMap.md" >}}) - - [0707.Design-Linked-List]({{< relref "/ChapterFour/0707.Design-Linked-List.md" >}}) - - [0710.Random-Pick-with-Blacklist]({{< relref "/ChapterFour/0710.Random-Pick-with-Blacklist.md" >}}) - - [0713.Subarray-Product-Less-Than-K]({{< relref "/ChapterFour/0713.Subarray-Product-Less-Than-K.md" >}}) - - [0714.Best-Time-to-Buy-and-Sell-Stock-with-Transaction-Fee]({{< relref "/ChapterFour/0714.Best-Time-to-Buy-and-Sell-Stock-with-Transaction-Fee.md" >}}) - - [0715.Range-Module]({{< relref "/ChapterFour/0715.Range-Module.md" >}}) - - [0717.1-bit-and-2-bit-Characters]({{< relref "/ChapterFour/0717.1-bit-and-2-bit-Characters.md" >}}) - - [0718.Maximum-Length-of-Repeated-Subarray]({{< relref "/ChapterFour/0718.Maximum-Length-of-Repeated-Subarray.md" >}}) - - [0719.Find-K-th-Smallest-Pair-Distance]({{< relref "/ChapterFour/0719.Find-K-th-Smallest-Pair-Distance.md" >}}) - - [0720.Longest-Word-in-Dictionary]({{< relref "/ChapterFour/0720.Longest-Word-in-Dictionary.md" >}}) - - [0721.Accounts-Merge]({{< relref "/ChapterFour/0721.Accounts-Merge.md" >}}) - - [0724.Find-Pivot-Index]({{< relref "/ChapterFour/0724.Find-Pivot-Index.md" >}}) - - [0725.Split-Linked-List-in-Parts]({{< relref "/ChapterFour/0725.Split-Linked-List-in-Parts.md" >}}) - - [0726.Number-of-Atoms]({{< relref "/ChapterFour/0726.Number-of-Atoms.md" >}}) - - [0729.My-Calendar-I]({{< relref "/ChapterFour/0729.My-Calendar-I.md" >}}) - - [0732.My-Calendar-III]({{< relref "/ChapterFour/0732.My-Calendar-III.md" >}}) - - [0733.Flood-Fill]({{< relref "/ChapterFour/0733.Flood-Fill.md" >}}) - - [0735.Asteroid-Collision]({{< relref "/ChapterFour/0735.Asteroid-Collision.md" >}}) - - [0739.Daily-Temperatures]({{< relref "/ChapterFour/0739.Daily-Temperatures.md" >}}) - - [0744.Find-Smallest-Letter-Greater-Than-Target]({{< relref "/ChapterFour/0744.Find-Smallest-Letter-Greater-Than-Target.md" >}}) - - [0745.Prefix-and-Suffix-Search]({{< relref "/ChapterFour/0745.Prefix-and-Suffix-Search.md" >}}) - - [0746.Min-Cost-Climbing-Stairs]({{< relref "/ChapterFour/0746.Min-Cost-Climbing-Stairs.md" >}}) - - [0748.Shortest-Completing-Word]({{< relref "/ChapterFour/0748.Shortest-Completing-Word.md" >}}) - - [0753.Cracking-the-Safe]({{< relref "/ChapterFour/0753.Cracking-the-Safe.md" >}}) - - [0756.Pyramid-Transition-Matrix]({{< relref "/ChapterFour/0756.Pyramid-Transition-Matrix.md" >}}) - - [0762.Prime-Number-of-Set-Bits-in-Binary-Representation]({{< relref "/ChapterFour/0762.Prime-Number-of-Set-Bits-in-Binary-Representation.md" >}}) - - [0763.Partition-Labels]({{< relref "/ChapterFour/0763.Partition-Labels.md" >}}) - - [0765.Couples-Holding-Hands]({{< relref "/ChapterFour/0765.Couples-Holding-Hands.md" >}}) - - [0766.Toeplitz-Matrix]({{< relref "/ChapterFour/0766.Toeplitz-Matrix.md" >}}) - - [0767.Reorganize-String]({{< relref "/ChapterFour/0767.Reorganize-String.md" >}}) - - [0771.Jewels-and-Stones]({{< relref "/ChapterFour/0771.Jewels-and-Stones.md" >}}) - - [0778.Swim-in-Rising-Water]({{< relref "/ChapterFour/0778.Swim-in-Rising-Water.md" >}}) - - [0781.Rabbits-in-Forest]({{< relref "/ChapterFour/0781.Rabbits-in-Forest.md" >}}) - - [0784.Letter-Case-Permutation]({{< relref "/ChapterFour/0784.Letter-Case-Permutation.md" >}}) - - [0785.Is-Graph-Bipartite]({{< relref "/ChapterFour/0785.Is-Graph-Bipartite.md" >}}) - - [0786.K-th-Smallest-Prime-Fraction]({{< relref "/ChapterFour/0786.K-th-Smallest-Prime-Fraction.md" >}}) - - [0793.Preimage-Size-of-Factorial-Zeroes-Function]({{< relref "/ChapterFour/0793.Preimage-Size-of-Factorial-Zeroes-Function.md" >}}) - - [0802.Find-Eventual-Safe-States]({{< relref "/ChapterFour/0802.Find-Eventual-Safe-States.md" >}}) - - [0803.Bricks-Falling-When-Hit]({{< relref "/ChapterFour/0803.Bricks-Falling-When-Hit.md" >}}) - - [0811.Subdomain-Visit-Count]({{< relref "/ChapterFour/0811.Subdomain-Visit-Count.md" >}}) - - [0812.Largest-Triangle-Area]({{< relref "/ChapterFour/0812.Largest-Triangle-Area.md" >}}) - - [0815.Bus-Routes]({{< relref "/ChapterFour/0815.Bus-Routes.md" >}}) - - [0817.Linked-List-Components]({{< relref "/ChapterFour/0817.Linked-List-Components.md" >}}) - - [0819.Most-Common-Word]({{< relref "/ChapterFour/0819.Most-Common-Word.md" >}}) - - [0826.Most-Profit-Assigning-Work]({{< relref "/ChapterFour/0826.Most-Profit-Assigning-Work.md" >}}) - - [0828.Count-Unique-Characters-of-All-Substrings-of-a-Given-String]({{< relref "/ChapterFour/0828.Count-Unique-Characters-of-All-Substrings-of-a-Given-String.md" >}}) - - [0830.Positions-of-Large-Groups]({{< relref "/ChapterFour/0830.Positions-of-Large-Groups.md" >}}) - - [0832.Flipping-an-Image]({{< relref "/ChapterFour/0832.Flipping-an-Image.md" >}}) - - [0834.Sum-of-Distances-in-Tree]({{< relref "/ChapterFour/0834.Sum-of-Distances-in-Tree.md" >}}) - - [0836.Rectangle-Overlap]({{< relref "/ChapterFour/0836.Rectangle-Overlap.md" >}}) - - [0838.Push-Dominoes]({{< relref "/ChapterFour/0838.Push-Dominoes.md" >}}) - - [0839.Similar-String-Groups]({{< relref "/ChapterFour/0839.Similar-String-Groups.md" >}}) - - [0841.Keys-and-Rooms]({{< relref "/ChapterFour/0841.Keys-and-Rooms.md" >}}) - - [0842.Split-Array-into-Fibonacci-Sequence]({{< relref "/ChapterFour/0842.Split-Array-into-Fibonacci-Sequence.md" >}}) - - [0844.Backspace-String-Compare]({{< relref "/ChapterFour/0844.Backspace-String-Compare.md" >}}) - - [0845.Longest-Mountain-in-Array]({{< relref "/ChapterFour/0845.Longest-Mountain-in-Array.md" >}}) - - [0850.Rectangle-Area-II]({{< relref "/ChapterFour/0850.Rectangle-Area-II.md" >}}) - - [0851.Loud-and-Rich]({{< relref "/ChapterFour/0851.Loud-and-Rich.md" >}}) - - [0852.Peak-Index-in-a-Mountain-Array]({{< relref "/ChapterFour/0852.Peak-Index-in-a-Mountain-Array.md" >}}) - - [0853.Car-Fleet]({{< relref "/ChapterFour/0853.Car-Fleet.md" >}}) - - [0856.Score-of-Parentheses]({{< relref "/ChapterFour/0856.Score-of-Parentheses.md" >}}) - - [0862.Shortest-Subarray-with-Sum-at-Least-K]({{< relref "/ChapterFour/0862.Shortest-Subarray-with-Sum-at-Least-K.md" >}}) - - [0863.All-Nodes-Distance-K-in-Binary-Tree]({{< relref "/ChapterFour/0863.All-Nodes-Distance-K-in-Binary-Tree.md" >}}) - - [0864.Shortest-Path-to-Get-All-Keys]({{< relref "/ChapterFour/0864.Shortest-Path-to-Get-All-Keys.md" >}}) - - [0867.Transpose-Matrix]({{< relref "/ChapterFour/0867.Transpose-Matrix.md" >}}) - - [0872.Leaf-Similar-Trees]({{< relref "/ChapterFour/0872.Leaf-Similar-Trees.md" >}}) - - [0875.Koko-Eating-Bananas]({{< relref "/ChapterFour/0875.Koko-Eating-Bananas.md" >}}) - - [0876.Middle-of-the-Linked-List]({{< relref "/ChapterFour/0876.Middle-of-the-Linked-List.md" >}}) - - [0878.Nth-Magical-Number]({{< relref "/ChapterFour/0878.Nth-Magical-Number.md" >}}) - - [0880.Decoded-String-at-Index]({{< relref "/ChapterFour/0880.Decoded-String-at-Index.md" >}}) - - [0881.Boats-to-Save-People]({{< relref "/ChapterFour/0881.Boats-to-Save-People.md" >}}) - - [0884.Uncommon-Words-from-Two-Sentences]({{< relref "/ChapterFour/0884.Uncommon-Words-from-Two-Sentences.md" >}}) - - [0885.Spiral-Matrix-III]({{< relref "/ChapterFour/0885.Spiral-Matrix-III.md" >}}) - - [0887.Super-Egg-Drop]({{< relref "/ChapterFour/0887.Super-Egg-Drop.md" >}}) - - [0888.Fair-Candy-Swap]({{< relref "/ChapterFour/0888.Fair-Candy-Swap.md" >}}) - - [0891.Sum-of-Subsequence-Widths]({{< relref "/ChapterFour/0891.Sum-of-Subsequence-Widths.md" >}}) - - [0892.Surface-Area-of-3D-Shapes]({{< relref "/ChapterFour/0892.Surface-Area-of-3D-Shapes.md" >}}) - - [0895.Maximum-Frequency-Stack]({{< relref "/ChapterFour/0895.Maximum-Frequency-Stack.md" >}}) - - [0896.Monotonic-Array]({{< relref "/ChapterFour/0896.Monotonic-Array.md" >}}) - - [0897.Increasing-Order-Search-Tree]({{< relref "/ChapterFour/0897.Increasing-Order-Search-Tree.md" >}}) - - [0898.Bitwise-ORs-of-Subarrays]({{< relref "/ChapterFour/0898.Bitwise-ORs-of-Subarrays.md" >}}) - - [0901.Online-Stock-Span]({{< relref "/ChapterFour/0901.Online-Stock-Span.md" >}}) - - [0904.Fruit-Into-Baskets]({{< relref "/ChapterFour/0904.Fruit-Into-Baskets.md" >}}) - - [0907.Sum-of-Subarray-Minimums]({{< relref "/ChapterFour/0907.Sum-of-Subarray-Minimums.md" >}}) - - [0910.Smallest-Range-II]({{< relref "/ChapterFour/0910.Smallest-Range-II.md" >}}) - - [0911.Online-Election]({{< relref "/ChapterFour/0911.Online-Election.md" >}}) - - [0914.X-of-a-Kind-in-a-Deck-of-Cards]({{< relref "/ChapterFour/0914.X-of-a-Kind-in-a-Deck-of-Cards.md" >}}) - - [0918.Maximum-Sum-Circular-Subarray]({{< relref "/ChapterFour/0918.Maximum-Sum-Circular-Subarray.md" >}}) - - [0920.Number-of-Music-Playlists]({{< relref "/ChapterFour/0920.Number-of-Music-Playlists.md" >}}) - - [0921.Minimum-Add-to-Make-Parentheses-Valid]({{< relref "/ChapterFour/0921.Minimum-Add-to-Make-Parentheses-Valid.md" >}}) - - [0922.Sort-Array-By-Parity-II]({{< relref "/ChapterFour/0922.Sort-Array-By-Parity-II.md" >}}) - - [0923.3Sum-With-Multiplicity]({{< relref "/ChapterFour/0923.3Sum-With-Multiplicity.md" >}}) - - [0924.Minimize-Malware-Spread]({{< relref "/ChapterFour/0924.Minimize-Malware-Spread.md" >}}) - - [0925.Long-Pressed-Name]({{< relref "/ChapterFour/0925.Long-Pressed-Name.md" >}}) - - [0927.Three-Equal-Parts]({{< relref "/ChapterFour/0927.Three-Equal-Parts.md" >}}) - - [0928.Minimize-Malware-Spread-II]({{< relref "/ChapterFour/0928.Minimize-Malware-Spread-II.md" >}}) - - [0930.Binary-Subarrays-With-Sum]({{< relref "/ChapterFour/0930.Binary-Subarrays-With-Sum.md" >}}) - - [0933.Number-of-Recent-Calls]({{< relref "/ChapterFour/0933.Number-of-Recent-Calls.md" >}}) - - [0942.DI-String-Match]({{< relref "/ChapterFour/0942.DI-String-Match.md" >}}) - - [0946.Validate-Stack-Sequences]({{< relref "/ChapterFour/0946.Validate-Stack-Sequences.md" >}}) - - [0947.Most-Stones-Removed-with-Same-Row-or-Column]({{< relref "/ChapterFour/0947.Most-Stones-Removed-with-Same-Row-or-Column.md" >}}) - - [0949.Largest-Time-for-Given-Digits]({{< relref "/ChapterFour/0949.Largest-Time-for-Given-Digits.md" >}}) - - [0952.Largest-Component-Size-by-Common-Factor]({{< relref "/ChapterFour/0952.Largest-Component-Size-by-Common-Factor.md" >}}) - - [0953.Verifying-an-Alien-Dictionary]({{< relref "/ChapterFour/0953.Verifying-an-Alien-Dictionary.md" >}}) - - [0959.Regions-Cut-By-Slashes]({{< relref "/ChapterFour/0959.Regions-Cut-By-Slashes.md" >}}) - - [0961.N-Repeated-Element-in-Size-2N-Array]({{< relref "/ChapterFour/0961.N-Repeated-Element-in-Size-2N-Array.md" >}}) - - [0968.Binary-Tree-Cameras]({{< relref "/ChapterFour/0968.Binary-Tree-Cameras.md" >}}) - - [0969.Pancake-Sorting]({{< relref "/ChapterFour/0969.Pancake-Sorting.md" >}}) - - [0970.Powerful-Integers]({{< relref "/ChapterFour/0970.Powerful-Integers.md" >}}) - - [0973.K-Closest-Points-to-Origin]({{< relref "/ChapterFour/0973.K-Closest-Points-to-Origin.md" >}}) - - [0976.Largest-Perimeter-Triangle]({{< relref "/ChapterFour/0976.Largest-Perimeter-Triangle.md" >}}) - - [0977.Squares-of-a-Sorted-Array]({{< relref "/ChapterFour/0977.Squares-of-a-Sorted-Array.md" >}}) - - [0978.Longest-Turbulent-Subarray]({{< relref "/ChapterFour/0978.Longest-Turbulent-Subarray.md" >}}) - - [0979.Distribute-Coins-in-Binary-Tree]({{< relref "/ChapterFour/0979.Distribute-Coins-in-Binary-Tree.md" >}}) - - [0980.Unique-Paths-III]({{< relref "/ChapterFour/0980.Unique-Paths-III.md" >}}) - - [0981.Time-Based-Key-Value-Store]({{< relref "/ChapterFour/0981.Time-Based-Key-Value-Store.md" >}}) - - [0984.String-Without-AAA-or-BBB]({{< relref "/ChapterFour/0984.String-Without-AAA-or-BBB.md" >}}) - - [0985.Sum-of-Even-Numbers-After-Queries]({{< relref "/ChapterFour/0985.Sum-of-Even-Numbers-After-Queries.md" >}}) - - [0986.Interval-List-Intersections]({{< relref "/ChapterFour/0986.Interval-List-Intersections.md" >}}) - - [0989.Add-to-Array-Form-of-Integer]({{< relref "/ChapterFour/0989.Add-to-Array-Form-of-Integer.md" >}}) - - [0990.Satisfiability-of-Equality-Equations]({{< relref "/ChapterFour/0990.Satisfiability-of-Equality-Equations.md" >}}) - - [0992.Subarrays-with-K-Different-Integers]({{< relref "/ChapterFour/0992.Subarrays-with-K-Different-Integers.md" >}}) - - [0993.Cousins-in-Binary-Tree]({{< relref "/ChapterFour/0993.Cousins-in-Binary-Tree.md" >}}) - - [0995.Minimum-Number-of-K-Consecutive-Bit-Flips]({{< relref "/ChapterFour/0995.Minimum-Number-of-K-Consecutive-Bit-Flips.md" >}}) - - [0996.Number-of-Squareful-Arrays]({{< relref "/ChapterFour/0996.Number-of-Squareful-Arrays.md" >}}) - - [0999.Available-Captures-for-Rook]({{< relref "/ChapterFour/0999.Available-Captures-for-Rook.md" >}}) - - [1002.Find-Common-Characters]({{< relref "/ChapterFour/1002.Find-Common-Characters.md" >}}) - - [1003.Check-If-Word-Is-Valid-After-Substitutions]({{< relref "/ChapterFour/1003.Check-If-Word-Is-Valid-After-Substitutions.md" >}}) - - [1004.Max-Consecutive-Ones-III]({{< relref "/ChapterFour/1004.Max-Consecutive-Ones-III.md" >}}) - - [1005.Maximize-Sum-Of-Array-After-K-Negations]({{< relref "/ChapterFour/1005.Maximize-Sum-Of-Array-After-K-Negations.md" >}}) - - [1011.Capacity-To-Ship-Packages-Within-D-Days]({{< relref "/ChapterFour/1011.Capacity-To-Ship-Packages-Within-D-Days.md" >}}) - - [1017.Convert-to-Base--2]({{< relref "/ChapterFour/1017.Convert-to-Base--2.md" >}}) - - [1018.Binary-Prefix-Divisible-By-5]({{< relref "/ChapterFour/1018.Binary-Prefix-Divisible-By-5.md" >}}) - - [1019.Next-Greater-Node-In-Linked-List]({{< relref "/ChapterFour/1019.Next-Greater-Node-In-Linked-List.md" >}}) - - [1020.Number-of-Enclaves]({{< relref "/ChapterFour/1020.Number-of-Enclaves.md" >}}) - - [1021.Remove-Outermost-Parentheses]({{< relref "/ChapterFour/1021.Remove-Outermost-Parentheses.md" >}}) - - [1025.Divisor-Game]({{< relref "/ChapterFour/1025.Divisor-Game.md" >}}) - - [1026.Maximum-Difference-Between-Node-and-Ancestor]({{< relref "/ChapterFour/1026.Maximum-Difference-Between-Node-and-Ancestor.md" >}}) - - [1028.Recover-a-Tree-From-Preorder-Traversal]({{< relref "/ChapterFour/1028.Recover-a-Tree-From-Preorder-Traversal.md" >}}) - - [1030.Matrix-Cells-in-Distance-Order]({{< relref "/ChapterFour/1030.Matrix-Cells-in-Distance-Order.md" >}}) - - [1037.Valid-Boomerang]({{< relref "/ChapterFour/1037.Valid-Boomerang.md" >}}) - - [1040.Moving-Stones-Until-Consecutive-II]({{< relref "/ChapterFour/1040.Moving-Stones-Until-Consecutive-II.md" >}}) - - [1047.Remove-All-Adjacent-Duplicates-In-String]({{< relref "/ChapterFour/1047.Remove-All-Adjacent-Duplicates-In-String.md" >}}) - - [1049.Last-Stone-Weight-II]({{< relref "/ChapterFour/1049.Last-Stone-Weight-II.md" >}}) - - [1051.Height-Checker]({{< relref "/ChapterFour/1051.Height-Checker.md" >}}) - - [1052.Grumpy-Bookstore-Owner]({{< relref "/ChapterFour/1052.Grumpy-Bookstore-Owner.md" >}}) - - [1054.Distant-Barcodes]({{< relref "/ChapterFour/1054.Distant-Barcodes.md" >}}) - - [1073.Adding-Two-Negabinary-Numbers]({{< relref "/ChapterFour/1073.Adding-Two-Negabinary-Numbers.md" >}}) - - [1074.Number-of-Submatrices-That-Sum-to-Target]({{< relref "/ChapterFour/1074.Number-of-Submatrices-That-Sum-to-Target.md" >}}) - - [1078.Occurrences-After-Bigram]({{< relref "/ChapterFour/1078.Occurrences-After-Bigram.md" >}}) - - [1079.Letter-Tile-Possibilities]({{< relref "/ChapterFour/1079.Letter-Tile-Possibilities.md" >}}) - - [1089.Duplicate-Zeros]({{< relref "/ChapterFour/1089.Duplicate-Zeros.md" >}}) - - [1093.Statistics-from-a-Large-Sample]({{< relref "/ChapterFour/1093.Statistics-from-a-Large-Sample.md" >}}) - - [1105.Filling-Bookcase-Shelves]({{< relref "/ChapterFour/1105.Filling-Bookcase-Shelves.md" >}}) - - [1108.Defanging-an-IP-Address]({{< relref "/ChapterFour/1108.Defanging-an-IP-Address.md" >}}) - - [1110.Delete-Nodes-And-Return-Forest]({{< relref "/ChapterFour/1110.Delete-Nodes-And-Return-Forest.md" >}}) - - [1111.Maximum-Nesting-Depth-of-Two-Valid-Parentheses-Strings]({{< relref "/ChapterFour/1111.Maximum-Nesting-Depth-of-Two-Valid-Parentheses-Strings.md" >}}) - - [1122.Relative-Sort-Array]({{< relref "/ChapterFour/1122.Relative-Sort-Array.md" >}}) - - [1123.Lowest-Common-Ancestor-of-Deepest-Leaves]({{< relref "/ChapterFour/1123.Lowest-Common-Ancestor-of-Deepest-Leaves.md" >}}) - - [1128.Number-of-Equivalent-Domino-Pairs]({{< relref "/ChapterFour/1128.Number-of-Equivalent-Domino-Pairs.md" >}}) - - [1137.N-th-Tribonacci-Number]({{< relref "/ChapterFour/1137.N-th-Tribonacci-Number.md" >}}) - - [1145.Binary-Tree-Coloring-Game]({{< relref "/ChapterFour/1145.Binary-Tree-Coloring-Game.md" >}}) - - [1154.Day-of-the-Year]({{< relref "/ChapterFour/1154.Day-of-the-Year.md" >}}) - - [1157.Online-Majority-Element-In-Subarray]({{< relref "/ChapterFour/1157.Online-Majority-Element-In-Subarray.md" >}}) - - [1160.Find-Words-That-Can-Be-Formed-by-Characters]({{< relref "/ChapterFour/1160.Find-Words-That-Can-Be-Formed-by-Characters.md" >}}) - - [1170.Compare-Strings-by-Frequency-of-the-Smallest-Character]({{< relref "/ChapterFour/1170.Compare-Strings-by-Frequency-of-the-Smallest-Character.md" >}}) - - [1171.Remove-Zero-Sum-Consecutive-Nodes-from-Linked-List]({{< relref "/ChapterFour/1171.Remove-Zero-Sum-Consecutive-Nodes-from-Linked-List.md" >}}) - - [1175.Prime-Arrangements]({{< relref "/ChapterFour/1175.Prime-Arrangements.md" >}}) - - [1184.Distance-Between-Bus-Stops]({{< relref "/ChapterFour/1184.Distance-Between-Bus-Stops.md" >}}) - - [1185.Day-of-the-Week]({{< relref "/ChapterFour/1185.Day-of-the-Week.md" >}}) - - [1189.Maximum-Number-of-Balloons]({{< relref "/ChapterFour/1189.Maximum-Number-of-Balloons.md" >}}) - - [1200.Minimum-Absolute-Difference]({{< relref "/ChapterFour/1200.Minimum-Absolute-Difference.md" >}}) - - [1201.Ugly-Number-III]({{< relref "/ChapterFour/1201.Ugly-Number-III.md" >}}) - - [1202.Smallest-String-With-Swaps]({{< relref "/ChapterFour/1202.Smallest-String-With-Swaps.md" >}}) - - [1203.Sort-Items-by-Groups-Respecting-Dependencies]({{< relref "/ChapterFour/1203.Sort-Items-by-Groups-Respecting-Dependencies.md" >}}) - - [1207.Unique-Number-of-Occurrences]({{< relref "/ChapterFour/1207.Unique-Number-of-Occurrences.md" >}}) - - [1208.Get-Equal-Substrings-Within-Budget]({{< relref "/ChapterFour/1208.Get-Equal-Substrings-Within-Budget.md" >}}) - - [1217.Minimum-Cost-to-Move-Chips-to-The-Same-Position]({{< relref "/ChapterFour/1217.Minimum-Cost-to-Move-Chips-to-The-Same-Position.md" >}}) - - [1221.Split-a-String-in-Balanced-Strings]({{< relref "/ChapterFour/1221.Split-a-String-in-Balanced-Strings.md" >}}) - - [1232.Check-If-It-Is-a-Straight-Line]({{< relref "/ChapterFour/1232.Check-If-It-Is-a-Straight-Line.md" >}}) - - [1234.Replace-the-Substring-for-Balanced-String]({{< relref "/ChapterFour/1234.Replace-the-Substring-for-Balanced-String.md" >}}) - - [1235.Maximum-Profit-in-Job-Scheduling]({{< relref "/ChapterFour/1235.Maximum-Profit-in-Job-Scheduling.md" >}}) - - [1252.Cells-with-Odd-Values-in-a-Matrix]({{< relref "/ChapterFour/1252.Cells-with-Odd-Values-in-a-Matrix.md" >}}) - - [1254.Number-of-Closed-Islands]({{< relref "/ChapterFour/1254.Number-of-Closed-Islands.md" >}}) - - [1260.Shift-2D-Grid]({{< relref "/ChapterFour/1260.Shift-2D-Grid.md" >}}) - - [1266.Minimum-Time-Visiting-All-Points]({{< relref "/ChapterFour/1266.Minimum-Time-Visiting-All-Points.md" >}}) - - [1275.Find-Winner-on-a-Tic-Tac-Toe-Game]({{< relref "/ChapterFour/1275.Find-Winner-on-a-Tic-Tac-Toe-Game.md" >}}) - - [1281.Subtract-the-Product-and-Sum-of-Digits-of-an-Integer]({{< relref "/ChapterFour/1281.Subtract-the-Product-and-Sum-of-Digits-of-an-Integer.md" >}}) - - [1283.Find-the-Smallest-Divisor-Given-a-Threshold]({{< relref "/ChapterFour/1283.Find-the-Smallest-Divisor-Given-a-Threshold.md" >}}) - - [1287.Element-Appearing-More-Than-25-In-Sorted-Array]({{< relref "/ChapterFour/1287.Element-Appearing-More-Than-25-In-Sorted-Array.md" >}}) - - [1290.Convert-Binary-Number-in-a-Linked-List-to-Integer]({{< relref "/ChapterFour/1290.Convert-Binary-Number-in-a-Linked-List-to-Integer.md" >}}) - - [1295.Find-Numbers-with-Even-Number-of-Digits]({{< relref "/ChapterFour/1295.Find-Numbers-with-Even-Number-of-Digits.md" >}}) - - [1299.Replace-Elements-with-Greatest-Element-on-Right-Side]({{< relref "/ChapterFour/1299.Replace-Elements-with-Greatest-Element-on-Right-Side.md" >}}) - - [1300.Sum-of-Mutated-Array-Closest-to-Target]({{< relref "/ChapterFour/1300.Sum-of-Mutated-Array-Closest-to-Target.md" >}}) - - [1302.Deepest-Leaves-Sum]({{< relref "/ChapterFour/1302.Deepest-Leaves-Sum.md" >}}) - - [1304.Find-N-Unique-Integers-Sum-up-to-Zero]({{< relref "/ChapterFour/1304.Find-N-Unique-Integers-Sum-up-to-Zero.md" >}}) - - [1305.All-Elements-in-Two-Binary-Search-Trees]({{< relref "/ChapterFour/1305.All-Elements-in-Two-Binary-Search-Trees.md" >}}) - - [1306.Jump-Game-III]({{< relref "/ChapterFour/1306.Jump-Game-III.md" >}}) - - [1313.Decompress-Run-Length-Encoded-List]({{< relref "/ChapterFour/1313.Decompress-Run-Length-Encoded-List.md" >}}) - - [1317.Convert-Integer-to-the-Sum-of-Two-No-Zero-Integers]({{< relref "/ChapterFour/1317.Convert-Integer-to-the-Sum-of-Two-No-Zero-Integers.md" >}}) - - [1319.Number-of-Operations-to-Make-Network-Connected]({{< relref "/ChapterFour/1319.Number-of-Operations-to-Make-Network-Connected.md" >}}) - - [1329.Sort-the-Matrix-Diagonally]({{< relref "/ChapterFour/1329.Sort-the-Matrix-Diagonally.md" >}}) - - [1380.Lucky-Numbers-in-a-Matrix]({{< relref "/ChapterFour/1380.Lucky-Numbers-in-a-Matrix.md" >}}) - - [1385.Find-the-Distance-Value-Between-Two-Arrays]({{< relref "/ChapterFour/1385.Find-the-Distance-Value-Between-Two-Arrays.md" >}}) - - [1389.Create-Target-Array-in-the-Given-Order]({{< relref "/ChapterFour/1389.Create-Target-Array-in-the-Given-Order.md" >}}) - - [1437.Check-If-All-1s-Are-at-Least-Length-K-Places-Away]({{< relref "/ChapterFour/1437.Check-If-All-1s-Are-at-Least-Length-K-Places-Away.md" >}}) - - [1455.Check-If-a-Word-Occurs-As-a-Prefix-of-Any-Word-in-a-Sentence]({{< relref "/ChapterFour/1455.Check-If-a-Word-Occurs-As-a-Prefix-of-Any-Word-in-a-Sentence.md" >}}) - - [1463.Cherry-Pickup-II]({{< relref "/ChapterFour/1463.Cherry-Pickup-II.md" >}}) - - [1464.Maximum-Product-of-Two-Elements-in-an-Array]({{< relref "/ChapterFour/1464.Maximum-Product-of-Two-Elements-in-an-Array.md" >}}) - - [1470.Shuffle-the-Array]({{< relref "/ChapterFour/1470.Shuffle-the-Array.md" >}}) - - [1480.Running-Sum-of-1d-Array]({{< relref "/ChapterFour/1480.Running-Sum-of-1d-Array.md" >}}) - - [1512.Number-of-Good-Pairs]({{< relref "/ChapterFour/1512.Number-of-Good-Pairs.md" >}}) - - [1539.Kth-Missing-Positive-Number]({{< relref "/ChapterFour/1539.Kth-Missing-Positive-Number.md" >}}) - - [1573.Number-of-Ways-to-Split-a-String]({{< relref "/ChapterFour/1573.Number-of-Ways-to-Split-a-String.md" >}}) - - [1640.Check-Array-Formation-Through-Concatenation]({{< relref "/ChapterFour/1640.Check-Array-Formation-Through-Concatenation.md" >}}) - - [1641.Count-Sorted-Vowel-Strings]({{< relref "/ChapterFour/1641.Count-Sorted-Vowel-Strings.md" >}}) - - [1646.Get-Maximum-in-Generated-Array]({{< relref "/ChapterFour/1646.Get-Maximum-in-Generated-Array.md" >}}) - - [1647.Minimum-Deletions-to-Make-Character-Frequencies-Unique]({{< relref "/ChapterFour/1647.Minimum-Deletions-to-Make-Character-Frequencies-Unique.md" >}}) - - [1648.Sell-Diminishing-Valued-Colored-Balls]({{< relref "/ChapterFour/1648.Sell-Diminishing-Valued-Colored-Balls.md" >}}) - - [1649.Create-Sorted-Array-through-Instructions]({{< relref "/ChapterFour/1649.Create-Sorted-Array-through-Instructions.md" >}}) - - [1652.Defuse-the-Bomb]({{< relref "/ChapterFour/1652.Defuse-the-Bomb.md" >}}) - - [1653.Minimum-Deletions-to-Make-String-Balanced]({{< relref "/ChapterFour/1653.Minimum-Deletions-to-Make-String-Balanced.md" >}}) - - [1654.Minimum-Jumps-to-Reach-Home]({{< relref "/ChapterFour/1654.Minimum-Jumps-to-Reach-Home.md" >}}) - - [1655.Distribute-Repeating-Integers]({{< relref "/ChapterFour/1655.Distribute-Repeating-Integers.md" >}}) - - [1656.Design-an-Ordered-Stream]({{< relref "/ChapterFour/1656.Design-an-Ordered-Stream.md" >}}) - - [1657.Determine-if-Two-Strings-Are-Close]({{< relref "/ChapterFour/1657.Determine-if-Two-Strings-Are-Close.md" >}}) - - [1658.Minimum-Operations-to-Reduce-X-to-Zero]({{< relref "/ChapterFour/1658.Minimum-Operations-to-Reduce-X-to-Zero.md" >}}) - - [1659.Maximize-Grid-Happiness]({{< relref "/ChapterFour/1659.Maximize-Grid-Happiness.md" >}}) - - [1662.Check-If-Two-String-Arrays-are-Equivalent]({{< relref "/ChapterFour/1662.Check-If-Two-String-Arrays-are-Equivalent.md" >}}) - - [1663.Smallest-String-With-A-Given-Numeric-Value]({{< relref "/ChapterFour/1663.Smallest-String-With-A-Given-Numeric-Value.md" >}}) - - [1664.Ways-to-Make-a-Fair-Array]({{< relref "/ChapterFour/1664.Ways-to-Make-a-Fair-Array.md" >}}) - - [1665.Minimum-Initial-Energy-to-Finish-Tasks]({{< relref "/ChapterFour/1665.Minimum-Initial-Energy-to-Finish-Tasks.md" >}}) - - [1668.Maximum-Repeating-Substring]({{< relref "/ChapterFour/1668.Maximum-Repeating-Substring.md" >}}) - - [1669.Merge-In-Between-Linked-Lists]({{< relref "/ChapterFour/1669.Merge-In-Between-Linked-Lists.md" >}}) - - [1670.Design-Front-Middle-Back-Queue]({{< relref "/ChapterFour/1670.Design-Front-Middle-Back-Queue.md" >}}) - - [1672.Richest-Customer-Wealth]({{< relref "/ChapterFour/1672.Richest-Customer-Wealth.md" >}}) - - [1673.Find-the-Most-Competitive-Subsequence]({{< relref "/ChapterFour/1673.Find-the-Most-Competitive-Subsequence.md" >}}) - - [1674.Minimum-Moves-to-Make-Array-Complementary]({{< relref "/ChapterFour/1674.Minimum-Moves-to-Make-Array-Complementary.md" >}}) - - [1678.Goal-Parser-Interpretation]({{< relref "/ChapterFour/1678.Goal-Parser-Interpretation.md" >}}) - - [1679.Max-Number-of-K-Sum-Pairs]({{< relref "/ChapterFour/1679.Max-Number-of-K-Sum-Pairs.md" >}}) - - [1680.Concatenation-of-Consecutive-Binary-Numbers]({{< relref "/ChapterFour/1680.Concatenation-of-Consecutive-Binary-Numbers.md" >}}) - - [1681.Minimum-Incompatibility]({{< relref "/ChapterFour/1681.Minimum-Incompatibility.md" >}}) - - [1684.Count-the-Number-of-Consistent-Strings]({{< relref "/ChapterFour/1684.Count-the-Number-of-Consistent-Strings.md" >}}) - - [1685.Sum-of-Absolute-Differences-in-a-Sorted-Array]({{< relref "/ChapterFour/1685.Sum-of-Absolute-Differences-in-a-Sorted-Array.md" >}}) - - [1688.Count-of-Matches-in-Tournament]({{< relref "/ChapterFour/1688.Count-of-Matches-in-Tournament.md" >}}) - - [1689.Partitioning-Into-Minimum-Number-Of-Deci-Binary-Numbers]({{< relref "/ChapterFour/1689.Partitioning-Into-Minimum-Number-Of-Deci-Binary-Numbers.md" >}}) - - [1690.Stone-Game-VII]({{< relref "/ChapterFour/1690.Stone-Game-VII.md" >}}) - - [1694.Reformat-Phone-Number]({{< relref "/ChapterFour/1694.Reformat-Phone-Number.md" >}}) - - [1695.Maximum-Erasure-Value]({{< relref "/ChapterFour/1695.Maximum-Erasure-Value.md" >}}) - - [1696.Jump-Game-VI]({{< relref "/ChapterFour/1696.Jump-Game-VI.md" >}}) - - -
diff --git a/website/resources/_gen/assets/scss/leetcode/book.scss_50fc8c04e12a2f59027287995557ceff.content b/website/resources/_gen/assets/scss/leetcode/book.scss_50fc8c04e12a2f59027287995557ceff.content index b16cb5fd..fca253c6 100644 --- a/website/resources/_gen/assets/scss/leetcode/book.scss_50fc8c04e12a2f59027287995557ceff.content +++ b/website/resources/_gen/assets/scss/leetcode/book.scss_50fc8c04e12a2f59027287995557ceff.content @@ -1 +1 @@ -:root{--gray-100: #f8f9fa;--gray-200: #e9ecef;--gray-500: #adb5bd;--color-link: #0055bb;--color-visited-link: #8440f1;--body-background: white;--body-font-color: black;--icon-filter: none;--hint-color-info: #6bf;--hint-color-warning: #fd6;--hint-color-danger: #f66}@media(prefers-color-scheme:dark){:root{--gray-100: rgba(255, 255, 255, 0.1);--gray-200: rgba(255, 255, 255, 0.2);--gray-500: rgba(255, 255, 255, 0.5);--color-link: #84b2ff;--color-visited-link: #b88dff;--body-background: #343a40;--body-font-color: #e9ecef;--icon-filter: brightness(0) invert(1);--hint-color-info: #6bf;--hint-color-warning: #fd6;--hint-color-danger: #f66}}/*!normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css*/html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.flex{display:flex}.flex-auto{flex:1 1 auto}.flex-even{flex:1 1}.flex-wrap{flex-wrap:wrap}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.align-center{align-items:center}.mx-auto{margin:0 auto}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.hidden{display:none}input.toggle{height:0;width:0;overflow:hidden;opacity:0;position:absolute}.clearfix::after{content:"";display:table;clear:both}html{font-size:16px;scroll-behavior:smooth;touch-action:manipulation}body{min-width:20rem;color:var(--body-font-color);background:var(--body-background);letter-spacing:.33px;font-weight:400;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;box-sizing:border-box}body *{box-sizing:inherit}h1,h2,h3,h4,h5{font-weight:400}a{text-decoration:none;color:var(--color-link)}img{vertical-align:baseline}:focus{outline-style:auto;outline-color:currentColor;outline-color:-webkit-focus-ring-color}aside nav ul{padding:0;margin:0;list-style:none}aside nav ul li{margin:1em 0;position:relative}aside nav ul a{display:block}aside nav ul a:hover{opacity:.5}aside nav ul ul{padding-inline-start:1rem}ul.pagination{display:flex;justify-content:center;list-style-type:none}ul.pagination .page-item a{padding:1rem}.container{max-width:80rem;margin:0 auto}.book-icon{filter:var(--icon-filter)}.book-brand{margin-top:0}.book-brand img{height:1.5em;width:auto;vertical-align:middle;margin-inline-end:.5rem}.book-menu{flex:0 0 16rem;font-size:.875rem}.book-menu .book-menu-content{width:16rem;padding:1rem;background:var(--body-background);position:fixed;top:0;bottom:0;overflow-x:hidden;overflow-y:auto}.book-menu a,.book-menu label{color:inherit;cursor:pointer;word-wrap:break-word}.book-menu a.active{color:var(--color-link)}.book-menu input.toggle+label+ul{display:none}.book-menu input.toggle:checked+label+ul{display:block}.book-section-flat{margin-bottom:2rem}.book-section-flat:not(:first-child){margin-top:2rem}.book-section-flat>a,.book-section-flat>span,.book-section-flat>label{font-weight:bolder}.book-section-flat>ul{padding-inline-start:0}.book-page{min-width:20rem;flex-grow:1;padding:1rem}.book-post{margin-bottom:3rem}.book-header{display:none;margin-bottom:1rem}.book-header label{line-height:0}.book-search{position:relative;margin:1rem 0;border-bottom:1px solid transparent}.book-search input{width:100%;padding:.5rem;border:0;border-radius:.25rem;background:var(--gray-100);color:var(--body-font-color)}.book-search input:required+.book-search-spinner{display:block}.book-search .book-search-spinner{position:absolute;top:0;margin:.5rem;margin-inline-start:calc(100% - 1.5rem);width:1rem;height:1rem;border:1px solid transparent;border-top-color:var(--body-font-color);border-radius:50%;animation:spin 1s ease infinite}@keyframes spin{100%{transform:rotate(360deg)}}.book-search small{opacity:.5}.book-toc{flex:0 0 16rem;font-size:.75rem}.book-toc .book-toc-content{width:16rem;padding:1rem;position:fixed;top:0;bottom:0;overflow-x:hidden;overflow-y:auto}.book-toc img{height:1em}.book-toc nav>ul>li:first-child{margin-top:0}.book-footer{padding-top:1rem;font-size:.875rem}.book-footer img{height:1em;margin-inline-end:.5rem}.book-comments{margin-top:1rem}.book-languages{position:relative;overflow:visible;padding:1rem;margin:-1rem}.book-languages ul{margin:0;padding:0;list-style:none}.book-languages ul li{white-space:nowrap;cursor:pointer}.book-languages:hover .book-languages-list,.book-languages:focus .book-languages-list,.book-languages:focus-within .book-languages-list{display:block}.book-languages .book-languages-list{display:none;position:absolute;bottom:100%;left:0;padding:.5rem 0;background:var(--body-background);box-shadow:0 0 .25rem rgba(0,0,0,.1)}.book-languages .book-languages-list li img{opacity:.25}.book-languages .book-languages-list li.active img,.book-languages .book-languages-list li:hover img{opacity:initial}.book-languages .book-languages-list a{color:inherit;padding:.5rem 1rem}.book-home{padding:1rem}.book-menu-content,.book-toc-content,.book-page,.book-header aside,.markdown{transition:.2s ease-in-out;transition-property:transform,margin,opacity,visibility;will-change:transform,margin,opacity}@media screen and (max-width:56rem){#menu-control,#toc-control{display:inline}.book-menu{visibility:hidden;margin-inline-start:-16rem;font-size:16px;z-index:1}.book-toc{display:none}.book-header{display:block}#menu-control:focus~main label[for=menu-control]{outline-style:auto;outline-color:currentColor;outline-color:-webkit-focus-ring-color}#menu-control:checked~main .book-menu{visibility:initial}#menu-control:checked~main .book-menu .book-menu-content{transform:translateX(16rem);box-shadow:0 0 .5rem rgba(0,0,0,.1)}#menu-control:checked~main .book-page{opacity:.25}#menu-control:checked~main .book-menu-overlay{display:block;position:absolute;top:0;bottom:0;left:0;right:0}#toc-control:focus~main label[for=toc-control]{outline-style:auto;outline-color:currentColor;outline-color:-webkit-focus-ring-color}#toc-control:checked~main .book-header aside{display:block}body[dir=rtl] #menu-control:checked+main .book-menu .book-menu-content{transform:translateX(-16rem)}}@media screen and (min-width:80rem){.book-page,.book-menu .book-menu-content,.book-toc .book-toc-content{padding:2rem 1rem}}@font-face{font-family:roboto;font-style:italic;font-weight:300;font-display:swap;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(fonts/roboto-v19-latin-300italic.woff2)format("woff2"),url(fonts/roboto-v19-latin-300italic.woff)format("woff")}@font-face{font-family:roboto;font-style:normal;font-weight:400;font-display:swap;src:local("Roboto"),local("Roboto-Regular"),url(fonts/roboto-v19-latin-regular.woff2)format("woff2"),url(fonts/roboto-v19-latin-regular.woff)format("woff")}@font-face{font-family:roboto;font-style:normal;font-weight:700;font-display:swap;src:local("Roboto Bold"),local("Roboto-Bold"),url(fonts/roboto-v19-latin-700.woff2)format("woff2"),url(fonts/roboto-v19-latin-700.woff)format("woff")}@font-face{font-family:roboto mono;font-style:normal;font-weight:400;font-display:swap;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(fonts/roboto-mono-v6-latin-regular.woff2)format("woff2"),url(fonts/roboto-mono-v6-latin-regular.woff)format("woff")}body{font-family:roboto,sans-serif}code{font-family:roboto mono,monospace}@media print{.book-menu,.book-footer,.book-toc{display:none}.book-header,.book-header aside{display:block}main{display:block!important}}.markdown{line-height:1.6}.markdown>:first-child{margin-top:0}.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6{font-weight:400;line-height:1;margin-top:1.5em;margin-bottom:1rem}.markdown h1 a.anchor,.markdown h2 a.anchor,.markdown h3 a.anchor,.markdown h4 a.anchor,.markdown h5 a.anchor,.markdown h6 a.anchor{opacity:0;font-size:.75em;vertical-align:middle;text-decoration:none}.markdown h1:hover a.anchor,.markdown h1 a.anchor:focus,.markdown h2:hover a.anchor,.markdown h2 a.anchor:focus,.markdown h3:hover a.anchor,.markdown h3 a.anchor:focus,.markdown h4:hover a.anchor,.markdown h4 a.anchor:focus,.markdown h5:hover a.anchor,.markdown h5 a.anchor:focus,.markdown h6:hover a.anchor,.markdown h6 a.anchor:focus{opacity:initial}.markdown h4,.markdown h5,.markdown h6{font-weight:bolder}.markdown h5{font-size:.875em}.markdown h6{font-size:.75em}.markdown b,.markdown optgroup,.markdown strong{font-weight:bolder}.markdown a{text-decoration:none}.markdown a:hover{text-decoration:underline}.markdown a:visited{color:var(--color-visited-link)}.markdown img{max-width:100%}.markdown code{padding:0 .25rem;background:var(--gray-200);border-radius:.25rem;font-size:.875em}.markdown pre{padding:1rem;background:var(--gray-100);border-radius:.25rem;overflow-x:auto}.markdown pre code{padding:0;background:0 0}.markdown blockquote{margin:1rem 0;padding:.5rem 1rem .5rem .75rem;border-inline-start:.25rem solid var(--gray-200);border-radius:.25rem}.markdown blockquote :first-child{margin-top:0}.markdown blockquote :last-child{margin-bottom:0}.markdown table{overflow:auto;display:block;border-spacing:0;border-collapse:collapse;margin-top:1rem;margin-bottom:1rem}.markdown table tr th,.markdown table tr td{padding:.5rem 1rem;border:1px solid var(--gray-200)}.markdown table tr:nth-child(2n){background:var(--gray-100)}.markdown hr{height:1px;border:none;background:var(--gray-200)}.markdown ul,.markdown ol{padding-inline-start:2rem}.markdown dl dt{font-weight:bolder;margin-top:1rem}.markdown dl dd{margin-inline-start:1rem;margin-bottom:1rem}.markdown .highlight table tr td:nth-child(1) pre{margin:0;padding-inline-end:0}.markdown .highlight table tr td:nth-child(2) pre{margin:0;padding-inline-start:0}.markdown details{padding:1rem;border:1px solid var(--gray-200);border-radius:.25rem}.markdown details summary{line-height:1;padding:1rem;margin:-1rem;cursor:pointer}.markdown details[open] summary{margin-bottom:0}.markdown figure{margin:1rem 0}.markdown figure figcaption p{margin-top:0}.markdown-inner>:first-child{margin-top:0}.markdown-inner>:last-child{margin-bottom:0}.markdown .book-expand{margin-top:1rem;margin-bottom:1rem;border:1px solid var(--gray-200);border-radius:.25rem;overflow:hidden}.markdown .book-expand .book-expand-head{background:var(--gray-100);padding:.5rem 1rem;cursor:pointer}.markdown .book-expand .book-expand-content{display:none;padding:1rem}.markdown .book-expand input[type=checkbox]:checked+.book-expand-content{display:block}.markdown .book-tabs{margin-top:1rem;margin-bottom:1rem;border:1px solid var(--gray-200);border-radius:.25rem;overflow:hidden;display:flex;flex-wrap:wrap}.markdown .book-tabs label{display:inline-block;padding:.5rem 1rem;border-bottom:1px transparent;cursor:pointer}.markdown .book-tabs .book-tabs-content{order:999;width:100%;border-top:1px solid var(--gray-100);padding:1rem;display:none}.markdown .book-tabs input[type=radio]:checked+label{border-bottom:1px solid var(--color-link)}.markdown .book-tabs input[type=radio]:checked+label+.book-tabs-content{display:block}.markdown .book-tabs input[type=radio]:focus+label{outline-style:auto;outline-color:currentColor;outline-color:-webkit-focus-ring-color}.markdown .book-columns{margin-left:-1rem;margin-right:-1rem}.markdown .book-columns>div{margin:1rem 0;min-width:10rem;padding:0 1rem}.markdown a.book-btn{display:inline-block;font-size:.875rem;color:var(--color-link);line-height:2rem;padding:0 1rem;border:1px solid var(--color-link);border-radius:.25rem;cursor:pointer}.markdown a.book-btn:hover{text-decoration:none}.markdown .book-hint.info{border-color:#6bf;background-color:rgba(102,187,255,.1)}.markdown .book-hint.warning{border-color:#fd6;background-color:rgba(255,221,102,.1)}.markdown .book-hint.danger{border-color:#f66;background-color:rgba(255,102,102,.1)}.js-toggle-wrapper{display:table;margin:1rem 0 0 5px;flex:1}.js-toggle{touch-action:pan-x;display:inline-block;position:relative;cursor:pointer;background-color:transparent;border:0;padding:0;-webkit-touch-callout:none;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-tap-highlight-color:transparent}.js-toggle-screenreader-only{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.js-toggle-track{width:60px;height:34px;padding:0;transition:all .2s ease}.js-toggle-track-check{position:absolute;width:17px;height:17px;left:5px;top:0;bottom:0;margin-top:auto;margin-bottom:auto;line-height:0;opacity:0;transition:opacity .25s ease}.js-toggle--checked .js-toggle-track-check{opacity:1;transition:opacity .25s ease}.js-toggle-track-x{position:absolute;width:17px;height:17px;right:5px;top:0;bottom:0;margin-top:auto;margin-bottom:auto;line-height:0;opacity:1;transition:opacity .25s ease}.js-toggle--checked .js-toggle-track-x{opacity:0}.js-toggle-thumb{position:absolute;top:1px;left:1px;width:30px;height:32px;box-sizing:border-box;transition:all .5s cubic-bezier(0.23,1,0.32,1)0ms;transform:translateX(0)}.js-toggle--checked .js-toggle-thumb{transform:translateX(26px);border-color:#19ab27}.magic{display:flex}body.dark-mode,body.dark-mode main *{background:#2d2d2d;color:#f5f5f5}[data-theme=dark]{--gray-100: rgba(255, 255, 255, 0.1);--gray-200: rgba(255, 255, 255, 0.2);--body-background: #343a40;--body-font-color: #e9ecef;--color-link: #84b2ff;--color-visited-link: #b88dff;--icon-filter: brightness(0) invert(1)}[data-theme=light]{--gray-100: #f8f9fa;--gray-200: #e9ecef;--body-background: white;--body-font-color: black;--color-link: #05b;--color-visited-link: #8440f1;--icon-filter: none} \ No newline at end of file +:root{--gray-100: #f8f9fa;--gray-200: #e9ecef;--gray-500: #adb5bd;--color-link: #0055bb;--color-visited-link: #8440f1;--body-background: white;--body-font-color: black;--icon-filter: none;--hint-color-info: #6bf;--hint-color-warning: #fd6;--hint-color-danger: #f66}/*!normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css*/html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.flex{display:flex}.flex-auto{flex:1 1 auto}.flex-even{flex:1 1}.flex-wrap{flex-wrap:wrap}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.align-center{align-items:center}.mx-auto{margin:0 auto}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.hidden{display:none}input.toggle{height:0;width:0;overflow:hidden;opacity:0;position:absolute}.clearfix::after{content:"";display:table;clear:both}html{font-size:16px;scroll-behavior:smooth;touch-action:manipulation}body{min-width:20rem;color:var(--body-font-color);background:var(--body-background);letter-spacing:.33px;font-weight:400;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;box-sizing:border-box}body *{box-sizing:inherit}h1,h2,h3,h4,h5{font-weight:400}a{text-decoration:none;color:var(--color-link)}img{vertical-align:baseline}:focus{outline-style:auto;outline-color:currentColor;outline-color:-webkit-focus-ring-color}aside nav ul{padding:0;margin:0;list-style:none}aside nav ul li{margin:1em 0;position:relative}aside nav ul a{display:block}aside nav ul a:hover{opacity:.5}aside nav ul ul{padding-inline-start:1rem}ul.pagination{display:flex;justify-content:center;list-style-type:none}ul.pagination .page-item a{padding:1rem}.container{max-width:80rem;margin:0 auto}.book-icon{filter:var(--icon-filter)}.book-brand{margin-top:0}.book-brand img{height:1.5em;width:auto;vertical-align:middle;margin-inline-end:.5rem}.book-menu{flex:0 0 16rem;font-size:.875rem}.book-menu .book-menu-content{width:16rem;padding:1rem;background:var(--body-background);position:fixed;top:0;bottom:0;overflow-x:hidden;overflow-y:auto}.book-menu a,.book-menu label{color:inherit;cursor:pointer;word-wrap:break-word}.book-menu a.active{color:var(--color-link)}.book-menu input.toggle+label+ul{display:none}.book-menu input.toggle:checked+label+ul{display:block}.book-section-flat{margin-bottom:2rem}.book-section-flat:not(:first-child){margin-top:2rem}.book-section-flat>a,.book-section-flat>span,.book-section-flat>label{font-weight:bolder}.book-section-flat>ul{padding-inline-start:0}.book-page{min-width:20rem;flex-grow:1;padding:1rem}.book-post{margin-bottom:3rem}.book-header{display:none;margin-bottom:1rem}.book-header label{line-height:0}.book-search{position:relative;margin:1rem 0;border-bottom:1px solid transparent}.book-search input{width:100%;padding:.5rem;border:0;border-radius:.25rem;background:var(--gray-100);color:var(--body-font-color)}.book-search input:required+.book-search-spinner{display:block}.book-search .book-search-spinner{position:absolute;top:0;margin:.5rem;margin-inline-start:calc(100% - 1.5rem);width:1rem;height:1rem;border:1px solid transparent;border-top-color:var(--body-font-color);border-radius:50%;animation:spin 1s ease infinite}@keyframes spin{100%{transform:rotate(360deg)}}.book-search small{opacity:.5}.book-toc{flex:0 0 16rem;font-size:.75rem}.book-toc .book-toc-content{width:16rem;padding:1rem;position:fixed;top:0;bottom:0;overflow-x:hidden;overflow-y:auto}.book-toc img{height:1em}.book-toc nav>ul>li:first-child{margin-top:0}.book-footer{padding-top:1rem;font-size:.875rem}.book-footer img{height:1em;margin-inline-end:.5rem}.book-comments{margin-top:1rem}.book-languages{position:relative;overflow:visible;padding:1rem;margin:-1rem}.book-languages ul{margin:0;padding:0;list-style:none}.book-languages ul li{white-space:nowrap;cursor:pointer}.book-languages:hover .book-languages-list,.book-languages:focus .book-languages-list,.book-languages:focus-within .book-languages-list{display:block}.book-languages .book-languages-list{display:none;position:absolute;bottom:100%;left:0;padding:.5rem 0;background:var(--body-background);box-shadow:0 0 .25rem rgba(0,0,0,.1)}.book-languages .book-languages-list li img{opacity:.25}.book-languages .book-languages-list li.active img,.book-languages .book-languages-list li:hover img{opacity:initial}.book-languages .book-languages-list a{color:inherit;padding:.5rem 1rem}.book-home{padding:1rem}.book-menu-content,.book-toc-content,.book-page,.book-header aside,.markdown{transition:.2s ease-in-out;transition-property:transform,margin,opacity,visibility;will-change:transform,margin,opacity}@media screen and (max-width:56rem){#menu-control,#toc-control{display:inline}.book-menu{visibility:hidden;margin-inline-start:-16rem;font-size:16px;z-index:1}.book-toc{display:none}.book-header{display:block}#menu-control:focus~main label[for=menu-control]{outline-style:auto;outline-color:currentColor;outline-color:-webkit-focus-ring-color}#menu-control:checked~main .book-menu{visibility:initial}#menu-control:checked~main .book-menu .book-menu-content{transform:translateX(16rem);box-shadow:0 0 .5rem rgba(0,0,0,.1)}#menu-control:checked~main .book-page{opacity:.25}#menu-control:checked~main .book-menu-overlay{display:block;position:absolute;top:0;bottom:0;left:0;right:0}#toc-control:focus~main label[for=toc-control]{outline-style:auto;outline-color:currentColor;outline-color:-webkit-focus-ring-color}#toc-control:checked~main .book-header aside{display:block}body[dir=rtl] #menu-control:checked+main .book-menu .book-menu-content{transform:translateX(-16rem)}}@media screen and (min-width:80rem){.book-page,.book-menu .book-menu-content,.book-toc .book-toc-content{padding:2rem 1rem}}@font-face{font-family:roboto;font-style:italic;font-weight:300;font-display:swap;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(fonts/roboto-v19-latin-300italic.woff2)format("woff2"),url(fonts/roboto-v19-latin-300italic.woff)format("woff")}@font-face{font-family:roboto;font-style:normal;font-weight:400;font-display:swap;src:local("Roboto"),local("Roboto-Regular"),url(fonts/roboto-v19-latin-regular.woff2)format("woff2"),url(fonts/roboto-v19-latin-regular.woff)format("woff")}@font-face{font-family:roboto;font-style:normal;font-weight:700;font-display:swap;src:local("Roboto Bold"),local("Roboto-Bold"),url(fonts/roboto-v19-latin-700.woff2)format("woff2"),url(fonts/roboto-v19-latin-700.woff)format("woff")}@font-face{font-family:roboto mono;font-style:normal;font-weight:400;font-display:swap;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(fonts/roboto-mono-v6-latin-regular.woff2)format("woff2"),url(fonts/roboto-mono-v6-latin-regular.woff)format("woff")}body{font-family:roboto,sans-serif}code{font-family:roboto mono,monospace}@media print{.book-menu,.book-footer,.book-toc{display:none}.book-header,.book-header aside{display:block}main{display:block!important}}.markdown{line-height:1.6}.markdown>:first-child{margin-top:0}.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6{font-weight:400;line-height:1;margin-top:1.5em;margin-bottom:1rem}.markdown h1 a.anchor,.markdown h2 a.anchor,.markdown h3 a.anchor,.markdown h4 a.anchor,.markdown h5 a.anchor,.markdown h6 a.anchor{opacity:0;font-size:.75em;vertical-align:middle;text-decoration:none}.markdown h1:hover a.anchor,.markdown h1 a.anchor:focus,.markdown h2:hover a.anchor,.markdown h2 a.anchor:focus,.markdown h3:hover a.anchor,.markdown h3 a.anchor:focus,.markdown h4:hover a.anchor,.markdown h4 a.anchor:focus,.markdown h5:hover a.anchor,.markdown h5 a.anchor:focus,.markdown h6:hover a.anchor,.markdown h6 a.anchor:focus{opacity:initial}.markdown h4,.markdown h5,.markdown h6{font-weight:bolder}.markdown h5{font-size:.875em}.markdown h6{font-size:.75em}.markdown b,.markdown optgroup,.markdown strong{font-weight:bolder}.markdown a{text-decoration:none}.markdown a:hover{text-decoration:underline}.markdown a:visited{color:var(--color-visited-link)}.markdown img{max-width:100%}.markdown code{padding:0 .25rem;background:var(--gray-200);border-radius:.25rem;font-size:.875em}.markdown pre{padding:1rem;background:var(--gray-100);border-radius:.25rem;overflow-x:auto}.markdown pre code{padding:0;background:0 0}.markdown blockquote{margin:1rem 0;padding:.5rem 1rem .5rem .75rem;border-inline-start:.25rem solid var(--gray-200);border-radius:.25rem}.markdown blockquote :first-child{margin-top:0}.markdown blockquote :last-child{margin-bottom:0}.markdown table{overflow:auto;display:block;border-spacing:0;border-collapse:collapse;margin-top:1rem;margin-bottom:1rem}.markdown table tr th,.markdown table tr td{padding:.5rem 1rem;border:1px solid var(--gray-200)}.markdown table tr:nth-child(2n){background:var(--gray-100)}.markdown hr{height:1px;border:none;background:var(--gray-200)}.markdown ul,.markdown ol{padding-inline-start:2rem}.markdown dl dt{font-weight:bolder;margin-top:1rem}.markdown dl dd{margin-inline-start:1rem;margin-bottom:1rem}.markdown .highlight table tr td:nth-child(1) pre{margin:0;padding-inline-end:0}.markdown .highlight table tr td:nth-child(2) pre{margin:0;padding-inline-start:0}.markdown details{padding:1rem;border:1px solid var(--gray-200);border-radius:.25rem}.markdown details summary{line-height:1;padding:1rem;margin:-1rem;cursor:pointer}.markdown details[open] summary{margin-bottom:0}.markdown figure{margin:1rem 0}.markdown figure figcaption p{margin-top:0}.markdown-inner>:first-child{margin-top:0}.markdown-inner>:last-child{margin-bottom:0}.markdown .book-expand{margin-top:1rem;margin-bottom:1rem;border:1px solid var(--gray-200);border-radius:.25rem;overflow:hidden}.markdown .book-expand .book-expand-head{background:var(--gray-100);padding:.5rem 1rem;cursor:pointer}.markdown .book-expand .book-expand-content{display:none;padding:1rem}.markdown .book-expand input[type=checkbox]:checked+.book-expand-content{display:block}.markdown .book-tabs{margin-top:1rem;margin-bottom:1rem;border:1px solid var(--gray-200);border-radius:.25rem;overflow:hidden;display:flex;flex-wrap:wrap}.markdown .book-tabs label{display:inline-block;padding:.5rem 1rem;border-bottom:1px transparent;cursor:pointer}.markdown .book-tabs .book-tabs-content{order:999;width:100%;border-top:1px solid var(--gray-100);padding:1rem;display:none}.markdown .book-tabs input[type=radio]:checked+label{border-bottom:1px solid var(--color-link)}.markdown .book-tabs input[type=radio]:checked+label+.book-tabs-content{display:block}.markdown .book-tabs input[type=radio]:focus+label{outline-style:auto;outline-color:currentColor;outline-color:-webkit-focus-ring-color}.markdown .book-columns{margin-left:-1rem;margin-right:-1rem}.markdown .book-columns>div{margin:1rem 0;min-width:10rem;padding:0 1rem}.markdown a.book-btn{display:inline-block;font-size:.875rem;color:var(--color-link);line-height:2rem;padding:0 1rem;border:1px solid var(--color-link);border-radius:.25rem;cursor:pointer}.markdown a.book-btn:hover{text-decoration:none}.markdown .book-hint.info{border-color:#6bf;background-color:rgba(102,187,255,.1)}.markdown .book-hint.warning{border-color:#fd6;background-color:rgba(255,221,102,.1)}.markdown .book-hint.danger{border-color:#f66;background-color:rgba(255,102,102,.1)}.js-toggle-wrapper{display:table;margin:1rem 0 0 5px;flex:1}.js-toggle{touch-action:pan-x;display:inline-block;position:relative;cursor:pointer;background-color:transparent;border:0;padding:0;-webkit-touch-callout:none;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-tap-highlight-color:transparent}.js-toggle-screenreader-only{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.js-toggle-track{width:60px;height:34px;padding:0;transition:all .2s ease}.js-toggle-track-check{position:absolute;width:17px;height:17px;left:5px;top:0;bottom:0;margin-top:auto;margin-bottom:auto;line-height:0;opacity:0;transition:opacity .25s ease}.js-toggle--checked .js-toggle-track-check{opacity:1;transition:opacity .25s ease}.js-toggle-track-x{position:absolute;width:17px;height:17px;right:5px;top:0;bottom:0;margin-top:auto;margin-bottom:auto;line-height:0;opacity:1;transition:opacity .25s ease}.js-toggle--checked .js-toggle-track-x{opacity:0}.js-toggle-thumb{position:absolute;top:1px;left:1px;width:30px;height:32px;box-sizing:border-box;transition:all .5s cubic-bezier(0.23,1,0.32,1)0ms;transform:translateX(0)}.js-toggle--checked .js-toggle-thumb{transform:translateX(26px);border-color:#19ab27}.magic{display:flex}body.dark-mode,body.dark-mode main *{background:#2d2d2d;color:#f5f5f5}[data-theme=dark]{--gray-100: rgba(255, 255, 255, 0.1);--gray-200: rgba(255, 255, 255, 0.2);--body-background: #343a40;--body-font-color: #e9ecef;--color-link: #84b2ff;--color-visited-link: #b88dff;--icon-filter: brightness(0) invert(1)}[data-theme=light]{--gray-100: #f8f9fa;--gray-200: #e9ecef;--body-background: white;--body-font-color: black;--color-link: #05b;--color-visited-link: #8440f1;--icon-filter: none} \ No newline at end of file diff --git a/website/resources/_gen/assets/scss/leetcode/book.scss_50fc8c04e12a2f59027287995557ceff.json b/website/resources/_gen/assets/scss/leetcode/book.scss_50fc8c04e12a2f59027287995557ceff.json index 516b75fc..1f6f11eb 100644 --- a/website/resources/_gen/assets/scss/leetcode/book.scss_50fc8c04e12a2f59027287995557ceff.json +++ b/website/resources/_gen/assets/scss/leetcode/book.scss_50fc8c04e12a2f59027287995557ceff.json @@ -1 +1 @@ -{"Target":"book.min.cc88d5e858362d80265e7bd937e45fe3501815fa84fb89ca789f1e96f01e28a4.css","MediaType":"text/css","Data":{"Integrity":"sha256-zIjV6Fg2LYAmXnvZN+Rf41AYFfqE+4nKeJ8elvAeKKQ="}} \ No newline at end of file +{"Target":"book.min.52cf8c29cd59421d82760763db0286dd4a257c2c1b4d56b6edd110938a13a18a.css","MediaType":"text/css","Data":{"Integrity":"sha256-Us+MKc1ZQh2Cdgdj2wKG3UolfCwbTVa27dEQk4oToYo="}} \ No newline at end of file