├── .gitignore ├── LICENSE ├── LeetCode.md ├── README.md ├── SwordToOffer.md ├── bash-leetcode ├── 192 │ ├── 192.sh │ └── words.txt ├── 193 │ ├── 193.sh │ └── file.txt ├── 194 │ ├── 194.sh │ └── file.txt └── 195 │ ├── 195.01.sh │ ├── 195.sh │ └── file.txt ├── big-data ├── big-data.md ├── mockdata │ ├── .gitignore │ ├── Cargo.toml │ └── src │ │ ├── gennum.rs │ │ ├── genstr.rs │ │ ├── lib.rs │ │ └── main.rs └── sortbigfile │ ├── .gitignore │ ├── Cargo.toml │ └── src │ ├── lib.rs │ ├── main.rs │ └── sortbigfile.rs ├── binarysearch ├── cpp │ └── binarysearch.cpp ├── golang │ ├── binarysearch.go │ └── binarysearch_test.go └── rust │ └── binarysearch │ ├── Cargo.toml │ └── src │ └── lib.rs ├── codecrush ├── p2_5001 │ ├── cpp01 │ │ └── main.cpp │ ├── go01 │ │ ├── go.mod │ │ └── main.go │ └── go02 │ │ ├── go.mod │ │ └── main.go └── p3_5002 │ └── cpp01 │ └── main.cpp ├── codewars └── rust │ └── sum_of_pairs │ ├── Cargo.toml │ └── src │ ├── lib.rs │ ├── main.rs │ └── solution1.rs ├── cpp-leetcode ├── common │ ├── cpplang.hpp │ ├── list01.hpp │ └── tree01.hpp ├── leetcode_0001 │ ├── CMakeLists.txt │ ├── build.sh │ └── solution_01.cpp ├── leetcode_0011 │ ├── 11.01.cpp │ └── 11.cpp ├── leetcode_0020 │ ├── CMakeLists.txt │ ├── build.sh │ ├── solution_01.cpp │ └── solution_02.cpp ├── leetcode_0021 │ ├── CMakeLists.txt │ ├── build.sh │ ├── solution_01.cpp │ ├── solution_02.cpp │ └── solution_03.cpp ├── leetcode_0028 │ ├── CMakeLists.txt │ ├── build.sh │ └── solution_01.cpp ├── leetcode_0045 │ ├── CMakeLists.txt │ ├── build.sh │ └── solution_01.cpp ├── leetcode_0054 │ ├── CMakeLists.txt │ ├── build.sh │ └── solution_01.cpp ├── leetcode_0055 │ ├── CMakeLists.txt │ ├── build.sh │ └── solution_01.cpp ├── leetcode_0070 │ ├── CMakeLists.txt │ ├── build.sh │ └── solution_01.cpp ├── leetcode_0094 │ ├── CMakeLists.txt │ ├── build.sh │ └── solution_01.cpp ├── leetcode_0101 │ ├── CMakeLists.txt │ ├── build.sh │ ├── solution_01.cpp │ └── solution_02.cpp ├── leetcode_0102 │ ├── CMakeLists.txt │ ├── build.sh │ └── solution_01.cpp ├── leetcode_0205 │ ├── CMakeLists.txt │ ├── build.sh │ └── solution_01.cpp ├── leetcode_0263 │ ├── CMakeLists.txt │ ├── build.sh │ └── solution_01.cpp ├── leetcode_0283 │ └── 283.cpp ├── leetcode_0349 │ ├── CMakeLists.txt │ ├── build.sh │ └── solution_01.cpp ├── leetcode_0350 │ ├── CMakeLists.txt │ ├── build.sh │ └── solution_01.cpp ├── leetcode_0453 │ ├── CMakeLists.txt │ ├── build.sh │ └── solution_01.cpp ├── leetcode_0468 │ ├── CMakeLists.txt │ ├── build.sh │ └── solution_01.cpp ├── leetcode_0665 │ ├── CMakeLists.txt │ ├── build.sh │ └── solution_01.cpp ├── leetcode_1605 │ ├── CMakeLists.txt │ ├── build.sh │ └── solution_01.cpp ├── leetcode_1669 │ ├── CMakeLists.txt │ ├── build.sh │ └── solution_01.cpp ├── leetcode_2352 │ ├── CMakeLists.txt │ ├── build.sh │ └── solution_01.cpp ├── leetcode_2363 │ ├── CMakeLists.txt │ ├── build.sh │ └── solution_01.cpp ├── leetcode_2383 │ ├── CMakeLists.txt │ ├── build.sh │ └── solution_01.cpp ├── leetcode_2386 │ ├── CMakeLists.txt │ ├── build.sh │ └── solution_01.cpp └── leetcode_sw │ ├── sw_074 │ ├── CMakeLists.txt │ ├── build.sh │ └── solution_01.cpp │ ├── sw_20 │ └── sw_20.cpp │ ├── sw_56 │ ├── sw_56.cpp │ └── sw_56_1.cpp │ ├── sw_64 │ └── sw_64.cpp │ └── sw_65 │ └── sw_65.cpp ├── design_pattern └── cpp │ ├── abstract_factory │ ├── CMakeLists.txt │ ├── build.sh │ └── main.cpp │ ├── adapter │ ├── CMakeLists.txt │ ├── build.sh │ └── main.cpp │ ├── bridge │ ├── CMakeLists.txt │ ├── build.sh │ └── main.cpp │ ├── builder │ ├── CMakeLists.txt │ ├── build.sh │ └── main.cpp │ ├── chain_of_responsibility │ ├── CMakeLists.txt │ ├── build.sh │ └── main.cpp │ ├── command │ ├── CMakeLists.txt │ ├── build.sh │ └── main.cpp │ ├── composite │ ├── CMakeLists.txt │ ├── build.sh │ └── main.cpp │ ├── decorator │ ├── CMakeLists.txt │ ├── build.sh │ └── main.cpp │ ├── facade │ ├── CMakeLists.txt │ ├── build.sh │ └── main.cpp │ ├── factory │ ├── CMakeLists.txt │ ├── build.sh │ └── main.cpp │ ├── flyweight │ ├── CMakeLists.txt │ ├── build.sh │ └── main.cpp │ ├── iterator │ ├── CMakeLists.txt │ ├── build.sh │ └── main.cpp │ ├── mediator │ ├── CMakeLists.txt │ ├── build.sh │ └── main.cpp │ ├── memento │ ├── CMakeLists.txt │ ├── build.sh │ └── main.cpp │ ├── observer │ ├── CMakeLists.txt │ ├── build.sh │ └── main.cpp │ ├── prototype │ ├── CMakeLists.txt │ ├── build.sh │ └── main.cpp │ ├── proxy │ ├── CMakeLists.txt │ ├── build.sh │ └── main.cpp │ ├── simple_factory │ ├── CMakeLists.txt │ ├── build.sh │ └── main.cpp │ ├── singleton │ ├── CMakeLists.txt │ ├── build.sh │ └── main.cpp │ ├── state │ ├── CMakeLists.txt │ ├── build.sh │ └── main.cpp │ ├── strategy │ ├── CMakeLists.txt │ ├── build.sh │ └── main.cpp │ ├── template_method │ ├── CMakeLists.txt │ ├── build.sh │ └── main.cpp │ └── visitor │ ├── CMakeLists.txt │ ├── build.sh │ └── main.cpp ├── document ├── README.md ├── algorithmNote │ ├── algorithmNote.tex │ ├── chapter_camp.tex │ ├── chapter_camp │ │ ├── chapter_camp_1.tex │ │ ├── chapter_camp_10.tex │ │ ├── chapter_camp_11.tex │ │ ├── chapter_camp_12.tex │ │ ├── chapter_camp_13.tex │ │ ├── chapter_camp_14.tex │ │ ├── chapter_camp_15.tex │ │ ├── chapter_camp_16.tex │ │ ├── chapter_camp_17.tex │ │ ├── chapter_camp_18.tex │ │ ├── chapter_camp_19.tex │ │ ├── chapter_camp_2.tex │ │ ├── chapter_camp_20.tex │ │ ├── chapter_camp_3.tex │ │ ├── chapter_camp_4.tex │ │ ├── chapter_camp_5.tex │ │ ├── chapter_camp_6.tex │ │ ├── chapter_camp_7.tex │ │ ├── chapter_camp_8.tex │ │ ├── chapter_camp_9.tex │ │ ├── chapter_camp_summary.tex │ │ ├── chapter_camp_week_00.tex │ │ ├── chapter_camp_week_01.tex │ │ ├── chapter_camp_week_02.tex │ │ ├── chapter_camp_week_03.tex │ │ ├── chapter_camp_week_05.tex │ │ ├── chapter_camp_week_06.tex │ │ ├── chapter_camp_week_07.tex │ │ └── chapter_camp_week_08.tex │ ├── chapter_code_template.tex │ ├── chapter_code_template │ │ ├── tpl_astar_search.tex │ │ ├── tpl_atoi.tex │ │ ├── tpl_bfs.tex │ │ ├── tpl_bidirection_bfs.tex │ │ ├── tpl_binary_search.tex │ │ ├── tpl_bloom_filter.tex │ │ ├── tpl_dfs.tex │ │ ├── tpl_disjointset.tex │ │ ├── tpl_divide_conquer.tex │ │ ├── tpl_lru.tex │ │ ├── tpl_recursion.tex │ │ ├── tpl_sort_bubblesort.tex │ │ ├── tpl_sort_bucketsort.tex │ │ ├── tpl_sort_countingsort.tex │ │ ├── tpl_sort_heapsort.tex │ │ ├── tpl_sort_insertsort.tex │ │ ├── tpl_sort_mergesort.tex │ │ ├── tpl_sort_quicksort.tex │ │ ├── tpl_sort_radixsort.tex │ │ ├── tpl_sort_selectionsort.tex │ │ ├── tpl_sort_shellsort.tex │ │ ├── tpl_str_forcesearch.tex │ │ ├── tpl_str_rabin_karp.tex │ │ ├── tpl_tree_pre_in_post_order.tex │ │ └── tpl_trie.tex │ ├── chapter_it.tex │ ├── chapter_lcp.tex │ ├── chapter_leetcode │ │ ├── chapter_leetcode_1001_1100.tex │ │ ├── chapter_leetcode_101_200.tex │ │ ├── chapter_leetcode_1101_1200.tex │ │ ├── chapter_leetcode_1201_1300.tex │ │ ├── chapter_leetcode_1_100.tex │ │ ├── chapter_leetcode_201_300.tex │ │ ├── chapter_leetcode_301_400.tex │ │ ├── chapter_leetcode_401_500.tex │ │ ├── chapter_leetcode_501_600.tex │ │ ├── chapter_leetcode_601_700.tex │ │ ├── chapter_leetcode_701_800.tex │ │ ├── chapter_leetcode_801_900.tex │ │ ├── chapter_leetcode_901_1000.tex │ │ ├── chapter_leetcode_it.tex │ │ ├── chapter_leetcode_lcp.tex │ │ ├── chapter_leetcode_sw.tex │ │ ├── chapter_leetcode_topic.tex │ │ ├── leetcode_1001_1100 │ │ │ └── chapter_leetcode_1091.tex │ │ ├── leetcode_101_200 │ │ │ ├── chapter_leetcode_102.tex │ │ │ ├── chapter_leetcode_104.tex │ │ │ ├── chapter_leetcode_105.tex │ │ │ ├── chapter_leetcode_111.tex │ │ │ ├── chapter_leetcode_115.tex │ │ │ ├── chapter_leetcode_120.tex │ │ │ ├── chapter_leetcode_121.tex │ │ │ ├── chapter_leetcode_122.tex │ │ │ ├── chapter_leetcode_123.tex │ │ │ ├── chapter_leetcode_125.tex │ │ │ ├── chapter_leetcode_126.tex │ │ │ ├── chapter_leetcode_127.tex │ │ │ ├── chapter_leetcode_130.tex │ │ │ ├── chapter_leetcode_141.tex │ │ │ ├── chapter_leetcode_142.tex │ │ │ ├── chapter_leetcode_144.tex │ │ │ ├── chapter_leetcode_146.tex │ │ │ ├── chapter_leetcode_151.tex │ │ │ ├── chapter_leetcode_152.tex │ │ │ ├── chapter_leetcode_153.tex │ │ │ ├── chapter_leetcode_155.tex │ │ │ ├── chapter_leetcode_169.tex │ │ │ ├── chapter_leetcode_188.tex │ │ │ ├── chapter_leetcode_189.tex │ │ │ ├── chapter_leetcode_190.tex │ │ │ ├── chapter_leetcode_191.tex │ │ │ ├── chapter_leetcode_198.tex │ │ │ ├── chapter_leetcode_199.tex │ │ │ └── chapter_leetcode_200.tex │ │ ├── leetcode_1101_1200 │ │ │ ├── chapter_leetcode_1122.tex │ │ │ ├── chapter_leetcode_1137.tex │ │ │ └── chapter_leetcode_1143.tex │ │ ├── leetcode_1201_1300 │ │ │ └── chapter_leetcode_1244.tex │ │ ├── leetcode_1_100 │ │ │ ├── chapter_leetcode_1.tex │ │ │ ├── chapter_leetcode_10.tex │ │ │ ├── chapter_leetcode_11.tex │ │ │ ├── chapter_leetcode_14.tex │ │ │ ├── chapter_leetcode_15.tex │ │ │ ├── chapter_leetcode_17.tex │ │ │ ├── chapter_leetcode_20.tex │ │ │ ├── chapter_leetcode_21.tex │ │ │ ├── chapter_leetcode_22.tex │ │ │ ├── chapter_leetcode_24.tex │ │ │ ├── chapter_leetcode_25.tex │ │ │ ├── chapter_leetcode_26.tex │ │ │ ├── chapter_leetcode_32.tex │ │ │ ├── chapter_leetcode_33.tex │ │ │ ├── chapter_leetcode_36.tex │ │ │ ├── chapter_leetcode_37.tex │ │ │ ├── chapter_leetcode_42.tex │ │ │ ├── chapter_leetcode_44.tex │ │ │ ├── chapter_leetcode_45.tex │ │ │ ├── chapter_leetcode_46.tex │ │ │ ├── chapter_leetcode_47.tex │ │ │ ├── chapter_leetcode_49.tex │ │ │ ├── chapter_leetcode_5.tex │ │ │ ├── chapter_leetcode_50.tex │ │ │ ├── chapter_leetcode_51.tex │ │ │ ├── chapter_leetcode_52.tex │ │ │ ├── chapter_leetcode_53.tex │ │ │ ├── chapter_leetcode_55.tex │ │ │ ├── chapter_leetcode_56.tex │ │ │ ├── chapter_leetcode_58.tex │ │ │ ├── chapter_leetcode_62.tex │ │ │ ├── chapter_leetcode_63.tex │ │ │ ├── chapter_leetcode_64.tex │ │ │ ├── chapter_leetcode_66.tex │ │ │ ├── chapter_leetcode_69.tex │ │ │ ├── chapter_leetcode_70.tex │ │ │ ├── chapter_leetcode_72.tex │ │ │ ├── chapter_leetcode_74.tex │ │ │ ├── chapter_leetcode_76.tex │ │ │ ├── chapter_leetcode_77.tex │ │ │ ├── chapter_leetcode_78.tex │ │ │ ├── chapter_leetcode_8.tex │ │ │ ├── chapter_leetcode_84.tex │ │ │ ├── chapter_leetcode_85.tex │ │ │ ├── chapter_leetcode_88.tex │ │ │ ├── chapter_leetcode_91.tex │ │ │ ├── chapter_leetcode_94.tex │ │ │ └── chapter_leetcode_98.tex │ │ ├── leetcode_201_300 │ │ │ ├── chapter_leetcode_205.tex │ │ │ ├── chapter_leetcode_206.tex │ │ │ ├── chapter_leetcode_208.tex │ │ │ ├── chapter_leetcode_212.tex │ │ │ ├── chapter_leetcode_213.tex │ │ │ ├── chapter_leetcode_221.tex │ │ │ ├── chapter_leetcode_226.tex │ │ │ ├── chapter_leetcode_231.tex │ │ │ ├── chapter_leetcode_235.tex │ │ │ ├── chapter_leetcode_236.tex │ │ │ ├── chapter_leetcode_239.tex │ │ │ ├── chapter_leetcode_242.tex │ │ │ ├── chapter_leetcode_279.tex │ │ │ ├── chapter_leetcode_283.tex │ │ │ ├── chapter_leetcode_297.tex │ │ │ └── chapter_leetcode_300.tex │ │ ├── leetcode_301_400 │ │ │ ├── chapter_leetcode_309.tex │ │ │ ├── chapter_leetcode_312.tex │ │ │ ├── chapter_leetcode_322.tex │ │ │ ├── chapter_leetcode_338.tex │ │ │ ├── chapter_leetcode_344.tex │ │ │ ├── chapter_leetcode_363.tex │ │ │ ├── chapter_leetcode_367.tex │ │ │ └── chapter_leetcode_387.tex │ │ ├── leetcode_401_500 │ │ │ ├── chapter_leetcode_403.tex │ │ │ ├── chapter_leetcode_410.tex │ │ │ ├── chapter_leetcode_429.tex │ │ │ ├── chapter_leetcode_433.tex │ │ │ ├── chapter_leetcode_438.tex │ │ │ ├── chapter_leetcode_455.tex │ │ │ └── chapter_leetcode_493.tex │ │ ├── leetcode_501_600 │ │ │ ├── chapter_leetcode_509.tex │ │ │ ├── chapter_leetcode_515.tex │ │ │ ├── chapter_leetcode_518.tex │ │ │ ├── chapter_leetcode_529.tex │ │ │ ├── chapter_leetcode_541.tex │ │ │ ├── chapter_leetcode_547.tex │ │ │ ├── chapter_leetcode_552.tex │ │ │ ├── chapter_leetcode_557.tex │ │ │ ├── chapter_leetcode_589.tex │ │ │ └── chapter_leetcode_590.tex │ │ ├── leetcode_601_700 │ │ │ ├── chapter_leetcode_621.tex │ │ │ ├── chapter_leetcode_641.tex │ │ │ ├── chapter_leetcode_647.tex │ │ │ └── chapter_leetcode_680.tex │ │ ├── leetcode_701_800 │ │ │ ├── chapter_leetcode_709.tex │ │ │ ├── chapter_leetcode_714.tex │ │ │ ├── chapter_leetcode_746.tex │ │ │ ├── chapter_leetcode_771.tex │ │ │ └── chapter_leetcode_773.tex │ │ ├── leetcode_801_900 │ │ │ ├── chapter_leetcode_818.tex │ │ │ ├── chapter_leetcode_860.tex │ │ │ └── chapter_leetcode_874.tex │ │ ├── leetcode_901_1000 │ │ │ ├── chapter_leetcode_912.tex │ │ │ ├── chapter_leetcode_917.tex │ │ │ └── chapter_leetcode_980.tex │ │ ├── leetcode_it │ │ │ └── chapter_leetcode_it_16.03.tex │ │ ├── leetcode_lcp │ │ │ └── chapter_leetcode_lcp_09.tex │ │ ├── leetcode_sw │ │ │ ├── chapter_leetcode_sw_51.tex │ │ │ └── chapter_leetcode_sw_59_2.tex │ │ └── leetcode_topic │ │ │ └── chapter_leetcode_topic_jump.tex │ ├── chapter_leetcode_0_200.tex │ ├── chapter_leetcode_200_end.tex │ ├── chapter_sw.tex │ ├── chapter_topic.tex │ ├── images │ │ ├── camp │ │ │ ├── 第10课.png │ │ │ ├── 第11课.png │ │ │ ├── 第12课.png │ │ │ ├── 第13课.png │ │ │ ├── 第14课.png │ │ │ ├── 第15课.png │ │ │ ├── 第16课.png │ │ │ ├── 第17课.png │ │ │ ├── 第18课.png │ │ │ ├── 第19课.png │ │ │ ├── 第20课.png │ │ │ ├── 第3课.png │ │ │ ├── 第4课.png │ │ │ ├── 第5课.png │ │ │ ├── 第6课.png │ │ │ ├── 第7课.png │ │ │ ├── 第8课.png │ │ │ └── 第9课.png │ │ └── leetcode │ │ │ ├── 17_telephone_keypad.png │ │ │ ├── 36_sudo.jpg │ │ │ ├── 37_sudo.png │ │ │ ├── 37_sudo_solution.png │ │ │ ├── 51.jpg │ │ │ ├── 8-queens.png │ │ │ ├── binarysearchtree_improved.png │ │ │ ├── circularlinkedlist.png │ │ │ ├── circularlinkedlist_test2.png │ │ │ ├── circularlinkedlist_test3.png │ │ │ ├── histogram.png │ │ │ ├── histogram_area.png │ │ │ ├── leetcode_17.png │ │ │ ├── leetcode_22.png │ │ │ ├── leetcode_236_binarytree.png │ │ │ ├── leetcode_429_narytreeexample.png │ │ │ ├── leetcode_509_01.png │ │ │ ├── leetcode_509_02.png │ │ │ ├── leetcode_77.png │ │ │ ├── leetcode_77_4_3.png │ │ │ ├── leetcode_78.png │ │ │ ├── minesweeper_example_1.png │ │ │ ├── minesweeper_example_2.png │ │ │ ├── question_11.jpg │ │ │ ├── rainwatertrap.png │ │ │ └── robot_maze.png │ └── introduction.tex └── clean.sh ├── euler └── problem_1.c ├── golang-leetcode ├── 1.go ├── 104.go ├── 105.go ├── 11.01.go ├── 11.go ├── 111.go ├── 123.go ├── 144.go ├── 175.go ├── 2.go ├── 22.go ├── 226.go ├── 231.go ├── 236.go ├── 242.go ├── 283.go ├── 2_test.go ├── 3.go ├── 371.go ├── 3_test.go ├── 49.go ├── 50.go ├── 50_test.go ├── 51.go ├── 51_test.go ├── 52.go ├── 52_test.go ├── 6.go ├── 6_test.go ├── 70.go ├── 703.go ├── 703_test.go ├── 77.go ├── 94.go ├── 97.01.go ├── 97.go └── 98.go ├── interview ├── cpp │ ├── gomoku │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ └── main.cpp │ └── hex_to_decimal │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ └── main.cpp ├── golang │ ├── climb_stairs │ │ └── main.go │ ├── move_zeros │ │ └── main.go │ └── rotate_array │ │ └── main.go ├── hj_20230515 │ ├── 20230520 │ │ ├── main01.cpp │ │ └── main02.cpp │ ├── test01 │ │ └── main.cpp │ ├── test02 │ │ └── main.cpp │ └── test03 │ │ ├── input1.txt │ │ ├── input2.txt │ │ ├── input3.txt │ │ └── main.cpp ├── hw │ └── README.md └── rust │ └── rotate_array │ ├── Cargo.toml │ └── src │ └── main.rs ├── javascript-leetcode ├── 1.两数之和.js ├── 10.正则表达式匹配.01.js ├── 10.正则表达式匹配.js ├── 100.相同的树.js ├── 101.对称二叉树.01.js ├── 101.对称二叉树.02.js ├── 101.对称二叉树.js ├── 102.二叉树的层次遍历.01.js ├── 102.二叉树的层次遍历.js ├── 103.二叉树的锯齿形层次遍历.js ├── 104.二叉树的最大深度.js ├── 105.从前序与中序遍历序列构造二叉树.js ├── 106.从中序与后序遍历序列构造二叉树.js ├── 107.二叉树的层次遍历-ii.js ├── 108.将有序数组转换为二叉搜索树.js ├── 109.有序链表转换二叉搜索树.js ├── 11.02.js ├── 11.盛最多水的容器.js ├── 110.平衡二叉树.js ├── 111.二叉树的最小深度.01.js ├── 111.二叉树的最小深度.js ├── 112.路径总和.js ├── 1122.js ├── 113.路径总和-ii.js ├── 1137.js ├── 114.二叉树展开为链表.js ├── 115.不同的子序列.js ├── 116.填充每个节点的下一个右侧节点指针.js ├── 117.填充每个节点的下一个右侧节点指针-ii.js ├── 118.杨辉三角.js ├── 119.杨辉三角-ii.js ├── 12.整数转罗马数字.js ├── 120.02.js ├── 120.三角形最小路径和.01.js ├── 120.三角形最小路径和.js ├── 121.买卖股票的最佳时机.js ├── 122.买卖股票的最佳时机-ii.js ├── 123.买卖股票的最佳时机-iii.js ├── 1233.js ├── 1234.js ├── 124.二叉树中的最大路径和.js ├── 125.验证回文串.js ├── 1252.js ├── 126.js ├── 126.单词接龙-ii.js ├── 127.js ├── 127.单词接龙.js ├── 128.最长连续序列.js ├── 129.求根到叶子节点数字之和.js ├── 13.罗马数字转整数.js ├── 130.被围绕的区域.js ├── 131.分割回文串.js ├── 132.分割回文串-ii.js ├── 133.克隆图.js ├── 134.加油站.js ├── 135.分发糖果.js ├── 136.只出现一次的数字.js ├── 137.只出现一次的数字-ii.js ├── 138.复制带随机指针的链表.js ├── 139.单词拆分.js ├── 14.最长公共前缀.js ├── 140.单词拆分-ii.js ├── 141.环形链表.01.js ├── 141.环形链表.02.js ├── 141.环形链表.03.js ├── 141.环形链表.js ├── 142.环形链表-ii.01.js ├── 142.环形链表-ii.js ├── 143.重排链表.js ├── 144.二叉树的前序遍历.01.js ├── 144.二叉树的前序遍历.js ├── 145.二叉树的后序遍历.js ├── 146.lru缓存机制.01.js ├── 146.lru缓存机制.js ├── 147.对链表进行插入排序.js ├── 148.排序链表.js ├── 149.直线上最多的点数.js ├── 15.三数之和.01.js ├── 15.三数之和.js ├── 150.逆波兰表达式求值.js ├── 151.翻转字符串里的单词.js ├── 152.乘积最大子序列.js ├── 153.寻找旋转排序数组中的最小值.js ├── 154.寻找旋转排序数组中的最小值-ii.js ├── 155.最小栈.js ├── 16.最接近的三数之和.01.js ├── 16.最接近的三数之和.js ├── 160.相交链表.01.js ├── 160.相交链表.js ├── 162.寻找峰值.js ├── 164.最大间距.js ├── 165.比较版本号.js ├── 166.分数到小数.js ├── 167.两数之和-ii-输入有序数组.js ├── 168.excel表列名称.js ├── 169.求众数.01.js ├── 169.求众数.js ├── 17.01.js ├── 17.电话号码的字母组合.js ├── 171.excel表列序号.js ├── 172.阶乘后的零.01.js ├── 172.阶乘后的零.js ├── 173.二叉搜索树迭代器.js ├── 174.地下城游戏.js ├── 175.组合两个表.js ├── 176.第二高的薪水.js ├── 177.第n高的薪水.js ├── 179.最大数.js ├── 18.四数之和.js ├── 187.重复的dna序列.js ├── 188.买卖股票的最佳时机-iv.js ├── 189.旋转数组.js ├── 19.删除链表的倒数第n个节点.js ├── 190.颠倒二进制位.js ├── 191.位-1-的个数.js ├── 196.删除重复的电子邮箱.js ├── 197.上升的温度.js ├── 198.打家劫舍.01.js ├── 198.打家劫舍.02.js ├── 198.打家劫舍.js ├── 199.二叉树的右视图.js ├── 2.两数相加.01.js ├── 2.两数相加.02.js ├── 2.两数相加.js ├── 20.有效的括号.01.js ├── 20.有效的括号.02.js ├── 20.有效的括号.js ├── 200.岛屿的个数.01.js ├── 200.岛屿的个数.js ├── 202.js ├── 204.js ├── 206.反转链表.01.js ├── 206.反转链表.02.js ├── 206.反转链表.js ├── 208.实现-trie-前缀树.01.js ├── 208.实现-trie-前缀树.02.js ├── 208.实现-trie-前缀树.js ├── 21.合并两个有序链表.js ├── 211.添加与搜索单词-数据结构设计.01.js ├── 211.添加与搜索单词-数据结构设计.js ├── 212.01.js ├── 212.单词搜索-ii.js ├── 215.数组中的第k个最大元素.js ├── 22.括号生成.js ├── 221.js ├── 225.js ├── 226.js ├── 23.合并k个排序链表.js ├── 232.js ├── 234.js ├── 235.01.js ├── 235.02.js ├── 235.js ├── 236.js ├── 237.js ├── 239.01.js ├── 239.02.js ├── 239.js ├── 24.两两交换链表中的节点.01.js ├── 24.两两交换链表中的节点.js ├── 240.搜索二维矩阵-ii.js ├── 241.为运算表达式设计优先级.js ├── 242.有效的字母异位词.01.js ├── 242.有效的字母异位词.02.js ├── 242.有效的字母异位词.03.js ├── 242.有效的字母异位词.js ├── 25.k-个一组翻转链表.js ├── 26.删除排序数组中的重复项.js ├── 268.01.js ├── 268.02.js ├── 268.js ├── 27.移除元素.js ├── 279.js ├── 28.实现-str-str.01.js ├── 28.实现-str-str.js ├── 282.给表达式添加运算符.js ├── 283.01.js ├── 283.js ├── 29.两数相除.js ├── 290.单词模式.01.js ├── 290.单词模式.js ├── 297.js ├── 3.无重复字符的最长子串.01.js ├── 3.无重复字符的最长子串.js ├── 30.串联所有单词的子串.js ├── 31.下一个排列.js ├── 32.最长有效括号.js ├── 322.01.js ├── 322.js ├── 326.01.js ├── 326.js ├── 33.搜索旋转排序数组.01.js ├── 33.搜索旋转排序数组.js ├── 34.在排序数组中查找元素的第一个和最后一个位置.js ├── 35.搜索插入位置.js ├── 350.js ├── 36.有效的数独.js ├── 367.js ├── 37.解数独.js ├── 38.报数.js ├── 387.字符串中的第一个唯一字符.js ├── 389.找不同.js ├── 39.组合总和.js ├── 394.字符串解码.js ├── 4.寻找两个有序数组的中位数.js ├── 40.组合总和-ii.js ├── 41.缺失的第一个正数.js ├── 414.js ├── 42.接雨水.01.js ├── 42.接雨水.02.js ├── 42.接雨水.js ├── 429.js ├── 42_01_rainwatertrap.png ├── 43.字符串相乘.js ├── 433.js ├── 437.js ├── 44.通配符匹配.js ├── 448.js ├── 45.跳跃游戏-ii.01.js ├── 45.跳跃游戏-ii.js ├── 46.全排列.js ├── 47.全排列-ii.js ├── 48.旋转图像.js ├── 480.js ├── 49.字母异位词分组.js ├── 5.最长回文子串.js ├── 50.01.js ├── 50.pow-x-n.js ├── 509.01.js ├── 509.02.js ├── 509.03.js ├── 509.04.js ├── 509.05.js ├── 509.js ├── 51.n皇后.js ├── 515.js ├── 518.js ├── 52.n皇后-ii.js ├── 5286.js ├── 529.js ├── 53.01.js ├── 53.02.js ├── 53.最大子序和.js ├── 538.01.js ├── 538.js ├── 54.螺旋矩阵.js ├── 543.js ├── 547.朋友圈.js ├── 55.跳跃游戏.01.js ├── 55.跳跃游戏.js ├── 559.js ├── 56.合并区间.js ├── 561.js ├── 566.js ├── 57.插入区间.js ├── 58.最后一个单词的长度.js ├── 589.js ├── 59.螺旋矩阵-ii.js ├── 590.js ├── 6.z-字形变换.js ├── 60.第k个排列.js ├── 61.旋转链表.js ├── 62.不同路径.js ├── 63.不同路径-ii.js ├── 64.最小路径和.js ├── 641.01.js ├── 641.js ├── 65.有效数字.js ├── 66.加一.01.js ├── 66.加一.02.js ├── 66.加一.js ├── 661.js ├── 67.二进制求和.js ├── 68.文本左右对齐.js ├── 69.x-的平方根.01.js ├── 69.x-的平方根.02.js ├── 69.x-的平方根.js ├── 695.岛屿的最大面积.js ├── 697.js ├── 7.整数反转.js ├── 70.01.js ├── 70.爬楼梯.js ├── 703.js ├── 71.简化路径.js ├── 717.01.js ├── 717.02.js ├── 717.js ├── 72.编辑距离.js ├── 721.账户合并.js ├── 728.js ├── 73.矩阵置零.js ├── 74.搜索二维矩阵.01.js ├── 74.搜索二维矩阵.js ├── 746.js ├── 75.颜色分类.js ├── 76.最小覆盖子串.01.js ├── 76.最小覆盖子串.js ├── 766.js ├── 77.组合.js ├── 78.子集.01.js ├── 78.子集.js ├── 79.单词搜索.js ├── 8.字符串转换整数-atoi.js ├── 80.删除排序数组中的重复项-ii.js ├── 81.搜索旋转排序数组-ii.js ├── 82.删除排序链表中的重复元素-ii.js ├── 83.删除排序链表中的重复元素.js ├── 84.柱状图中最大的矩形.01.js ├── 84.柱状图中最大的矩形.js ├── 85.最大矩形.js ├── 852.适龄的朋友.js ├── 86.分隔链表.js ├── 860.js ├── 867.01.js ├── 867.js ├── 87.扰乱字符串.js ├── 874.js ├── 88.合并两个有序数组.js ├── 89.格雷编码.js ├── 9.回文数.js ├── 90.子集-ii.js ├── 905.最长的斐波那契子序列的长度.js ├── 91.解码方法.js ├── 92.反转链表-ii.js ├── 922.可能的二分法.js ├── 93.复原ip地址.js ├── 938.01.js ├── 938.js ├── 94.二叉树的中序遍历.01.js ├── 94.二叉树的中序遍历.js ├── 95.不同的二叉搜索树-ii.js ├── 96.不同的二叉搜索树.js ├── 97.交错字符串.js ├── 977.不同的子序列-ii.js ├── 979.增减字符串匹配.js ├── 98.01.js ├── 98.02.js ├── 98.验证二叉搜索树.js ├── 980.最短超级串.js ├── 99.恢复二叉搜索树.js ├── 990.验证外星语词典.js └── sum.md ├── javascript ├── .babelrc ├── .editorconfig ├── .eslintrc ├── .gitignore ├── Javascript.mm ├── JavascriptPPT.md ├── README.md ├── jest.config.js ├── package.json └── src │ ├── algorithms │ ├── fib │ │ ├── superfib.js │ │ └── superfib2.js │ ├── sorting │ │ ├── BubbleSort.01.js │ │ ├── BubbleSort.02.js │ │ ├── CountingSort.js │ │ ├── HeapSort.js │ │ ├── InsertionSort.01.js │ │ ├── InsertionSort.js │ │ ├── MergeSort.01.js │ │ ├── MergeSort.js │ │ ├── MySortTester.js │ │ ├── QuickSort.01.js │ │ ├── QuickSort.js │ │ ├── SelectionSort.js │ │ ├── ShellSort.js │ │ ├── Sort.js │ │ ├── SortTester.js │ │ └── __test__ │ │ │ ├── BubbleSort.01.test.js │ │ │ ├── BubbleSort.02.test.js │ │ │ ├── CountingSort.test.js │ │ │ ├── HeapSort.test.js │ │ │ ├── InsertionSort.test.js │ │ │ ├── MergeSort.test.js │ │ │ ├── QuickSort.test.js │ │ │ ├── SelectionSort.test.js │ │ │ ├── ShellSort.test.js │ │ │ └── Sort.test.js │ ├── string │ │ ├── hamming-distance │ │ │ ├── __test__ │ │ │ │ └── hammingDistance.test.js │ │ │ └── hammingDistance.js │ │ ├── hash-strstr │ │ │ ├── HashStrstr.js │ │ │ ├── README.md │ │ │ └── __test__ │ │ │ │ └── HashStrstr.test.js │ │ ├── longest-common-substring │ │ │ ├── __test__ │ │ │ │ └── longestCommonSubstring.test.js │ │ │ └── longestCommonSubstring.js │ │ ├── nm-strstr │ │ │ ├── NMStrstr.js │ │ │ └── __test__ │ │ │ │ └── NMStrstr.test.js │ │ └── regular-expression-matching │ │ │ ├── README.md │ │ │ ├── __test__ │ │ │ └── regularExpressionMatching.test.js │ │ │ └── regularExpressionMatching.js │ └── topk │ │ ├── __test__ │ │ └── topk_partition.test.js │ │ └── topk_partition.js │ ├── data-structures │ ├── LRUCache │ │ ├── LRUCache.js │ │ └── __test__ │ │ │ └── LRUCache.test.js │ ├── bloom-filter │ │ ├── BloomFilter.js │ │ └── __test__ │ │ │ └── BloomFilter.test.js │ ├── disjoint-set │ │ ├── DisjointSet.js │ │ ├── DisjointSetItem.js │ │ └── __test__ │ │ │ ├── DisjointSet.test.js │ │ │ └── DisjointSetItem.test.js │ ├── hash-table │ │ ├── HashTable.js │ │ └── __test__ │ │ │ └── HashTable.test.js │ ├── heap │ │ ├── Heap.js │ │ ├── MaxHeap.js │ │ ├── MinHeap.js │ │ └── __test__ │ │ │ ├── Heap.test.js │ │ │ ├── MaxHeap.test.js │ │ │ └── MinHeap.test.js │ ├── linked-list │ │ ├── LinkedList.js │ │ ├── LinkedListNode.js │ │ └── __test__ │ │ │ ├── LinkedList.test.js │ │ │ └── LinkedListNode.test.js │ ├── list │ │ ├── List.js │ │ └── __test__ │ │ │ └── List.test.js │ ├── priority-queue-list │ │ ├── PriorityQueueList.js │ │ ├── README.md │ │ └── __test__ │ │ │ └── PriorityQueueList.test.js │ ├── priority-queue │ │ ├── PriorityQueue.js │ │ └── __test__ │ │ │ └── PriorityQueue.test.js │ ├── queue │ │ ├── Queue.js │ │ └── __test__ │ │ │ └── Queue.test.js │ ├── stack │ │ ├── Stack.js │ │ └── __test__ │ │ │ └── Stack.test.js │ └── trie │ │ ├── Trie.js │ │ ├── TrieNode.js │ │ └── __test__ │ │ ├── Trie.test.js │ │ └── TrieNode.test.js │ └── utils │ ├── CreateArray │ ├── CreateArray.js │ ├── README.md │ └── package.json │ ├── comparator │ ├── Comparator.js │ └── __test__ │ │ └── Comparator.test.js │ └── isNumber │ ├── __test__ │ └── isNumber.test.js │ └── isNumber.js ├── leetcode ├── contest │ ├── 2020-04-18 │ │ ├── 1.py │ │ ├── 2.py │ │ ├── 3.01.py │ │ ├── 3.py │ │ ├── 4.01.py │ │ ├── 4.py │ │ └── 5.py │ └── 2023-04-22 │ │ ├── adventure_camp │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── lib.rs │ │ │ ├── main.rs │ │ │ └── solution1.rs │ │ └── supply_wagon │ │ ├── Cargo.toml │ │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── night_miao │ ├── 20200307 │ │ ├── 1.py │ │ ├── 2.py │ │ ├── 3.py │ │ └── 4.py │ └── 23_20200404 │ │ ├── 1.py │ │ ├── 2.py │ │ └── 4.py └── week_contest │ ├── 20190310 │ ├── 1 │ │ └── main.go │ ├── 2 │ │ └── main.go │ ├── 3 │ │ └── main.go │ └── 4 │ │ └── main.go │ ├── 159_20191020 │ ├── 5230.js │ ├── 5231.js │ ├── 5232.js │ └── 5233.js │ ├── 160_2019-10-27 │ └── 1.js │ ├── 167_2019-12-15 │ ├── 5124.js │ ├── 5283.go │ ├── 5285.01.js │ └── 5285.js │ ├── 179_2020-03-08 │ ├── 1.py │ ├── 2.py │ ├── 3.py │ └── 4.py │ ├── 183_20200405 │ ├── 1.py │ ├── 2.py │ └── 3.py │ ├── 194_2020-06-21 │ ├── 5440.py │ ├── 5441.py │ ├── 5441_1.py │ └── 5442.py │ ├── 198_2020-07-19 │ ├── 5464.py │ └── 5465.py │ └── 353_2023-07-09 │ ├── t6451 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs │ ├── t6899 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs │ └── t6912 │ ├── Cargo.toml │ └── src │ ├── lib.rs │ ├── main.rs │ └── solution1.rs ├── mind ├── all.mm ├── 学习方法.mm ├── 数据结构.mm ├── 数据结构与算法.mm ├── 数据结构与算法.svg ├── 数据结构与算法.xmind ├── 第10课.xmind ├── 第11课.xmind ├── 第12课.xmind ├── 第13课.xmind ├── 第14课.xmind ├── 第15课.xmind ├── 第16课.xmind ├── 第17课.xmind ├── 第18课.xmind ├── 第19课.xmind ├── 第20课.xmind ├── 第3课.xmind ├── 第4课.xmind ├── 第5课.xmind ├── 第6课.xmind ├── 第7课.xmind ├── 第8课.xmind ├── 第9课.xmind └── 算法.mm ├── miscellanea ├── cpp_memmove │ ├── CMakeLists.txt │ ├── build.sh │ └── main.cpp ├── find_next_highest_power_of_2 │ ├── README.md │ └── next_highest_powe_of_2 │ │ ├── Cargo.toml │ │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution01.rs │ │ ├── solution02.rs │ │ └── solution03.rs ├── signal_slot │ ├── CMakeLists.txt │ ├── build.sh │ └── main.cpp └── ugly_number │ ├── README.md │ └── python │ └── is_ugly_number.py ├── nowcoder ├── HJ │ ├── .gitignore │ ├── HJ1 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ └── solution.cpp │ ├── HJ10 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ └── solution.cpp │ ├── HJ106 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ └── solution.cpp │ ├── HJ107 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ └── solution.cpp │ ├── HJ108 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ └── solution.cpp │ ├── HJ11 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ └── solution.cpp │ ├── HJ12 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ └── solution.cpp │ ├── HJ13 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ └── solution.cpp │ ├── HJ14 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ ├── input.txt │ │ └── solution.cpp │ ├── HJ15 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ └── solution.cpp │ ├── HJ16 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ └── solution.cpp │ ├── HJ17 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ ├── input.txt │ │ └── solution.cpp │ ├── HJ2 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ └── solution.cpp │ ├── HJ21 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ └── solution.cpp │ ├── HJ22 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ └── solution.cpp │ ├── HJ23 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ └── solution.cpp │ ├── HJ3 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ ├── input.txt │ │ └── solution.cpp │ ├── HJ31 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ └── solution.cpp │ ├── HJ4 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ └── solution.cpp │ ├── HJ40 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ └── solution.cpp │ ├── HJ46 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ └── solution.cpp │ ├── HJ48 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ ├── input.txt │ │ └── solution.cpp │ ├── HJ5 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ └── solution.cpp │ ├── HJ53 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ └── solution.cpp │ ├── HJ53_02 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ └── solution.cpp │ ├── HJ6 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ └── solution.cpp │ ├── HJ7 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ └── solution.cpp │ ├── HJ7_02 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ └── solution.cpp │ ├── HJ8 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ ├── input.txt │ │ └── solution.cpp │ ├── HJ8_02 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ ├── input.txt │ │ └── solution.cpp │ ├── HJ9 │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ └── solution.cpp │ ├── HJ_template │ │ ├── CMakeLists.txt │ │ ├── build.sh │ │ └── solution.cpp │ └── README.md └── HJ_python │ ├── README.md │ ├── hj01.py │ └── hj02.py ├── python-leetcode ├── 1.py ├── 10.01.py ├── 10.py ├── 100.py ├── 1013.01.py ├── 1013.py ├── 102.py ├── 1038.py ├── 104.py ├── 1041.py ├── 1042.py ├── 105.py ├── 1071.01.py ├── 1071.py ├── 109.py ├── 1095.py ├── 11.01.py ├── 11.py ├── 110.py ├── 1103.py ├── 111.01.py ├── 111.py ├── 1111.py ├── 1111_01.py ├── 112.py ├── 1122.py ├── 114.01.py ├── 114.py ├── 1143.py ├── 115.py ├── 1155.01.py ├── 1155.02.py ├── 1155.py ├── 1160.py ├── 1162.py ├── 1170.py ├── 121.01.py ├── 121.py ├── 122.py ├── 123.py ├── 1248.01.py ├── 1248.py ├── 125.01.py ├── 125.py ├── 127.py ├── 1295.py ├── 130.py ├── 1300.py ├── 1317.py ├── 1323.py ├── 1380.py ├── 1382.py ├── 14.py ├── 141.py ├── 142.py ├── 144.py ├── 145.py ├── 146.py ├── 15.py ├── 151.py ├── 153.py ├── 154.py ├── 168.py ├── 169.01.py ├── 169.py ├── 17.py ├── 188.py ├── 189.01.py ├── 189.py ├── 190.py ├── 191.01.py ├── 191.py ├── 198.py ├── 199.py ├── 20.01.py ├── 20.py ├── 200.01.py ├── 200.py ├── 202.py ├── 203.py ├── 205.py ├── 206.py ├── 208.py ├── 21.py ├── 212.py ├── 22.01.py ├── 22.py ├── 225.py ├── 226.py ├── 23.01.py ├── 23.02.py ├── 23.py ├── 231.py ├── 235.py ├── 239.py ├── 24.py ├── 242.01.py ├── 242.py ├── 25.py ├── 257.py ├── 26.py ├── 263.py ├── 28.01.py ├── 28.02.py ├── 28.py ├── 283.py ├── 289.py ├── 297.py ├── 300.01.py ├── 300.py ├── 309.py ├── 31.py ├── 312.py ├── 32.py ├── 322.01.py ├── 322.02.py ├── 322.03.py ├── 322.py ├── 33.py ├── 338.01.py ├── 338.py ├── 343.01.py ├── 343.py ├── 344.01.py ├── 344.py ├── 345.py ├── 349.py ├── 350.py ├── 355.py ├── 36.py ├── 365.01.py ├── 365.py ├── 37.py ├── 387.01.py ├── 387.py ├── 409.py ├── 415.py ├── 42.01.py ├── 42.py ├── 429.py ├── 43.py ├── 434.py ├── 438.py ├── 44.01.py ├── 44.py ├── 445.py ├── 45.py ├── 46.py ├── 460.py ├── 463.py ├── 466.01.py ├── 466.py ├── 47.py ├── 48.py ├── 49.py ├── 493.01.py ├── 493.02.py ├── 493.03.py ├── 493.py ├── 5.01.py ├── 5.02.py ├── 5.03.py ├── 5.04.py ├── 5.py ├── 50.01.py ├── 50.py ├── 51.01.py ├── 51.py ├── 518.01.py ├── 518.py ├── 52.01.py ├── 52.py ├── 53.py ├── 541.01.py ├── 541.py ├── 542.01.py ├── 542.py ├── 543.py ├── 547.py ├── 55.py ├── 557.py ├── 56.py ├── 58.py ├── 589.py ├── 590.py ├── 62.01.py ├── 62.py ├── 63.py ├── 64.py ├── 647.01.py ├── 647.py ├── 66.py ├── 680.01.py ├── 680.py ├── 69.01.py ├── 69.py ├── 695.py ├── 70.01.py ├── 70.02.py ├── 70.py ├── 700.py ├── 709.py ├── 714.py ├── 72.py ├── 746.01.py ├── 746.py ├── 76.py ├── 77.py ├── 771.py ├── 78.py ├── 796.py ├── 8.py ├── 812.py ├── 818.01.py ├── 818.py ├── 820.py ├── 83.py ├── 836.py ├── 84.py ├── 85.py ├── 876.py ├── 88.py ├── 887.01.py ├── 887.02.py ├── 887.03.py ├── 887.py ├── 892.py ├── 896.py ├── 908.py ├── 91.py ├── 912.01.py ├── 912.02.py ├── 912.03.py ├── 912.04.py ├── 912.py ├── 914.py ├── 917.01.py ├── 917.py ├── 933.py ├── 94.01.py ├── 94.py ├── 945.py ├── 98.py ├── 994.py ├── 999.py ├── it_01.01.py ├── it_01.02.py ├── it_01.03.py ├── it_01.04.py ├── it_01.06.py ├── it_01.07.py ├── it_01.09.py ├── it_02.01.py ├── it_02.03.py ├── it_02.06.py ├── it_02.07.py ├── it_03.02.py ├── it_03.03.py ├── it_03.04.py ├── it_03.06.py ├── it_04.02.py ├── it_04.04.py ├── it_05.01.py ├── it_08.06.py ├── it_08.10.py ├── it_08.11.py ├── it_08.12.py ├── it_10.01.py ├── it_16.03.py ├── it_16.07.py ├── it_17.04.py ├── it_17.16.py ├── it_17.16_01.py ├── lcp_08.py ├── lcp_09.01.py ├── lcp_09.py ├── lcp_10.py ├── sw_03.py ├── sw_04.py ├── sw_05.py ├── sw_06.py ├── sw_09.py ├── sw_10_1.01.py ├── sw_10_1.py ├── sw_10_2.py ├── sw_11.py ├── sw_12.py ├── sw_13.01.py ├── sw_13.py ├── sw_14_1.py ├── sw_14_2.py ├── sw_15.py ├── sw_16.py ├── sw_17.py ├── sw_18.py ├── sw_19.py ├── sw_20.py ├── sw_22.py ├── sw_24.py ├── sw_25.py ├── sw_26.py ├── sw_27.py ├── sw_28.py ├── sw_29.py ├── sw_30.py ├── sw_31.01.py ├── sw_31.py ├── sw_32_1.py ├── sw_32_2.py ├── sw_32_3.py ├── sw_33.01.py ├── sw_33.py ├── sw_34.py ├── sw_35.py ├── sw_36.py ├── sw_37.py ├── sw_38.py ├── sw_39.01.py ├── sw_39.py ├── sw_40.01.py ├── sw_40.py ├── sw_41.py ├── sw_42.01.py ├── sw_42.py ├── sw_43.py ├── sw_44.py ├── sw_45.py ├── sw_46.py ├── sw_47.py ├── sw_48.py ├── sw_49.py ├── sw_50.py ├── sw_51.py ├── sw_52.py ├── sw_53_1.01.py ├── sw_53_1.py ├── sw_53_2.py ├── sw_54.py ├── sw_55_1.py ├── sw_55_2.py ├── sw_56_1.py ├── sw_56_2.py ├── sw_57.py ├── sw_57_2.py ├── sw_58_1.py ├── sw_58_2.01.py ├── sw_58_2.py ├── sw_59_1.py ├── sw_59_2.py ├── sw_60.py ├── sw_61.py ├── sw_62.py ├── sw_62_2.py ├── sw_63.py ├── sw_65.py ├── sw_66.py ├── sw_67.py ├── sw_68_1.py └── sw_68_2.py ├── record ├── record.md ├── record_array_list.md ├── record_dp.md ├── record_permutation_and_combination.md ├── record_recursion.md ├── record_tree.md ├── record_trie.md └── 艾宾浩斯曲线.xlsx ├── rust-leetcode ├── leetcode_1 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ ├── solution2.rs │ │ ├── solution3.rs │ │ └── solution4.rs ├── leetcode_1002 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_101 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_1015 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_102 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_1026 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_1036 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_104 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_1041 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ ├── solution2.rs │ │ └── solution3.rs ├── leetcode_1043 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_105 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_1054 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_11 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_1105 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_1124 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_1137 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_1187 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_11_01 │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── leetcode_11_02 │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── leetcode_120 │ ├── Cargo.toml │ ├── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs │ └── triangle.png ├── leetcode_1201 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_121 │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── leetcode_122 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_123 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_126 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_127 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_1299 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_130 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_1300 │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── leetcode_1304 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_1309 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_1313 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_1331 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_1332 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_141 │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── leetcode_1419 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_15 │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── leetcode_152 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_1576 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_169 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ ├── solution2.rs │ │ └── solution3.rs ├── leetcode_17 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_1827 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_1832 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_188 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_19 │ ├── Cargo.toml │ └── src │ │ ├── lib_1.rs │ │ ├── lib_2.rs │ │ └── main.rs ├── leetcode_191 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_1945 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_198 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ ├── solution2.rs │ │ └── solution3.rs ├── leetcode_20 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_200 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_205 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_206 │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── leetcode_208 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_21 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_212 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_213 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_217 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_22 │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── leetcode_221 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_2248 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_226 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_2264 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_2269 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_2278 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_2283 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_2293 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_2303 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_2309 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_2315 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_2319 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_2325 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_2331 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_2335 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_2341 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_2351 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_2357 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_236 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_2373 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_2383 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_239 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_2395 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_2399 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_24 │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── leetcode_2409 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_2418 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_242 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_2427 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_2437 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_2455 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_2460 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_2475 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_2485 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_2490 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_2496 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_25 │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── leetcode_2500 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_2506 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_2520 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_2544 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_2566 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_2570 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_2574 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_2586 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_2595 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_2605 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_263 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_264 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_279 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_283 │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── leetcode_29 │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── leetcode_294 │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── leetcode_297 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_3 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_30 │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── leetcode_300 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_309 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_312 │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── leetcode_32 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_322 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ ├── solution2.rs │ │ ├── solution3.rs │ │ └── solution4.rs ├── leetcode_33 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_34 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ └── main.rs ├── leetcode_341 │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── leetcode_36 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_367 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_37 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_39 │ ├── Cargo.toml │ └── src │ │ ├── lib_1.rs │ │ └── main.rs ├── leetcode_399 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_40 │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── leetcode_41 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_416 │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── leetcode_42 │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── leetcode_433 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_45 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_453 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_455 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_46 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_47 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_493 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_50 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ ├── solution2.rs │ │ ├── solution3.rs │ │ └── solution4.rs ├── leetcode_509 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ ├── solution2.rs │ │ ├── solution3.rs │ │ ├── solution4.rs │ │ ├── solution5.rs │ │ ├── solution6.rs │ │ └── solution7.rs ├── leetcode_515 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_518 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_52 │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── leetcode_529 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_53 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ ├── solution2.rs │ │ └── solution3.rs ├── leetcode_543 │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── leetcode_547 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_55 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ ├── solution2.rs │ │ └── solution3.rs ├── leetcode_56 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_57 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_59 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_590 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_605 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_61 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_62 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_63 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_64 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_641 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_66 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_69 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ ├── solution2.rs │ │ └── solution3.rs ├── leetcode_7 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_70 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ ├── solution2.rs │ │ └── solution3.rs ├── leetcode_704 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_71 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_714 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ ├── solution2.rs │ │ └── solution3.rs ├── leetcode_72 │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── leetcode_73 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_739 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_75 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_77 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_78 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_781 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_788 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_80 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_804 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_806 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_81 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_811 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_82 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_830 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_84 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_86 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_860 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_874 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_88 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_887 │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── leetcode_89 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_9 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_90 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_91 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_93 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_94 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── solution1.rs │ │ └── solution2.rs ├── leetcode_945 │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── leetcode_97 │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── leetcode_98 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_980 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_msjd_0301 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ └── solution1.rs ├── leetcode_sw_07 │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── s1.rs │ │ ├── s2.rs │ │ └── s3.rs ├── leetcode_sw_40 │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── leetcode_sw_40_01 │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── leetcode_sw_40_02 │ ├── Cargo.toml │ └── src │ │ └── main.rs └── leetcode_sw_40_03 │ ├── Cargo.toml │ └── src │ └── main.rs ├── sword_to_offer ├── CodingInterviewChinese2 │ ├── .gitattributes │ ├── .gitignore │ ├── 01_AssignmentOperator │ │ ├── 01_AssignmentOperator.vcxproj │ │ ├── 01_AssignmentOperator.vcxproj.filters │ │ └── AssignmentOperator.cpp │ ├── 02_Singleton │ │ ├── 02_Singleton.csproj │ │ ├── App.config │ │ ├── Program.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ ├── 03_01_DuplicationInArray │ │ ├── 03_01_DuplicationInArray.vcxproj │ │ ├── 03_01_DuplicationInArray.vcxproj.filters │ │ └── FindDuplication.cpp │ ├── 03_02_DuplicationInArrayNoEdit │ │ ├── 03_02_DuplicationInArrayNoEdit.vcxproj │ │ ├── 03_02_DuplicationInArrayNoEdit.vcxproj.filters │ │ └── FindDuplicationNoEdit.cpp │ ├── 04_FindInPartiallySortedMatrix │ │ ├── 04_FindInPartiallySortedMatrix.vcxproj │ │ ├── 04_FindInPartiallySortedMatrix.vcxproj.filters │ │ └── FindInPartiallySortedMatrix.cpp │ ├── 05_ReplaceSpaces │ │ ├── 05_ReplaceSpaces.vcxproj │ │ ├── 05_ReplaceSpaces.vcxproj.filters │ │ └── ReplaceSpaces.cpp │ ├── 06_PrintListInReversedOrder │ │ ├── 06_PrintListInReversedOrder.vcxproj │ │ ├── 06_PrintListInReversedOrder.vcxproj.filters │ │ └── PrintListInReversedOrder.cpp │ ├── 07_ConstructBinaryTree │ │ ├── 07_ConstructBinaryTree.vcxproj │ │ ├── 07_ConstructBinaryTree.vcxproj.filters │ │ └── ConstructBinaryTree.cpp │ ├── 08_NextNodeInBinaryTrees │ │ ├── 08_NextNodeInBinaryTrees.vcxproj │ │ ├── 08_NextNodeInBinaryTrees.vcxproj.filters │ │ └── NextNodeInBinaryTrees.cpp │ ├── 09_QueueWithTwoStacks │ │ ├── 09_QueueWithTwoStacks.vcxproj │ │ ├── 09_QueueWithTwoStacks.vcxproj.filters │ │ ├── Queue.h │ │ └── QueueWithTwoStacks.cpp │ ├── 10_Fibonacci │ │ ├── 10_Fibonacci.vcxproj │ │ ├── 10_Fibonacci.vcxproj.filters │ │ └── Fibonacci.cpp │ ├── 11_MinNumberInRotatedArray │ │ ├── 11_MinNumberInRotatedArray.vcxproj │ │ ├── 11_MinNumberInRotatedArray.vcxproj.filters │ │ └── MinNumberInRotatedArray.cpp │ ├── 12_StringPathInMatrix │ │ ├── 12_StringPathInMatrix.vcxproj │ │ ├── 12_StringPathInMatrix.vcxproj.filters │ │ └── StringPathInMatrix.cpp │ ├── 13_RobotMove │ │ ├── 13_RobotMove.vcxproj │ │ ├── 13_RobotMove.vcxproj.filters │ │ └── RobotMove.cpp │ ├── 14_CuttingRope │ │ ├── 14_CuttingRope.vcxproj │ │ ├── 14_CuttingRope.vcxproj.filters │ │ └── CuttingRope.cpp │ ├── 15_NumberOf1InBinary │ │ ├── 15_NumberOf1InBinary.vcxproj │ │ ├── 15_NumberOf1InBinary.vcxproj.filters │ │ └── NumberOf1InBinary.cpp │ ├── 16_Power │ │ ├── 16_Power.vcxproj │ │ ├── 16_Power.vcxproj.filters │ │ └── Power.cpp │ ├── 17_Print1ToMaxOfNDigits │ │ ├── 17_Print1ToMaxOfNDigits.vcxproj │ │ ├── 17_Print1ToMaxOfNDigits.vcxproj.filters │ │ └── Print1ToMaxOfNDigits.cpp │ ├── 18_01_DeleteNodeInList │ │ ├── 18_01_DeleteNodeInList.vcxproj │ │ ├── 18_01_DeleteNodeInList.vcxproj.filters │ │ └── DeleteNodeInList.cpp │ ├── 18_02_DeleteDuplicatedNode │ │ ├── 18_02_DeleteDuplicatedNode.vcxproj │ │ ├── 18_02_DeleteDuplicatedNode.vcxproj.filters │ │ └── DeleteDuplicatedNode.cpp │ ├── 19_RegularExpressionsMatching │ │ ├── 19_RegularExpressionsMatching.vcxproj │ │ ├── 19_RegularExpressionsMatching.vcxproj.filters │ │ └── RegularExpressions.cpp │ ├── 20_NumericStrings │ │ ├── 20_NumericStrings.vcxproj │ │ ├── 20_NumericStrings.vcxproj.filters │ │ └── NumericStrings.cpp │ ├── 21_ReorderArray │ │ ├── 21_ReorderArray.vcxproj │ │ ├── 21_ReorderArray.vcxproj.filters │ │ └── ReorderArray.cpp │ ├── 22_KthNodeFromEnd │ │ ├── 22_KthNodeFromEnd.vcxproj │ │ ├── 22_KthNodeFromEnd.vcxproj.filters │ │ └── KthNodeFromEnd.cpp │ ├── 23_EntryNodeInListLoop │ │ ├── 23_EntryNodeInListLoop.vcxproj │ │ ├── 23_EntryNodeInListLoop.vcxproj.filters │ │ └── EntryNodeInListLoop.cpp │ ├── 24_ReverseList │ │ ├── 24_ReverseList.vcxproj │ │ ├── 24_ReverseList.vcxproj.filters │ │ └── ReverseList.cpp │ ├── 25_MergeSortedLists │ │ ├── 25_MergeSortedLists.vcxproj │ │ ├── 25_MergeSortedLists.vcxproj.filters │ │ └── MergeSortedLists.cpp │ ├── 26_SubstructureInTree │ │ ├── 26_SubstructureInTree.vcxproj │ │ ├── 26_SubstructureInTree.vcxproj.filters │ │ └── SubstructureInTree.cpp │ ├── 27_MirrorOfBinaryTree │ │ ├── 27_MirrorOfBinaryTree.vcxproj │ │ ├── 27_MirrorOfBinaryTree.vcxproj.filters │ │ └── MirrorOfBinaryTree.cpp │ ├── 28_SymmetricalBinaryTree │ │ ├── 28_SymmetricalBinaryTree.vcxproj │ │ ├── 28_SymmetricalBinaryTree.vcxproj.filters │ │ └── SymmetricalBinaryTree.cpp │ ├── 29_PrintMatrix │ │ ├── 29_PrintMatrix.vcxproj │ │ ├── 29_PrintMatrix.vcxproj.filters │ │ └── PrintMatrix.cpp │ ├── 30_MinInStack │ │ ├── 30_MinInStack.vcxproj │ │ ├── 30_MinInStack.vcxproj.filters │ │ ├── MinInStack.cpp │ │ └── StackWithMin.h │ ├── 31_StackPushPopOrder │ │ ├── 31_StackPushPopOrder.vcxproj │ │ ├── 31_StackPushPopOrder.vcxproj.filters │ │ └── StackPushPopOrder.cpp │ ├── 32_01_PrintTreeFromTopToBottom │ │ ├── 32_01_PrintTreeFromTopToBottom.vcxproj │ │ ├── 32_01_PrintTreeFromTopToBottom.vcxproj.filters │ │ └── PrintTreeFromTopToBottom.cpp │ ├── 32_02_PrintTreesInLines │ │ ├── 32_02_PrintTreesInLines.vcxproj │ │ ├── 32_02_PrintTreesInLines.vcxproj.filters │ │ └── PrintTreesInLines.cpp │ ├── 32_03_PrintTreesInZigzag │ │ ├── 32_03_PrintTreesInZigzag.vcxproj │ │ ├── 32_03_PrintTreesInZigzag.vcxproj.filters │ │ └── PrintTreesInZigzag.cpp │ ├── 33_SquenceOfBST │ │ ├── 33_SquenceOfBST.vcxproj │ │ ├── 33_SquenceOfBST.vcxproj.filters │ │ └── SquenceOfBST.cpp │ ├── 34_PathInTree │ │ ├── 34_PathInTree.vcxproj │ │ ├── 34_PathInTree.vcxproj.filters │ │ └── PathInTree.cpp │ ├── 35_CopyComplexList │ │ ├── 35_CopyComplexList.vcxproj │ │ ├── 35_CopyComplexList.vcxproj.filters │ │ ├── ComplexList.cpp │ │ ├── ComplexList.h │ │ └── CopyComplexList.cpp │ ├── 36_ConvertBinarySearchTree │ │ ├── 36_ConvertBinarySearchTree.vcxproj │ │ ├── 36_ConvertBinarySearchTree.vcxproj.filters │ │ └── ConvertBinarySearchTree.cpp │ ├── 37_SerializeBinaryTrees │ │ ├── 37_SerializeBinaryTrees.vcxproj │ │ ├── 37_SerializeBinaryTrees.vcxproj.filters │ │ ├── SerializeBinaryTrees.cpp │ │ └── test.txt │ ├── 38_StringPermutation │ │ ├── 38_StringPermutation.vcxproj │ │ ├── 38_StringPermutation.vcxproj.filters │ │ └── StringPermutation.cpp │ ├── 39_MoreThanHalfNumber │ │ ├── 39_MoreThanHalfNumber.vcxproj │ │ ├── 39_MoreThanHalfNumber.vcxproj.filters │ │ └── MoreThanHalfNumber.cpp │ ├── 40_KLeastNumbers │ │ ├── 40_KLeastNumbers.vcxproj │ │ ├── 40_KLeastNumbers.vcxproj.filters │ │ └── KLeastNumbers.cpp │ ├── 41_StreamMedian │ │ ├── 41_StreamMedian.vcxproj │ │ ├── 41_StreamMedian.vcxproj.filters │ │ └── StreamMedian.cpp │ ├── 42_GreatestSumOfSubarrays │ │ ├── 42_GreatestSumOfSubarrays.vcxproj │ │ ├── 42_GreatestSumOfSubarrays.vcxproj.filters │ │ └── GreatestSumOfSubarrays.cpp │ ├── 43_NumberOf1 │ │ ├── 43_NumberOf1.vcxproj │ │ ├── 43_NumberOf1.vcxproj.filters │ │ └── NumberOf1.cpp │ ├── 44_DigitsInSequence │ │ ├── 44_DigitsInSequence.vcxproj │ │ ├── 44_DigitsInSequence.vcxproj.filters │ │ └── DigitsInSequence.cpp │ ├── 45_SortArrayForMinNumber │ │ ├── 45_SortArrayForMinNumber.vcxproj │ │ ├── 45_SortArrayForMinNumber.vcxproj.filters │ │ └── SortArrayForMinNumber.cpp │ ├── 46_TranslateNumbersToStrings │ │ ├── 46_TranslateNumbersToStrings.vcxproj │ │ ├── 46_TranslateNumbersToStrings.vcxproj.filters │ │ └── TranslateNumbersToStrings.cpp │ ├── 47_MaxValueOfGifts │ │ ├── 47_MaxValueOfGifts.vcxproj │ │ ├── 47_MaxValueOfGifts.vcxproj.filters │ │ └── MaxValueOfGifts.cpp │ ├── 48_LongestSubstringWithoutDup │ │ ├── 48_LongestSubstringWithoutDup.vcxproj │ │ ├── 48_LongestSubstringWithoutDup.vcxproj.filters │ │ └── LongestSubstringWithoutDup.cpp │ ├── 49_UglyNumber │ │ ├── 49_UglyNumber.vcxproj │ │ ├── 49_UglyNumber.vcxproj.filters │ │ └── UglyNumber.cpp │ ├── 50_01_FirstNotRepeatingChar │ │ ├── 50_01_FirstNotRepeatingChar.vcxproj │ │ ├── 50_01_FirstNotRepeatingChar.vcxproj.filters │ │ └── FirstNotRepeatingChar.cpp │ ├── 50_02_FirstCharacterInStream │ │ ├── 50_02_FirstCharacterInStream.vcxproj │ │ ├── 50_02_FirstCharacterInStream.vcxproj.filters │ │ └── FirstCharacterInStream.cpp │ ├── 51_InversePairs │ │ ├── 51_InversePairs.vcxproj │ │ ├── 51_InversePairs.vcxproj.filters │ │ └── InversePairs.cpp │ ├── 52_FirstCommonNodesInLists │ │ ├── 52_FirstCommonNodesInLists.vcxproj │ │ ├── 52_FirstCommonNodesInLists.vcxproj.filters │ │ └── FirstCommonNodesInLists.cpp │ ├── 53_01_NumberOfK │ │ ├── 53_01_NumberOfK.vcxproj │ │ ├── 53_01_NumberOfK.vcxproj.filters │ │ └── NumberOfK.cpp │ ├── 53_02_MissingNumber │ │ ├── 53_02_MissingNumber.vcxproj │ │ ├── 53_02_MissingNumber.vcxproj.filters │ │ └── MissingNumber.cpp │ ├── 53_03_IntegerIdenticalToIndex │ │ ├── 53_03_IntegerIdenticalToIndex.vcxproj │ │ ├── 53_03_IntegerIdenticalToIndex.vcxproj.filters │ │ └── IntegerIdenticalToIndex.cpp │ ├── 54_KthNodeInBST │ │ ├── 54_KthNodeInBST.vcxproj │ │ ├── 54_KthNodeInBST.vcxproj.filters │ │ └── KthNodeInBST.cpp │ ├── 55_01_TreeDepth │ │ ├── 55_01_TreeDepth.vcxproj │ │ ├── 55_01_TreeDepth.vcxproj.filters │ │ └── TreeDepth.cpp │ ├── 55_02_BalancedBinaryTree │ │ ├── 55_02_BalancedBinaryTree.vcxproj │ │ ├── 55_02_BalancedBinaryTree.vcxproj.filters │ │ └── BalancedBinaryTree.cpp │ ├── 56_01_NumbersAppearOnce │ │ ├── 56_01_NumbersAppearOnce.vcxproj │ │ ├── 56_01_NumbersAppearOnce.vcxproj.filters │ │ └── NumbersAppearOnce.cpp │ ├── 56_02_NumberAppearingOnce │ │ ├── 56_02_NumberAppearingOnce.vcxproj │ │ ├── 56_02_NumberAppearingOnce.vcxproj.filters │ │ └── NumberAppearingOnce.cpp │ ├── 57_01_TwoNumbersWithSum │ │ ├── 57_01_TwoNumbersWithSum.vcxproj │ │ ├── 57_01_TwoNumbersWithSum.vcxproj.filters │ │ └── TwoNumbersWithSum.cpp │ ├── 57_02_ContinuousSquenceWithSum │ │ ├── 57_02_ContinuousSquenceWithSum.vcxproj │ │ ├── 57_02_ContinuousSquenceWithSum.vcxproj.filters │ │ └── ContinuousSquenceWithSum.cpp │ ├── 58_01_ReverseWordsInSentence │ │ ├── 58_01_ReverseWordsInSentence.vcxproj │ │ ├── 58_01_ReverseWordsInSentence.vcxproj.filters │ │ └── ReverseWordsInSentence.cpp │ ├── 58_02_LeftRotateString │ │ ├── 58_02_LeftRotateString.vcxproj │ │ ├── 58_02_LeftRotateString.vcxproj.filters │ │ └── LeftRotateString.cpp │ ├── 59_01_MaxInSlidingWindow │ │ ├── 59_01_MaxInSlidingWindow.vcxproj │ │ ├── 59_01_MaxInSlidingWindow.vcxproj.filters │ │ └── MaxInSlidingWindow.cpp │ ├── 59_02_QueueWithMax │ │ ├── 59_02_QueueWithMax.vcxproj │ │ ├── 59_02_QueueWithMax.vcxproj.filters │ │ └── QueueWithMax.cpp │ ├── 60_DicesProbability │ │ ├── 60_DicesProbability.vcxproj │ │ ├── 60_DicesProbability.vcxproj.filters │ │ └── DicesProbability.cpp │ ├── 61_ContinousCards │ │ ├── 61_ContinousCards.vcxproj │ │ ├── 61_ContinousCards.vcxproj.filters │ │ └── ContinousCards.cpp │ ├── 62_LastNumberInCircle │ │ ├── 62_LastNumberInCircle.vcxproj │ │ ├── 62_LastNumberInCircle.vcxproj.filters │ │ └── LastNumberInCircle.cpp │ ├── 63_MaximalProfit │ │ ├── 63_MaximalProfit.vcxproj │ │ ├── 63_MaximalProfit.vcxproj.filters │ │ └── MaximalProfit.cpp │ ├── 64_Accumulate │ │ ├── 64_Accumulate.vcxproj │ │ ├── 64_Accumulate.vcxproj.filters │ │ └── Accumulate.cpp │ ├── 65_AddTwoNumbers │ │ ├── 65_AddTwoNumbers.vcxproj │ │ ├── 65_AddTwoNumbers.vcxproj.filters │ │ └── AddTwoNumbers.cpp │ ├── 66_ConstuctArray │ │ ├── 66_ConstuctArray.vcxproj │ │ ├── 66_ConstuctArray.vcxproj.filters │ │ └── ConstuctArray.cpp │ ├── 67_StringToInt │ │ ├── 67_StringToInt.vcxproj │ │ ├── 67_StringToInt.vcxproj.filters │ │ └── StringToInt.cpp │ ├── 68_CommonParentInTree │ │ ├── 68_CommonParentInTree.vcxproj │ │ ├── 68_CommonParentInTree.vcxproj.filters │ │ └── CommonParentInTree.cpp │ ├── CodingInterviewChinese2.sln │ ├── LICENSE.txt │ └── Utilities │ │ ├── Array.cpp │ │ ├── Array.h │ │ ├── BinaryTree.cpp │ │ ├── BinaryTree.h │ │ ├── List.cpp │ │ ├── List.h │ │ ├── StringUtil.cpp │ │ ├── StringUtil.h │ │ ├── Tree.cpp │ │ ├── Tree.h │ │ ├── Utilities.vcxproj │ │ └── Utilities.vcxproj.filters ├── README.md ├── cpp │ ├── Accumulate │ │ ├── Accumulate.cpp │ │ ├── Accumulate.vcproj │ │ ├── Accumulate.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── AddTwoNumbers │ │ ├── AddTwoNumbers.cpp │ │ ├── AddTwoNumbers.vcproj │ │ ├── AddTwoNumbers.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── AssignmentOperator │ │ ├── AssignmentOperator.cpp │ │ ├── AssignmentOperator.vcproj │ │ ├── AssignmentOperator.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── BalancedBinaryTree │ │ ├── BalancedBinaryTree.cpp │ │ ├── BalancedBinaryTree.vcproj │ │ ├── BalancedBinaryTree.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── CommonParentInTree │ │ ├── CommonParentInTree.cpp │ │ ├── CommonParentInTree.vcproj │ │ ├── CommonParentInTree.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── ConstructBinaryTree │ │ ├── ConstructBinaryTree.cpp │ │ ├── ConstructBinaryTree.vcproj │ │ ├── ConstructBinaryTree.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── ContinousCards │ │ ├── ContinousCards.cpp │ │ ├── ContinousCards.vcproj │ │ ├── ContinousCards.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── ContinuesSquenceWithSum │ │ ├── ContinuesSquenceWithSum.cpp │ │ ├── ContinuesSquenceWithSum.vcproj │ │ ├── ContinuesSquenceWithSum.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── ConvertBinarySearchTree │ │ ├── ConvertBinarySearchTree.cpp │ │ ├── ConvertBinarySearchTree.vcproj │ │ ├── ConvertBinarySearchTree.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── CopyComplextList │ │ ├── ComplexList.cpp │ │ ├── ComplexList.h │ │ ├── CopyComplextList.cpp │ │ ├── CopyComplextList.vcproj │ │ ├── CopyComplextList.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── DeleteNodeInList │ │ ├── DeleteNodeInList.cpp │ │ ├── DeleteNodeInList.vcproj │ │ ├── DeleteNodeInList.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── DicesProbability │ │ ├── DicesProbability.cpp │ │ ├── DicesProbability.vcproj │ │ ├── DicesProbability.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── Fibonacci │ │ ├── Fibonacci.cpp │ │ ├── Fibonacci.vcproj │ │ ├── Fibonacci.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── FindInPartiallySortedMatrix │ │ ├── FindInPartiallySortedMatrix.cpp │ │ ├── FindInPartiallySortedMatrix.vcproj │ │ ├── FindInPartiallySortedMatrix.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── FirstCommonNodesInLists │ │ ├── FirstCommandNodesInLists.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── FirstCommonNodesInLists.cpp │ │ ├── FirstCommonNodesInLists.vcproj │ │ ├── FirstCommonNodesInLists.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── FirstNotRepeatingChar │ │ ├── FirstNotRepeatingChar.cpp │ │ ├── FirstNotRepeatingChar.vcproj │ │ ├── FirstNotRepeatingChar.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── GreatestSumOfSubarrays │ │ ├── GreatestSumOfSubarrays.cpp │ │ ├── GreatestSumOfSubarrays.vcproj │ │ ├── GreatestSumOfSubarrays.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── InterviewQuestions.sln │ ├── InterviewQuestions.suo │ ├── InversePairs │ │ ├── InversePairs.cpp │ │ ├── InversePairs.vcproj │ │ ├── InversePairs.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── KLeastNumbers │ │ ├── KLeastNumbers.cpp │ │ ├── KLeastNumbers.vcproj │ │ ├── KLeastNumbers.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── KthNodeFromEnd │ │ ├── KthNodeFromEnd.cpp │ │ ├── KthNodeFromEnd.vcproj │ │ ├── KthNodeFromEnd.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── LastNumberInCircle │ │ ├── LastNumberInCircle.cpp │ │ ├── LastNumberInCircle.vcproj │ │ ├── LastNumberInCircle.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── LeftRotateString │ │ ├── LeftRotateString.cpp │ │ ├── LeftRotateString.vcproj │ │ ├── LeftRotateString.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── MergeSortedLists │ │ ├── MergeSortedLists.cpp │ │ ├── MergeSortedLists.vcproj │ │ ├── MergeSortedLists.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── MinInStack │ │ ├── MinInStack.cpp │ │ ├── MinInStack.vcproj │ │ ├── MinInStack.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── StackWithMin.h │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── MinNumberInRotatedArray │ │ ├── MinNumberInRotatedArray.cpp │ │ ├── MinNumberInRotatedArray.vcproj │ │ ├── MinNumberInRotatedArray.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── MirrorOfBinaryTree │ │ ├── MirrorOfBinaryTree.cpp │ │ ├── MirrorOfBinaryTree.vcproj │ │ ├── MirrorOfBinaryTree.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── MoreThanHalfNumber │ │ ├── MoreThanHalfNumber.cpp │ │ ├── MoreThanHalfNumber.vcproj │ │ ├── MoreThanHalfNumber.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── NumberOf1 │ │ ├── NumberOf1.cpp │ │ ├── NumberOf1.vcproj │ │ ├── NumberOf1.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── NumberOf1InBinary │ │ ├── NumberOf1InBinary.cpp │ │ ├── NumberOf1InBinary.vcproj │ │ ├── NumberOf1InBinary.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── NumberOfK │ │ ├── NumberOfK.cpp │ │ ├── NumberOfK.vcproj │ │ ├── NumberOfK.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── NumbersAppearOnce │ │ ├── NumbersAppearOnce.cpp │ │ ├── NumbersAppearOnce.vcproj │ │ ├── NumbersAppearOnce.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── PathInTree │ │ ├── PathInTree.cpp │ │ ├── PathInTree.vcproj │ │ ├── PathInTree.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── Power │ │ ├── Power.cpp │ │ ├── Power.vcproj │ │ ├── Power.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── Print1ToMaxOfNDigits │ │ ├── Print1ToMaxOfNDigits.cpp │ │ ├── Print1ToMaxOfNDigits.vcproj │ │ ├── Print1ToMaxOfNDigits.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── PrintListInReversedOrder │ │ ├── PrintListInReversedOrder.cpp │ │ ├── PrintListInReversedOrder.vcproj │ │ ├── PrintListInReversedOrder.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── PrintMatrix │ │ ├── ClassDiagram1.cd │ │ ├── PrintMatrix.cpp │ │ ├── PrintMatrix.vcproj │ │ ├── PrintMatrix.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── PrintTreeFromTopToBottom │ │ ├── PrintTreeFromTopToBottom.cpp │ │ ├── PrintTreeFromTopToBottom.vcproj │ │ ├── PrintTreeFromTopToBottom.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── QueueWithTwoStacks │ │ ├── Queue.cpp │ │ ├── Queue.h │ │ ├── QueueWithTwoStacks.cpp │ │ ├── QueueWithTwoStacks.vcproj │ │ ├── QueueWithTwoStacks.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── ReorderArray │ │ ├── ReadMe.txt │ │ ├── ReorderArray.cpp │ │ ├── ReorderArray.vcproj │ │ ├── ReorderArray.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── ReplaceBlank │ │ ├── Debug │ │ │ ├── ReplaceBlank.exe │ │ │ ├── ReplaceBlank.ilk │ │ │ ├── ReplaceBlank.obj │ │ │ ├── ReplaceBlank.pch │ │ │ ├── ReplaceBlank.pdb │ │ │ ├── vc60.idb │ │ │ └── vc60.pdb │ │ ├── ReadMe.txt │ │ ├── ReplaceBlank.cpp │ │ ├── ReplaceBlank.dsp │ │ ├── ReplaceBlank.dsw │ │ ├── ReplaceBlank.ncb │ │ ├── ReplaceBlank.opt │ │ ├── ReplaceBlank.plg │ │ ├── ReplaceBlank.vcproj │ │ ├── ReplaceBlank.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── ReverseList │ │ ├── ReadMe.txt │ │ ├── ReverseList.cpp │ │ ├── ReverseList.vcproj │ │ ├── ReverseList.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── ReverseWordsInSentence │ │ ├── ReadMe.txt │ │ ├── ReverseWordsInSentence.cpp │ │ ├── ReverseWordsInSentence.vcproj │ │ ├── ReverseWordsInSentence.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── SealedClass │ │ ├── ReadMe.txt │ │ ├── SealedClass.cpp │ │ ├── SealedClass.vcproj │ │ ├── SealedClass.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── Singleton │ │ ├── 02_Singleton.csproj │ │ ├── Program.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── obj │ │ │ └── Debug │ │ │ └── 02_Singleton.csprojAssemblyReference.cache │ ├── SortArrayForMinNumber │ │ ├── ReadMe.txt │ │ ├── SortArrayForMinNumber.cpp │ │ ├── SortArrayForMinNumber.vcproj │ │ ├── SortArrayForMinNumber.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── SquenceOfBST │ │ ├── ReadMe.txt │ │ ├── SquenceOfBST.cpp │ │ ├── SquenceOfBST.vcproj │ │ ├── SquenceOfBST.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── StackPushPopOrder │ │ ├── ReadMe.txt │ │ ├── StackPushPopOrder.cpp │ │ ├── StackPushPopOrder.vcproj │ │ ├── StackPushPopOrder.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── StringPermutation │ │ ├── ReadMe.txt │ │ ├── StringPermutation.cpp │ │ ├── StringPermutation.vcproj │ │ ├── StringPermutation.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── StringToInt │ │ ├── ReadMe.txt │ │ ├── StringToInt.cpp │ │ ├── StringToInt.vcproj │ │ ├── StringToInt.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── SubstructureInTree │ │ ├── ReadMe.txt │ │ ├── SubstructureInTree.cpp │ │ ├── SubstructureInTree.vcproj │ │ ├── SubstructureInTree.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── TreeDepth │ │ ├── ReadMe.txt │ │ ├── TreeDepth.cpp │ │ ├── TreeDepth.vcproj │ │ ├── TreeDepth.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── TwoNumbersWithSum │ │ ├── ReadMe.txt │ │ ├── TwoNumbersWithSum.cpp │ │ ├── TwoNumbersWithSum.vcproj │ │ ├── TwoNumbersWithSum.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ ├── UglyNumber │ │ ├── ReadMe.txt │ │ ├── UglyNumber.cpp │ │ ├── UglyNumber.vcproj │ │ ├── UglyNumber.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ └── Utilities │ │ ├── Array.cpp │ │ ├── Array.h │ │ ├── BinaryTree.cpp │ │ ├── BinaryTree.h │ │ ├── List.cpp │ │ ├── List.h │ │ ├── ReadMe.txt │ │ ├── StringUtil.cpp │ │ ├── StringUtil.h │ │ ├── Tree.cpp │ │ ├── Tree.h │ │ ├── Utilities.vcproj │ │ ├── Utilities.vcproj.HAIHE-WIN7.Harry He.user │ │ ├── dllmain.cpp │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h └── rust │ ├── q03_find_in_partially_sorted_matrix │ ├── Cargo.lock │ ├── Cargo.toml │ └── src │ │ └── main.rs │ └── q04_replace_blank │ ├── Cargo.lock │ ├── Cargo.toml │ └── src │ └── main.rs ├── template ├── binarySearch.md ├── divideConquer.md └── recursion.md ├── tools ├── backup_git │ ├── .gitignore │ └── backup_git.py ├── random_select │ └── random_select.py ├── rename_batch │ └── rename_batch.py └── show_files │ └── show_files.py └── vjudge ├── NBUT └── 1529 │ ├── input │ ├── main.cpp │ └── main2.cpp └── README.md /bash-leetcode/192/192.sh: -------------------------------------------------------------------------------- 1 | # Read from the file words.txt and output the word frequency list to stdout. 2 | cat words.txt | xargs -n 1 | sort | uniq -c | sort -nr | awk '{print $2" "$1}' 3 | -------------------------------------------------------------------------------- /bash-leetcode/192/words.txt: -------------------------------------------------------------------------------- 1 | the day is sunny the the 2 | the sunny is is 3 | -------------------------------------------------------------------------------- /bash-leetcode/193/193.sh: -------------------------------------------------------------------------------- 1 | # Read from the file file.txt and output all valid phone numbers to stdout. 2 | grep -P '^([0-9]{3}-|\([0-9]{3}\) )[0-9]{3}-[0-9]{4}$' file.txt 3 | 4 | -------------------------------------------------------------------------------- /bash-leetcode/193/file.txt: -------------------------------------------------------------------------------- 1 | 987-123-4567 2 | 123 456 7890 3 | (123) 456-7890 4 | -------------------------------------------------------------------------------- /bash-leetcode/194/file.txt: -------------------------------------------------------------------------------- 1 | name age 2 | alice 21 3 | ryan 30 4 | -------------------------------------------------------------------------------- /bash-leetcode/195/195.01.sh: -------------------------------------------------------------------------------- 1 | # Read from the file file.txt and output the tenth line to stdout. 2 | awk 'NR==10' file.txt 3 | -------------------------------------------------------------------------------- /bash-leetcode/195/195.sh: -------------------------------------------------------------------------------- 1 | # Read from the file file.txt and output the tenth line to stdout. 2 | sed -n '10p' file.txt 3 | -------------------------------------------------------------------------------- /bash-leetcode/195/file.txt: -------------------------------------------------------------------------------- 1 | Line 1 2 | Line 2 3 | Line 3 4 | Line 4 5 | Line 5 6 | Line 6 7 | Line 7 8 | Line 8 9 | Line 9 10 | Line 10 11 | -------------------------------------------------------------------------------- /big-data/mockdata/.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | -------------------------------------------------------------------------------- /big-data/mockdata/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod gennum; 2 | pub mod genstr; 3 | 4 | #[derive(Debug)] 5 | enum Seperate { 6 | Line = 1, 7 | Space = 2, 8 | } 9 | -------------------------------------------------------------------------------- /big-data/sortbigfile/.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | -------------------------------------------------------------------------------- /big-data/sortbigfile/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod sortbigfile; 2 | -------------------------------------------------------------------------------- /codecrush/p2_5001/go01/go.mod: -------------------------------------------------------------------------------- 1 | module go01 2 | 3 | go 1.21.4 4 | -------------------------------------------------------------------------------- /codecrush/p2_5001/go02/go.mod: -------------------------------------------------------------------------------- 1 | module go02 2 | 3 | go 1.21.4 4 | -------------------------------------------------------------------------------- /codewars/rust/sum_of_pairs/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /codewars/rust/sum_of_pairs/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0001/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(leetcode_0001) 4 | ADD_EXECUTABLE(solution_01 solution_01.cpp) 5 | TARGET_INCLUDE_DIRECTORIES(solution_01 PRIVATE ../common) 6 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0001/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | ./build/solution_01 13 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0020/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0021/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0028/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(leetcode_0028) 4 | ADD_EXECUTABLE(solution_01 solution_01.cpp) 5 | TARGET_INCLUDE_DIRECTORIES(solution_01 PRIVATE ../common) 6 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0028/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | ./build/solution_01 13 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0045/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(leetcode_0045) 4 | ADD_EXECUTABLE(solution_01 solution_01.cpp) 5 | TARGET_INCLUDE_DIRECTORIES(solution_01 PRIVATE ../common) 6 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0045/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | ./build/solution_01 13 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0054/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(leetcode_0001) 4 | ADD_EXECUTABLE(solution_01 solution_01.cpp) 5 | TARGET_INCLUDE_DIRECTORIES(solution_01 PRIVATE ../common) 6 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0054/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | ./build/solution_01 13 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0055/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(leetcode_0055) 4 | ADD_EXECUTABLE(solution_01 solution_01.cpp) 5 | TARGET_INCLUDE_DIRECTORIES(solution_01 PRIVATE ../common) 6 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0055/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | ./build/solution_01 13 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0070/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(leetcode_0070) 4 | ADD_EXECUTABLE(solution_01 solution_01.cpp) 5 | TARGET_INCLUDE_DIRECTORIES(solution_01 PRIVATE ../common) 6 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0070/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0094/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(leetcode_0094) 4 | ADD_EXECUTABLE(solution_01 solution_01.cpp) 5 | TARGET_INCLUDE_DIRECTORIES(solution_01 PRIVATE ../common) 6 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0094/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0101/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | ./build/solution_02 13 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0102/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(leetcode_0001) 4 | ADD_EXECUTABLE(solution_01 solution_01.cpp) 5 | TARGET_INCLUDE_DIRECTORIES(solution_01 PRIVATE ../common) 6 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0102/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | ./build/solution_01 13 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0205/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(leetcode_0001) 4 | ADD_EXECUTABLE(solution_01 solution_01.cpp) 5 | TARGET_INCLUDE_DIRECTORIES(solution_01 PRIVATE ../common) 6 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0205/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | ./build/solution_01 13 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0263/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(leetcode_0263) 4 | ADD_EXECUTABLE(solution_01 solution_01.cpp) 5 | TARGET_INCLUDE_DIRECTORIES(solution_01 PRIVATE ../common) 6 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0263/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | ./build/solution_01 13 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0349/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(leetcode_0349) 4 | ADD_EXECUTABLE(solution_01 solution_01.cpp) 5 | TARGET_INCLUDE_DIRECTORIES(solution_01 PRIVATE ../common) 6 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0349/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | ./build/solution_01 13 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0350/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(leetcode_0349) 4 | ADD_EXECUTABLE(solution_01 solution_01.cpp) 5 | TARGET_INCLUDE_DIRECTORIES(solution_01 PRIVATE ../common) 6 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0350/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | ./build/solution_01 13 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0453/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(leetcode_0453) 4 | ADD_EXECUTABLE(solution_01 solution_01.cpp) 5 | TARGET_INCLUDE_DIRECTORIES(solution_01 PRIVATE ../common) 6 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0453/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0468/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(leetcode_0468) 4 | ADD_EXECUTABLE(solution_01 solution_01.cpp) 5 | TARGET_INCLUDE_DIRECTORIES(solution_01 PRIVATE ../common) 6 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0468/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | ./build/solution_01 13 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0665/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(leetcode_0665) 4 | ADD_EXECUTABLE(solution_01 solution_01.cpp) 5 | TARGET_INCLUDE_DIRECTORIES(solution_01 PRIVATE ../common) 6 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_0665/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_1605/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(leetcode_1605) 4 | ADD_EXECUTABLE(solution_01 solution_01.cpp) 5 | TARGET_INCLUDE_DIRECTORIES(solution_01 PRIVATE ../common) 6 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_1605/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_1669/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(leetcode_1669) 4 | ADD_EXECUTABLE(solution_01 solution_01.cpp) 5 | TARGET_INCLUDE_DIRECTORIES(solution_01 PRIVATE ../common) 6 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_1669/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | ./build/solution_01 13 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_2352/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(leetcode_0001) 4 | ADD_EXECUTABLE(solution_01 solution_01.cpp) 5 | TARGET_INCLUDE_DIRECTORIES(solution_01 PRIVATE ../common) 6 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_2352/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | ./build/solution_01 13 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_2363/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(leetcode_2363) 4 | ADD_EXECUTABLE(solution_01 solution_01.cpp) 5 | TARGET_INCLUDE_DIRECTORIES(solution_01 PRIVATE ../common) 6 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_2363/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_2383/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(leetcode_2383) 4 | ADD_EXECUTABLE(solution_01 solution_01.cpp) 5 | TARGET_INCLUDE_DIRECTORIES(solution_01 PRIVATE ../common) 6 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_2383/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_2386/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(leetcode_0001) 4 | ADD_EXECUTABLE(solution_01 solution_01.cpp) 5 | TARGET_INCLUDE_DIRECTORIES(solution_01 PRIVATE ../common) 6 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_2386/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | ./build/solution_01 13 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_sw/sw_074/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(leetcode_sw_074) 4 | ADD_EXECUTABLE(solution_01 solution_01.cpp) 5 | TARGET_INCLUDE_DIRECTORIES(solution_01 PRIVATE ../../common) 6 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_sw/sw_074/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | ./build/solution_01 13 | -------------------------------------------------------------------------------- /cpp-leetcode/leetcode_sw/sw_64/sw_64.cpp: -------------------------------------------------------------------------------- 1 | int sumNums(int n) { 2 | n && (n += sumNums(n - 1)); 3 | return n; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /design_pattern/cpp/abstract_factory/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | project(abstract_factory) 4 | 5 | add_executable(${PROJECT_NAME} main.cpp) 6 | -------------------------------------------------------------------------------- /design_pattern/cpp/abstract_factory/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /design_pattern/cpp/adapter/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | project(adapter) 4 | 5 | add_executable(${PROJECT_NAME} main.cpp) 6 | -------------------------------------------------------------------------------- /design_pattern/cpp/adapter/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /design_pattern/cpp/bridge/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | project(bridge) 4 | 5 | add_executable(${PROJECT_NAME} main.cpp) 6 | -------------------------------------------------------------------------------- /design_pattern/cpp/bridge/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /design_pattern/cpp/builder/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | project(builder) 4 | 5 | add_executable(${PROJECT_NAME} main.cpp) 6 | -------------------------------------------------------------------------------- /design_pattern/cpp/builder/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /design_pattern/cpp/chain_of_responsibility/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | project(chain_of_responsibility) 4 | 5 | add_executable(${PROJECT_NAME} main.cpp) 6 | -------------------------------------------------------------------------------- /design_pattern/cpp/chain_of_responsibility/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /design_pattern/cpp/command/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | project(command) 4 | 5 | add_executable(${PROJECT_NAME} main.cpp) 6 | -------------------------------------------------------------------------------- /design_pattern/cpp/command/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /design_pattern/cpp/composite/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | project(composite) 4 | 5 | add_executable(${PROJECT_NAME} main.cpp) 6 | -------------------------------------------------------------------------------- /design_pattern/cpp/composite/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /design_pattern/cpp/decorator/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | project(decorator) 4 | 5 | add_executable(${PROJECT_NAME} main.cpp) 6 | -------------------------------------------------------------------------------- /design_pattern/cpp/decorator/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /design_pattern/cpp/facade/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | project(facade) 4 | 5 | add_executable(${PROJECT_NAME} main.cpp) 6 | -------------------------------------------------------------------------------- /design_pattern/cpp/facade/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /design_pattern/cpp/factory/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | project(factory) 4 | 5 | add_executable(${PROJECT_NAME} main.cpp) 6 | -------------------------------------------------------------------------------- /design_pattern/cpp/factory/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /design_pattern/cpp/flyweight/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | project(flyweight) 4 | 5 | add_executable(${PROJECT_NAME} main.cpp) 6 | -------------------------------------------------------------------------------- /design_pattern/cpp/flyweight/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /design_pattern/cpp/iterator/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | project(iterator) 4 | 5 | add_executable(${PROJECT_NAME} main.cpp) 6 | -------------------------------------------------------------------------------- /design_pattern/cpp/iterator/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /design_pattern/cpp/mediator/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | project(mediator) 4 | 5 | add_executable(${PROJECT_NAME} main.cpp) 6 | -------------------------------------------------------------------------------- /design_pattern/cpp/mediator/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /design_pattern/cpp/memento/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | project(memento) 4 | 5 | add_executable(${PROJECT_NAME} main.cpp) 6 | -------------------------------------------------------------------------------- /design_pattern/cpp/memento/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /design_pattern/cpp/observer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | project(observer) 4 | 5 | add_executable(${PROJECT_NAME} main.cpp) 6 | -------------------------------------------------------------------------------- /design_pattern/cpp/observer/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /design_pattern/cpp/prototype/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | project(prototype) 4 | 5 | add_executable(${PROJECT_NAME} main.cpp) 6 | -------------------------------------------------------------------------------- /design_pattern/cpp/prototype/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /design_pattern/cpp/proxy/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | project(proxy) 4 | 5 | add_executable(${PROJECT_NAME} main.cpp) 6 | -------------------------------------------------------------------------------- /design_pattern/cpp/proxy/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /design_pattern/cpp/simple_factory/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | project(simple_factory) 4 | 5 | add_executable(${PROJECT_NAME} main.cpp) 6 | -------------------------------------------------------------------------------- /design_pattern/cpp/simple_factory/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /design_pattern/cpp/singleton/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | project(singleton) 4 | 5 | add_executable(${PROJECT_NAME} main.cpp) 6 | -------------------------------------------------------------------------------- /design_pattern/cpp/singleton/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /design_pattern/cpp/state/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | project(state) 4 | 5 | add_executable(${PROJECT_NAME} main.cpp) 6 | -------------------------------------------------------------------------------- /design_pattern/cpp/state/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /design_pattern/cpp/strategy/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | project(strategy) 4 | 5 | add_executable(${PROJECT_NAME} main.cpp) 6 | -------------------------------------------------------------------------------- /design_pattern/cpp/strategy/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /design_pattern/cpp/template_method/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | project(template_method) 4 | 5 | add_executable(${PROJECT_NAME} main.cpp) 6 | -------------------------------------------------------------------------------- /design_pattern/cpp/template_method/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /design_pattern/cpp/visitor/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | project(visitor) 4 | 5 | add_executable(${PROJECT_NAME} main.cpp) 6 | -------------------------------------------------------------------------------- /design_pattern/cpp/visitor/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /document/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/README.md -------------------------------------------------------------------------------- /document/algorithmNote/chapter_camp/chapter_camp_15.tex: -------------------------------------------------------------------------------- 1 | \subsection{第 15 课 | 红黑树和AVL树} 2 | 3 | \subsubsection{脑图} 4 | 5 | \includegraphics[width=100mm,height=40mm]{images/camp/第15课.png} 6 | 7 | \subsubsection{题目} 8 | -------------------------------------------------------------------------------- /document/algorithmNote/chapter_code_template/tpl_bidirection_bfs.tex: -------------------------------------------------------------------------------- 1 | \newpage 2 | \section{双向 BFS 代码模板} 3 | 4 | \subsection{Python 模板} 5 | -------------------------------------------------------------------------------- /document/algorithmNote/chapter_code_template/tpl_sort_bucketsort.tex: -------------------------------------------------------------------------------- 1 | \newpage 2 | \section{桶排序模板} 3 | -------------------------------------------------------------------------------- /document/algorithmNote/chapter_code_template/tpl_sort_countingsort.tex: -------------------------------------------------------------------------------- 1 | \newpage 2 | \section{计数排序模板} 3 | -------------------------------------------------------------------------------- /document/algorithmNote/chapter_code_template/tpl_sort_radixsort.tex: -------------------------------------------------------------------------------- 1 | \newpage 2 | \section{基数排序模板} 3 | -------------------------------------------------------------------------------- /document/algorithmNote/chapter_it.tex: -------------------------------------------------------------------------------- 1 | \chapter{LeetCode 程序员面试金典} 2 | 3 | \input{chapter_leetcode/chapter_leetcode_it} 4 | -------------------------------------------------------------------------------- /document/algorithmNote/chapter_lcp.tex: -------------------------------------------------------------------------------- 1 | \chapter{LeetCode LCP} 2 | 3 | \input{chapter_leetcode/chapter_leetcode_lcp} 4 | -------------------------------------------------------------------------------- /document/algorithmNote/chapter_leetcode/chapter_leetcode_1001_1100.tex: -------------------------------------------------------------------------------- 1 | \input{chapter_leetcode/leetcode_1001_1100/chapter_leetcode_1091} 2 | -------------------------------------------------------------------------------- /document/algorithmNote/chapter_leetcode/chapter_leetcode_1201_1300.tex: -------------------------------------------------------------------------------- 1 | \input{chapter_leetcode/leetcode_1201_1300/chapter_leetcode_1244} 2 | -------------------------------------------------------------------------------- /document/algorithmNote/chapter_leetcode/chapter_leetcode_it.tex: -------------------------------------------------------------------------------- 1 | \input{chapter_leetcode/leetcode_it/chapter_leetcode_it_16.03} 2 | -------------------------------------------------------------------------------- /document/algorithmNote/chapter_leetcode/chapter_leetcode_lcp.tex: -------------------------------------------------------------------------------- 1 | \input{chapter_leetcode/leetcode_lcp/chapter_leetcode_lcp_09} 2 | -------------------------------------------------------------------------------- /document/algorithmNote/chapter_leetcode/chapter_leetcode_sw.tex: -------------------------------------------------------------------------------- 1 | \input{chapter_leetcode/leetcode_sw/chapter_leetcode_sw_51} 2 | \input{chapter_leetcode/leetcode_sw/chapter_leetcode_sw_59_2} 3 | -------------------------------------------------------------------------------- /document/algorithmNote/chapter_leetcode/chapter_leetcode_topic.tex: -------------------------------------------------------------------------------- 1 | \input{chapter_leetcode/leetcode_topic/chapter_leetcode_topic_jump} 2 | -------------------------------------------------------------------------------- /document/algorithmNote/chapter_leetcode/leetcode_1001_1100/chapter_leetcode_1091.tex: -------------------------------------------------------------------------------- 1 | \newpage 2 | \section{1091. 二进制矩阵中的最短路径} 3 | \label{leetcode:1091} 4 | -------------------------------------------------------------------------------- /document/algorithmNote/chapter_leetcode/leetcode_1201_1300/chapter_leetcode_1244.tex: -------------------------------------------------------------------------------- 1 | \newpage 2 | \section{1244. 力扣排行榜} 3 | \label{leetcode:1244} 4 | 5 | \subsection{题目} 6 | -------------------------------------------------------------------------------- /document/algorithmNote/chapter_leetcode/leetcode_301_400/chapter_leetcode_363.tex: -------------------------------------------------------------------------------- 1 | \newpage 2 | \section{363. 矩形区域不超过 K 的最大数值和} 3 | \label{leetcode:363} 4 | -------------------------------------------------------------------------------- /document/algorithmNote/chapter_leetcode/leetcode_401_500/chapter_leetcode_403.tex: -------------------------------------------------------------------------------- 1 | \newpage 2 | \section{403. 青蛙过河} 3 | \label{leetcode:403} 4 | -------------------------------------------------------------------------------- /document/algorithmNote/chapter_leetcode/leetcode_401_500/chapter_leetcode_410.tex: -------------------------------------------------------------------------------- 1 | \newpage 2 | \section{410. 分割数组的最大值} 3 | \label{leetcode:410} 4 | -------------------------------------------------------------------------------- /document/algorithmNote/chapter_leetcode/leetcode_501_600/chapter_leetcode_552.tex: -------------------------------------------------------------------------------- 1 | \newpage 2 | \section{552. 学生出勤记录 II} 3 | \label{leetcode:552} 4 | -------------------------------------------------------------------------------- /document/algorithmNote/chapter_leetcode/leetcode_601_700/chapter_leetcode_621.tex: -------------------------------------------------------------------------------- 1 | \newpage 2 | \section{621. 任务调度器} 3 | \label{leetcode:621} 4 | -------------------------------------------------------------------------------- /document/algorithmNote/chapter_leetcode/leetcode_701_800/chapter_leetcode_773.tex: -------------------------------------------------------------------------------- 1 | \newpage 2 | \section{773. 滑动谜题} 3 | \label{leetcode:773} 4 | -------------------------------------------------------------------------------- /document/algorithmNote/chapter_leetcode_0_200.tex: -------------------------------------------------------------------------------- 1 | \chapter{LeetCode 题目(1-200)} 2 | 3 | \input{chapter_leetcode/chapter_leetcode_1_100} 4 | \input{chapter_leetcode/chapter_leetcode_101_200} 5 | -------------------------------------------------------------------------------- /document/algorithmNote/chapter_sw.tex: -------------------------------------------------------------------------------- 1 | \chapter{LeetCode 剑指 Offer} 2 | 3 | \input{chapter_leetcode/chapter_leetcode_sw} 4 | -------------------------------------------------------------------------------- /document/algorithmNote/chapter_topic.tex: -------------------------------------------------------------------------------- 1 | \chapter{LeetCode 专题} 2 | 3 | \input{chapter_leetcode/chapter_leetcode_topic} 4 | -------------------------------------------------------------------------------- /document/algorithmNote/images/camp/第10课.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/camp/第10课.png -------------------------------------------------------------------------------- /document/algorithmNote/images/camp/第11课.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/camp/第11课.png -------------------------------------------------------------------------------- /document/algorithmNote/images/camp/第12课.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/camp/第12课.png -------------------------------------------------------------------------------- /document/algorithmNote/images/camp/第13课.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/camp/第13课.png -------------------------------------------------------------------------------- /document/algorithmNote/images/camp/第14课.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/camp/第14课.png -------------------------------------------------------------------------------- /document/algorithmNote/images/camp/第15课.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/camp/第15课.png -------------------------------------------------------------------------------- /document/algorithmNote/images/camp/第16课.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/camp/第16课.png -------------------------------------------------------------------------------- /document/algorithmNote/images/camp/第17课.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/camp/第17课.png -------------------------------------------------------------------------------- /document/algorithmNote/images/camp/第18课.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/camp/第18课.png -------------------------------------------------------------------------------- /document/algorithmNote/images/camp/第19课.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/camp/第19课.png -------------------------------------------------------------------------------- /document/algorithmNote/images/camp/第20课.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/camp/第20课.png -------------------------------------------------------------------------------- /document/algorithmNote/images/camp/第3课.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/camp/第3课.png -------------------------------------------------------------------------------- /document/algorithmNote/images/camp/第4课.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/camp/第4课.png -------------------------------------------------------------------------------- /document/algorithmNote/images/camp/第5课.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/camp/第5课.png -------------------------------------------------------------------------------- /document/algorithmNote/images/camp/第6课.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/camp/第6课.png -------------------------------------------------------------------------------- /document/algorithmNote/images/camp/第7课.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/camp/第7课.png -------------------------------------------------------------------------------- /document/algorithmNote/images/camp/第8课.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/camp/第8课.png -------------------------------------------------------------------------------- /document/algorithmNote/images/camp/第9课.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/camp/第9课.png -------------------------------------------------------------------------------- /document/algorithmNote/images/leetcode/17_telephone_keypad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/leetcode/17_telephone_keypad.png -------------------------------------------------------------------------------- /document/algorithmNote/images/leetcode/36_sudo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/leetcode/36_sudo.jpg -------------------------------------------------------------------------------- /document/algorithmNote/images/leetcode/37_sudo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/leetcode/37_sudo.png -------------------------------------------------------------------------------- /document/algorithmNote/images/leetcode/37_sudo_solution.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/leetcode/37_sudo_solution.png -------------------------------------------------------------------------------- /document/algorithmNote/images/leetcode/51.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/leetcode/51.jpg -------------------------------------------------------------------------------- /document/algorithmNote/images/leetcode/8-queens.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/leetcode/8-queens.png -------------------------------------------------------------------------------- /document/algorithmNote/images/leetcode/binarysearchtree_improved.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/leetcode/binarysearchtree_improved.png -------------------------------------------------------------------------------- /document/algorithmNote/images/leetcode/circularlinkedlist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/leetcode/circularlinkedlist.png -------------------------------------------------------------------------------- /document/algorithmNote/images/leetcode/circularlinkedlist_test2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/leetcode/circularlinkedlist_test2.png -------------------------------------------------------------------------------- /document/algorithmNote/images/leetcode/circularlinkedlist_test3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/leetcode/circularlinkedlist_test3.png -------------------------------------------------------------------------------- /document/algorithmNote/images/leetcode/histogram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/leetcode/histogram.png -------------------------------------------------------------------------------- /document/algorithmNote/images/leetcode/histogram_area.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/leetcode/histogram_area.png -------------------------------------------------------------------------------- /document/algorithmNote/images/leetcode/leetcode_17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/leetcode/leetcode_17.png -------------------------------------------------------------------------------- /document/algorithmNote/images/leetcode/leetcode_22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/leetcode/leetcode_22.png -------------------------------------------------------------------------------- /document/algorithmNote/images/leetcode/leetcode_236_binarytree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/leetcode/leetcode_236_binarytree.png -------------------------------------------------------------------------------- /document/algorithmNote/images/leetcode/leetcode_429_narytreeexample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/leetcode/leetcode_429_narytreeexample.png -------------------------------------------------------------------------------- /document/algorithmNote/images/leetcode/leetcode_509_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/leetcode/leetcode_509_01.png -------------------------------------------------------------------------------- /document/algorithmNote/images/leetcode/leetcode_509_02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/leetcode/leetcode_509_02.png -------------------------------------------------------------------------------- /document/algorithmNote/images/leetcode/leetcode_77.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/leetcode/leetcode_77.png -------------------------------------------------------------------------------- /document/algorithmNote/images/leetcode/leetcode_77_4_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/leetcode/leetcode_77_4_3.png -------------------------------------------------------------------------------- /document/algorithmNote/images/leetcode/leetcode_78.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/leetcode/leetcode_78.png -------------------------------------------------------------------------------- /document/algorithmNote/images/leetcode/minesweeper_example_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/leetcode/minesweeper_example_1.png -------------------------------------------------------------------------------- /document/algorithmNote/images/leetcode/minesweeper_example_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/leetcode/minesweeper_example_2.png -------------------------------------------------------------------------------- /document/algorithmNote/images/leetcode/question_11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/leetcode/question_11.jpg -------------------------------------------------------------------------------- /document/algorithmNote/images/leetcode/rainwatertrap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/leetcode/rainwatertrap.png -------------------------------------------------------------------------------- /document/algorithmNote/images/leetcode/robot_maze.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/document/algorithmNote/images/leetcode/robot_maze.png -------------------------------------------------------------------------------- /golang-leetcode/175.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/golang-leetcode/175.go -------------------------------------------------------------------------------- /golang-leetcode/77.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | fmt.Println("vim-go") 7 | } 8 | 9 | func combine(n int, k int) [][]int { 10 | 11 | } 12 | -------------------------------------------------------------------------------- /interview/cpp/gomoku/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | project(gomoku) 4 | 5 | add_executable(${PROJECT_NAME} main.cpp) 6 | -------------------------------------------------------------------------------- /interview/cpp/gomoku/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | mkdir -p build 3 | cd build 4 | cmake .. 5 | make 6 | -------------------------------------------------------------------------------- /interview/cpp/hex_to_decimal/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | project(hex_to_decimal) 4 | 5 | add_executable(${PROJECT_NAME} main.cpp) 6 | -------------------------------------------------------------------------------- /interview/cpp/hex_to_decimal/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | mkdir -p build 3 | cd build 4 | cmake .. 5 | make 6 | -------------------------------------------------------------------------------- /interview/hj_20230515/test03/input1.txt: -------------------------------------------------------------------------------- 1 | 14 7 2 | 2 3 2 5 5 1 4 3 | -------------------------------------------------------------------------------- /interview/hj_20230515/test03/input2.txt: -------------------------------------------------------------------------------- 1 | 3 3 2 | 1 2 3 3 | -------------------------------------------------------------------------------- /interview/hj_20230515/test03/input3.txt: -------------------------------------------------------------------------------- 1 | 6 2 2 | 3 2 3 | -------------------------------------------------------------------------------- /interview/hw/README.md: -------------------------------------------------------------------------------- 1 | # hw 2 | 3 | ``` 4 | 55 跳跃游戏 5 | 45 跳跃游戏2 6 | 101 对称二叉树 7 | 345 两个数组的交集 8 | 350 两个数组的交集2 9 | 205 同构字符串 10 | 102 二叉树的层序遍历 11 | 21. 合并两个有序链表 12 | 1669. 合并两个链表 13 | ``` 14 | -------------------------------------------------------------------------------- /javascript-leetcode/175.组合两个表.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/javascript-leetcode/175.组合两个表.js -------------------------------------------------------------------------------- /javascript-leetcode/176.第二高的薪水.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/javascript-leetcode/176.第二高的薪水.js -------------------------------------------------------------------------------- /javascript-leetcode/177.第n高的薪水.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/javascript-leetcode/177.第n高的薪水.js -------------------------------------------------------------------------------- /javascript-leetcode/196.删除重复的电子邮箱.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/javascript-leetcode/196.删除重复的电子邮箱.js -------------------------------------------------------------------------------- /javascript-leetcode/197.上升的温度.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/javascript-leetcode/197.上升的温度.js -------------------------------------------------------------------------------- /javascript-leetcode/42_01_rainwatertrap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/javascript-leetcode/42_01_rainwatertrap.png -------------------------------------------------------------------------------- /javascript-leetcode/509.01.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @param {number} N 3 | * @return {number} 4 | */ 5 | var fib = function(N) { 6 | if (N < 2) { return N; } 7 | return fib(N-1) + fib(N-2); 8 | }; 9 | -------------------------------------------------------------------------------- /javascript-leetcode/717.01.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @param {number[]} bits 3 | * @return {boolean} 4 | */ 5 | var isOneBitCharacter = function(bits) { 6 | return /^(10|11|0)*0$/.test(bits.join('')); 7 | }; 8 | -------------------------------------------------------------------------------- /javascript/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["@babel/preset-env"] 3 | } 4 | -------------------------------------------------------------------------------- /javascript/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | end_of_line = lf 5 | insert_final_newline = true 6 | charset = utf-8 7 | indent_style = space 8 | indent_size = 2 9 | -------------------------------------------------------------------------------- /javascript/.gitignore: -------------------------------------------------------------------------------- 1 | lib 2 | -------------------------------------------------------------------------------- /javascript/src/algorithms/string/hash-strstr/README.md: -------------------------------------------------------------------------------- 1 | # HashStrstr 2 | -------------------------------------------------------------------------------- /javascript/src/data-structures/priority-queue-list/README.md: -------------------------------------------------------------------------------- 1 | # priority queue implement with list 2 | -------------------------------------------------------------------------------- /leetcode/contest/2020-04-18/5.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/leetcode/contest/2020-04-18/5.py -------------------------------------------------------------------------------- /leetcode/contest/2023-04-22/adventure_camp/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /leetcode/contest/2023-04-22/supply_wagon/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /leetcode/contest/2023-04-22/supply_wagon/src/main.rs: -------------------------------------------------------------------------------- 1 | use supply_wagon::solution1::Solution; 2 | 3 | fn main() { 4 | let result = Solution::supply_wagon(vec![7, 3, 6, 1, 8]); 5 | println!("result: {:?}", result); 6 | } 7 | -------------------------------------------------------------------------------- /leetcode/night_miao/20200307/2.py: -------------------------------------------------------------------------------- 1 | # 5337. 每个元音包含偶数次的最长子字符串 2 | 3 | class Solution: 4 | def findTheLongestSubstring(self, s: str) -> int: 5 | 6 | -------------------------------------------------------------------------------- /leetcode/week_contest/179_2020-03-08/1.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def generateTheString(self, n: int) -> str: 3 | if n % 2 == 0: 4 | return 'a' + 'b'*(n - 1) 5 | else: 6 | return 'a'*(n) 7 | 8 | -------------------------------------------------------------------------------- /leetcode/week_contest/183_20200405/3.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def longestDiverseString(self, a: int, b: int, c: int) -> str: 3 | -------------------------------------------------------------------------------- /leetcode/week_contest/353_2023-07-09/t6451/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /leetcode/week_contest/353_2023-07-09/t6451/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /leetcode/week_contest/353_2023-07-09/t6899/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /leetcode/week_contest/353_2023-07-09/t6912/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /leetcode/week_contest/353_2023-07-09/t6912/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /mind/数据结构与算法.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/mind/数据结构与算法.xmind -------------------------------------------------------------------------------- /mind/第10课.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/mind/第10课.xmind -------------------------------------------------------------------------------- /mind/第11课.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/mind/第11课.xmind -------------------------------------------------------------------------------- /mind/第12课.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/mind/第12课.xmind -------------------------------------------------------------------------------- /mind/第13课.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/mind/第13课.xmind -------------------------------------------------------------------------------- /mind/第14课.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/mind/第14课.xmind -------------------------------------------------------------------------------- /mind/第15课.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/mind/第15课.xmind -------------------------------------------------------------------------------- /mind/第16课.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/mind/第16课.xmind -------------------------------------------------------------------------------- /mind/第17课.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/mind/第17课.xmind -------------------------------------------------------------------------------- /mind/第18课.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/mind/第18课.xmind -------------------------------------------------------------------------------- /mind/第19课.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/mind/第19课.xmind -------------------------------------------------------------------------------- /mind/第20课.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/mind/第20课.xmind -------------------------------------------------------------------------------- /mind/第3课.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/mind/第3课.xmind -------------------------------------------------------------------------------- /mind/第4课.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/mind/第4课.xmind -------------------------------------------------------------------------------- /mind/第5课.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/mind/第5课.xmind -------------------------------------------------------------------------------- /mind/第6课.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/mind/第6课.xmind -------------------------------------------------------------------------------- /mind/第7课.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/mind/第7课.xmind -------------------------------------------------------------------------------- /mind/第8课.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/mind/第8课.xmind -------------------------------------------------------------------------------- /mind/第9课.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/mind/第9课.xmind -------------------------------------------------------------------------------- /miscellanea/cpp_memmove/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | project(cpp_memmove) 4 | 5 | add_executable(${PROJECT_NAME} main.cpp) 6 | -------------------------------------------------------------------------------- /miscellanea/cpp_memmove/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /miscellanea/find_next_highest_power_of_2/README.md: -------------------------------------------------------------------------------- 1 | # find next highest power of 2 2 | 3 | 4 | -------------------------------------------------------------------------------- /miscellanea/find_next_highest_power_of_2/next_highest_powe_of_2/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution01; 2 | pub mod solution02; 3 | pub mod solution03; 4 | -------------------------------------------------------------------------------- /miscellanea/find_next_highest_power_of_2/next_highest_powe_of_2/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /miscellanea/signal_slot/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | project(hello_world) 4 | 5 | add_executable(${PROJECT_NAME} main.cpp) 6 | -------------------------------------------------------------------------------- /miscellanea/signal_slot/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | -------------------------------------------------------------------------------- /nowcoder/HJ/.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ1/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ1/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ10/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ10/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ106/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ106/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ107/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ107/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ108/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ108/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ11/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ11/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ12/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ12/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ13/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ13/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ14/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ14/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution < input.txt 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ14/input.txt: -------------------------------------------------------------------------------- 1 | 9 2 | cap 3 | to 4 | cat 5 | card 6 | two 7 | too 8 | up 9 | boat 10 | boot 11 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ15/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ15/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ16/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ16/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ17/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ17/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution < input.txt 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ17/input.txt: -------------------------------------------------------------------------------- 1 | A10;S20;W10;D30;X;A1A;B10A11;;A10; 2 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ2/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ21/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ21/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ22/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ22/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ23/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ23/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ3/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ3/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution < input.txt 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ3/input.txt: -------------------------------------------------------------------------------- 1 | 3 2 | 2 3 | 2 4 | 1 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ31/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ31/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ4/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ4/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ40/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ40/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ46/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ46/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ48/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ48/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution < input.txt 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ48/input.txt: -------------------------------------------------------------------------------- 1 | 5 2 3 2 4 3 5 2 1 4 3 2 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ5/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ5/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ53/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ53/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ53_02/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ53_02/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ6/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ6/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ7/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ7/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ7/solution.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() { 4 | float f; 5 | std::cin >> f; 6 | std::cout << static_cast(f + 0.5) << std::endl; 7 | return 0; 8 | } 9 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ7_02/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ7_02/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ7_02/solution.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() { 5 | float f; 6 | std::cin >> f; 7 | std::cout << static_cast(std::round(f)) << std::endl; 8 | return 0; 9 | } 10 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ8/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ8/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution < input.txt 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ8/input.txt: -------------------------------------------------------------------------------- 1 | 4 2 | 0 1 3 | 0 2 4 | 1 2 5 | 3 4 6 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ8_02/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ8_02/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution < input.txt 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ8_02/input.txt: -------------------------------------------------------------------------------- 1 | 4 2 | 0 1 3 | 0 2 4 | 1 2 5 | 3 4 6 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ9/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ9/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ_template/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.13.1) 2 | 3 | PROJECT(solution) 4 | ADD_EXECUTABLE(solution solution.cpp) 5 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ_template/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -S 指定源码目录 4 | # -B 指定编译目录 5 | cmake \ 6 | -S . \ 7 | -B build 8 | 9 | # 使用 make 进行编译 10 | cmake --build build 11 | 12 | # 运行 13 | ./build/solution 14 | -------------------------------------------------------------------------------- /nowcoder/HJ/HJ_template/solution.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() { 4 | return 0; 5 | } 6 | -------------------------------------------------------------------------------- /nowcoder/HJ_python/README.md: -------------------------------------------------------------------------------- 1 | # HJ 2 | 3 | 4 | -------------------------------------------------------------------------------- /nowcoder/HJ_python/hj01.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import sys 4 | 5 | for str1 in sys.stdin: 6 | str2 = str1.split()[-1] 7 | str2_len = len(str2) 8 | print(str2_len) 9 | -------------------------------------------------------------------------------- /nowcoder/HJ_python/hj02.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | str1 = input() 4 | str2 = input() 5 | str1_lower = str1.lower() 6 | str2_lower = str2.lower() 7 | str2_times = str1_lower.count(str2_lower) 8 | print(str2_times) 9 | -------------------------------------------------------------------------------- /python-leetcode/1317.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def getNoZeroIntegers(self, n: int) -> List[int]: 3 | for A in range(10**4): 4 | B = n - A 5 | if '0' not in str(A) + str(B): 6 | return [A, B] 7 | return [] 8 | -------------------------------------------------------------------------------- /python-leetcode/151.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def reverseWords(self, s: str) -> str: 3 | return ' '.join(list(reversed(s.strip().split()))) 4 | 5 | s = Solution() 6 | result = s.reverseWords("the sky is blue") 7 | print(result) 8 | -------------------------------------------------------------------------------- /python-leetcode/169.01.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def majorityElement(self, nums: List[int]) -> int: 3 | return sorted(nums)[len(nums)//2] 4 | -------------------------------------------------------------------------------- /python-leetcode/190.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def reverseBits(self, n: int) -> int: 3 | result = 0 4 | for i in range(32): 5 | result = result | (((n >> (31 - i)) & 1) << i) 6 | return result 7 | -------------------------------------------------------------------------------- /python-leetcode/191.01.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def hammingWeight(self, n: int) -> int: 3 | count = 0 4 | while n != 0: 5 | count += n & 1 6 | n = n >> 1 7 | return count 8 | 9 | -------------------------------------------------------------------------------- /python-leetcode/191.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def hammingWeight(self, n: int) -> int: 3 | count = 0 4 | while n > 0: 5 | n = n & (n - 1) 6 | count += 1 7 | return count 8 | 9 | -------------------------------------------------------------------------------- /python-leetcode/198.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def rob(self, nums: List[int]) -> int: 3 | f1, f2 = 0, 0 4 | for num in nums: 5 | f1, f2 = f2, max(f1 + num, f2) 6 | return f2 7 | 8 | -------------------------------------------------------------------------------- /python-leetcode/231.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def isPowerOfTwo(self, n: int) -> bool: 3 | if n <= 0: return False 4 | return n & (n - 1) == 0 5 | -------------------------------------------------------------------------------- /python-leetcode/242.01.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def isAnagram(self, s: str, t: str) -> bool: 3 | return collections.Counter(s) == collections.Counter(t) 4 | 5 | -------------------------------------------------------------------------------- /python-leetcode/338.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def countBits(self, num: int) -> List[int]: 3 | result = [0] * (num + 1) 4 | for i in range(1, num + 1): 5 | result[i] = result[i & (i - 1)] + 1 6 | return result 7 | 8 | -------------------------------------------------------------------------------- /python-leetcode/344.01.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def reverseString(self, s: List[str]) -> None: 3 | """ 4 | Do not return anything, modify s in-place instead. 5 | """ 6 | s.reverse() 7 | -------------------------------------------------------------------------------- /python-leetcode/349.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def intersection(self, nums1: List[int], nums2: List[int]) -> List[int]: 3 | s1 = set(nums1) 4 | s2 = set(nums2) 5 | return s1.intersection(s2) 6 | -------------------------------------------------------------------------------- /python-leetcode/434.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def countSegments(self, s: str) -> int: 3 | return len(s.split()) 4 | -------------------------------------------------------------------------------- /python-leetcode/541.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def reverseStr(self, s: str, k: int) -> str: 3 | a = list(s) 4 | for i in range(0, len(a), 2 * k): 5 | a[i:i+k] = reversed(a[i:i+k]) 6 | return ''.join(a) 7 | -------------------------------------------------------------------------------- /python-leetcode/58.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def lengthOfLastWord(self, s: str) -> int: 3 | strs = s.split() 4 | return len(strs[-1]) if strs else 0 5 | 6 | -------------------------------------------------------------------------------- /python-leetcode/69.01.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | # 牛顿迭代法 3 | def mySqrt(self, x: int) -> int: 4 | if x <= 1: return x 5 | r = x 6 | while r * r > x: 7 | r = (r + x // r) // 2 8 | return int(r) 9 | -------------------------------------------------------------------------------- /python-leetcode/70.02.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def climbStairs(self, n: int) -> int: 3 | if n < 3: return n 4 | return self.climbStairs(n - 1) + self.climbStairs(n - 2) 5 | -------------------------------------------------------------------------------- /python-leetcode/709.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def toLowerCase(self, str: str) -> str: 3 | return str.lower() 4 | 5 | -------------------------------------------------------------------------------- /python-leetcode/771.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def numJewelsInStones(self, J: str, S: str) -> int: 3 | Jset = set(J) 4 | return sum(c in Jset for c in S) 5 | 6 | -------------------------------------------------------------------------------- /python-leetcode/796.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def rotateString(self, A: str, B: str) -> bool: 3 | return len(A) == len(B) and B in A + A 4 | -------------------------------------------------------------------------------- /python-leetcode/908.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def smallestRangeI(self, A: List[int], K: int) -> int: 3 | return max(0, max(A) - min(A) - 2*K) 4 | -------------------------------------------------------------------------------- /python-leetcode/912.01.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def sortArray(self, nums: List[int]) -> List[int]: 3 | return sorted(nums) 4 | -------------------------------------------------------------------------------- /python-leetcode/912.04.py: -------------------------------------------------------------------------------- 1 | import heapq 2 | class Solution: 3 | def sortArray(self, nums: List[int]) -> List[int]: 4 | heapq.heapify(nums) 5 | return [heapq.heappop(nums) for _ in range(len(nums))] 6 | -------------------------------------------------------------------------------- /python-leetcode/912.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def sortArray(self, nums: List[int]) -> List[int]: 3 | nums.sort() 4 | return nums 5 | -------------------------------------------------------------------------------- /python-leetcode/it_01.06.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def compressString(self, S: str) -> str: 3 | news = ''.join(key + str(len(list(group))) for key, group in itertools.groupby(S)) 4 | return len(news) < len(S) and news or S 5 | 6 | -------------------------------------------------------------------------------- /python-leetcode/it_01.09.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def isFlipedString(self, s1: str, s2: str) -> bool: 3 | return len(s1) == len(s2) and s1 in s2 * 2 4 | 5 | -------------------------------------------------------------------------------- /python-leetcode/it_16.07.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def maximum(self, a: int, b: int) -> int: 3 | return int((a + b) / 2 + abs((a - b)) / 2) 4 | -------------------------------------------------------------------------------- /python-leetcode/it_17.04.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def missingNumber(self, nums: List[int]) -> int: 3 | n = len(nums) 4 | return int(n * (n - 1) / 2 - sum(nums)) 5 | -------------------------------------------------------------------------------- /python-leetcode/sw_05.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def replaceSpace(self, s: str) -> str: 3 | return s.replace(' ', '%20') 4 | -------------------------------------------------------------------------------- /python-leetcode/sw_10_1.01.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def fib(self, n: int) -> int: 3 | if n < 2: return n 4 | f1, f2 = 0, 1 5 | for i in range(1, n): 6 | f1, f2 = f2, (f1 + f2) % 1000000007 7 | return f2 8 | -------------------------------------------------------------------------------- /python-leetcode/sw_10_1.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def fib(self, n: int) -> int: 3 | if n < 2: return n 4 | f1, f2 = 0, 1 5 | for i in range(1, n): 6 | f1, f2 = f2, f1 + f2 7 | return f2 % 1000000007 8 | -------------------------------------------------------------------------------- /python-leetcode/sw_15.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def hammingWeight(self, n: int) -> int: 3 | count = 0 4 | while n > 0: 5 | count += 1 6 | n = n & (n - 1) 7 | return count 8 | -------------------------------------------------------------------------------- /python-leetcode/sw_17.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def printNumbers(self, n: int) -> List[int]: 3 | return [i for i in range(1, 10**n)] 4 | -------------------------------------------------------------------------------- /python-leetcode/sw_39.01.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def majorityElement(self, nums: List[int]) -> int: 3 | return sorted(nums)[len(nums)//2] 4 | -------------------------------------------------------------------------------- /python-leetcode/sw_40.01.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def getLeastNumbers(self, arr: List[int], k: int) -> List[int]: 3 | return sorted(arr)[:k] 4 | -------------------------------------------------------------------------------- /python-leetcode/sw_40.py: -------------------------------------------------------------------------------- 1 | import heapq 2 | class Solution: 3 | def getLeastNumbers(self, arr: List[int], k: int) -> List[int]: 4 | heapq.heapify(arr) 5 | return [heapq.heappop(arr) for _ in range(k)] 6 | 7 | -------------------------------------------------------------------------------- /python-leetcode/sw_53_1.01.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def search(self, nums: List[int], target: int) -> int: 3 | counter = collections.Counter(nums) 4 | return counter[target] 5 | -------------------------------------------------------------------------------- /python-leetcode/sw_53_2.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | # 等差数列求和公式 3 | def missingNumber(self, nums: List[int]) -> int: 4 | n = len(nums) + 1 5 | s = n * (n - 1) / 2 6 | return int(s - sum(nums)) 7 | -------------------------------------------------------------------------------- /python-leetcode/sw_58_1.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def reverseWords(self, s: str) -> str: 3 | return ' '.join(list(reversed(s.strip().split()))) 4 | -------------------------------------------------------------------------------- /python-leetcode/sw_58_2.01.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def reverseLeftWords(self, s: str, n: int) -> str: 3 | return s[n:] + s[:n] 4 | -------------------------------------------------------------------------------- /python-leetcode/sw_65.py: -------------------------------------------------------------------------------- 1 | class Solution: 2 | def add(self, a: int, b: int) -> int: 3 | pass 4 | -------------------------------------------------------------------------------- /record/record_dp.md: -------------------------------------------------------------------------------- 1 | # 动态规划 2 | 3 | ``` 4 | 121. 买卖股票的最佳时机 5 | 122. 买卖股票的最佳时机 II 6 | 322. 零钱兑换 7 | ``` 8 | 9 | ## 2019-12-01 10 | 11 | ``` 12 | 120. 三角形最小路径和 13 | ``` 14 | 15 | -------------------------------------------------------------------------------- /record/record_permutation_and_combination.md: -------------------------------------------------------------------------------- 1 | # 排列组合 2 | 3 | ### 2019-11-26 4 | 5 | ``` 6 | 22. 括号生成 7 | ``` 8 | 9 | ## 2019-12-01 10 | 11 | ``` 12 | 17. 电话号码的字母组合 13 | ``` 14 | -------------------------------------------------------------------------------- /record/record_recursion.md: -------------------------------------------------------------------------------- 1 | # 递归 2 | 3 | ## 2019-12-01 4 | 5 | ``` 6 | 50. Pow(x, n) 7 | ``` 8 | 9 | -------------------------------------------------------------------------------- /record/record_trie.md: -------------------------------------------------------------------------------- 1 | # 字典树 2 | 3 | ## 2019-12-02 4 | 5 | ``` 6 | 79. 单词搜索 7 | 212. 单词搜索 II 8 | ``` 9 | -------------------------------------------------------------------------------- /record/艾宾浩斯曲线.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/record/艾宾浩斯曲线.xlsx -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | pub mod solution3; 4 | pub mod solution4; 5 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1002/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_101/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_101/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1015/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1015/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_102/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_102/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1026/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1026/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1036/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_104/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_104/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1041/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | pub mod solution3; 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1041/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1043/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_105/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_105/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1054/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1054/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_11/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1105/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1105/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1124/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1137/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1137/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1187/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1187/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1187/src/solution1.rs: -------------------------------------------------------------------------------- 1 | impl Solution { 2 | pub fn make_array_increasing(arr1: Vec, arr2: Vec) -> i32 { 3 | 4 | } 5 | } 6 | 7 | pub struct Solution; 8 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_120/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_120/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_120/triangle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/rust-leetcode/leetcode_120/triangle.png -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1201/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1201/src/main.rs: -------------------------------------------------------------------------------- 1 | use leetcode_1201::solution1::Solution; 2 | 3 | fn main() { 4 | let result = Solution::nth_ugly_number(4, 2, 3, 4); 5 | println!("{result}"); 6 | } 7 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_122/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_122/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_123/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_123/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_126/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_126/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_127/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_127/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1299/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_130/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_130/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1304/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1304/src/main.rs: -------------------------------------------------------------------------------- 1 | use leetcode_1304::solution1::Solution; 2 | 3 | fn main() { 4 | let result = Solution::sum_zero(5); 5 | println!("result = {:?}", result); 6 | } 7 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1309/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1313/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1331/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1332/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1332/src/main.rs: -------------------------------------------------------------------------------- 1 | use leetcode_1332::solution1::Solution; 2 | 3 | fn main() { 4 | let result = Solution::remove_palindrome_sub("ababa".to_string()); 5 | println!("result = {}", result); 6 | } 7 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1419/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1419/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_152/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_152/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1576/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1576/src/main.rs: -------------------------------------------------------------------------------- 1 | use leetcode_1576::solution1::Solution; 2 | 3 | fn main() { 4 | let result = Solution::modify_string("?zs".to_string()); 5 | println!("result = {}", result); 6 | } 7 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_169/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | pub mod solution3; 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_169/src/main.rs: -------------------------------------------------------------------------------- 1 | use leetcode_169::solution1::Solution; 2 | 3 | fn main() { 4 | let nums = vec![3, 2, 3]; 5 | let result = Solution::majority_element(nums); 6 | println!("result = {}", result); 7 | } 8 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_17/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1827/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1832/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1832/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_188/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_188/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_191/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_191/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_191/src/solution2.rs: -------------------------------------------------------------------------------- 1 | impl Solution { 2 | pub fn hammingWeight(mut n: u32) -> i32 { 3 | n.count_ones() as i32 4 | } 5 | } 6 | 7 | pub struct Solution; 8 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1945/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_1945/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_198/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | pub mod solution3; 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_198/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_20/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_20/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_200/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_205/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_208/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_208/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_21/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_21/src/main.rs: -------------------------------------------------------------------------------- 1 | use leetcode_21::solution1::Solution; 2 | 3 | fn main() { 4 | println!("Hello, world!"); 5 | } 6 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_212/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_212/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_213/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_213/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_217/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_221/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_221/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2248/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2248/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_226/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_226/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2264/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2264/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2269/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2269/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2278/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2278/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2283/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2283/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2293/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2293/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2303/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2309/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2309/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2315/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2315/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2319/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2319/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2325/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2331/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2331/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2335/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2335/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2341/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2341/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2351/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2351/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2357/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2357/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_236/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_236/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2373/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2383/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2383/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_239/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2395/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2395/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2399/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2409/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2409/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2418/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2418/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_242/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_242/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2427/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2427/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2437/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2437/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2455/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2455/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2460/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2460/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2475/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2475/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2485/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2485/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2490/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2490/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2496/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2496/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2500/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2500/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2506/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2506/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2520/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2520/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2544/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2544/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2566/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2566/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2570/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2570/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2574/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2574/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2586/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2586/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2595/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2595/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2605/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_2605/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_263/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_263/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_264/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_264/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_279/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_279/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_294/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_297/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_297/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() {} 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_3/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_3/src/main.rs: -------------------------------------------------------------------------------- 1 | use leetcode_3::solution1::Solution; 2 | 3 | fn main() { 4 | let result = Solution::length_of_longest_substring("abcabcbb".to_string()); 5 | println!("result = {}", result); 6 | } 7 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_300/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_300/src/main.rs: -------------------------------------------------------------------------------- 1 | use leetcode_300::solution2::Solution; 2 | fn main() { 3 | let result = Solution::length_of_lis(vec![10, 9, 2, 5, 3, 7, 101, 18]); 4 | println!("{}", result); 5 | } 6 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_309/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_309/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_32/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_32/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_322/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | pub mod solution3; 4 | pub mod solution4; 5 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_33/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_36/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_36/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_367/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_367/src/main.rs: -------------------------------------------------------------------------------- 1 | use leetcode_367::solution1::Solution; 2 | 3 | fn main() { 4 | let result = Solution::is_perfect_square(808201); 5 | println!("result = {}", result); 6 | } 7 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_37/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_37/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_399/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_41/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_41/src/main.rs: -------------------------------------------------------------------------------- 1 | use leetcode_41::solution1::Solution; 2 | 3 | fn main() { 4 | let nums = vec![1, 1]; 5 | let result = Solution::first_missing_positive(nums); 6 | println!("result = {}", result); 7 | } 8 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_433/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_433/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_45/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_45/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_453/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_453/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_455/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_455/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_46/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_46/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_47/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_47/src/main.rs: -------------------------------------------------------------------------------- 1 | use leetcode_47::solution2::Solution; 2 | 3 | fn main() { 4 | let nums = vec![1, 1, 2]; 5 | let result = Solution::permute_unique(nums); 6 | println!("result = {:?}", result); 7 | } 8 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_493/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_50/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | pub mod solution3; 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_50/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_50/src/solution3.rs: -------------------------------------------------------------------------------- 1 | impl Solution { 2 | pub fn my_pow(x: f64, n: i32) -> f64 { 3 | x.powi(n) 4 | } 5 | } 6 | 7 | pub struct Solution; 8 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_509/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | pub mod solution3; 4 | pub mod solution4; 5 | pub mod solution5; 6 | pub mod solution6; 7 | pub mod solution7; 8 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_509/src/main.rs: -------------------------------------------------------------------------------- 1 | use leetcode_509::solution5::Solution; 2 | 3 | fn main() { 4 | for n in 0..=30 { 5 | let result = Solution::fib(n); 6 | print!("{}, ", result); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_515/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_515/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_518/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_518/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_529/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_529/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_53/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | pub mod solution3; 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_53/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_547/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_547/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_55/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | pub mod solution3; 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_55/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_56/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_56/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_57/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_57/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_59/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_59/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_590/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_590/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_590/src/solution1.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/rust-leetcode/leetcode_590/src/solution1.rs -------------------------------------------------------------------------------- /rust-leetcode/leetcode_605/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_61/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_62/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_62/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_63/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_63/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_64/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_64/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_641/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_641/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_66/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_66/src/main.rs: -------------------------------------------------------------------------------- 1 | use leetcode_66::solution1::Solution; 2 | 3 | fn main() { 4 | let digits = vec![1,2,3]; 5 | let result = Solution::plus_one(digits); 6 | println!("result = {:?}", result); 7 | } 8 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_69/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | pub mod solution3; 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_69/src/main.rs: -------------------------------------------------------------------------------- 1 | use leetcode_69::solution1::Solution; 2 | 3 | fn main() { 4 | let result = Solution::my_sqrt(5); 5 | println!("result = {}", result); 6 | } 7 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_69/src/solution3.rs: -------------------------------------------------------------------------------- 1 | impl Solution { 2 | pub fn my_sqrt(x: i32) -> i32 { 3 | 0 4 | } 5 | } 6 | 7 | pub struct Solution; 8 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_7/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_7/src/main.rs: -------------------------------------------------------------------------------- 1 | use leetcode_7::solution1::Solution; 2 | 3 | fn main() { 4 | let result = Solution::reverse(123); 5 | println!("result = {}", result); 6 | } 7 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_70/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | pub mod solution3; 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_704/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_704/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_71/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_71/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_714/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | pub mod solution3; 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_714/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_73/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_73/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_739/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_739/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_75/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_75/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_77/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_77/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_78/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_78/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_781/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_781/src/main.rs: -------------------------------------------------------------------------------- 1 | use leetcode_781::solution1::Solution; 2 | 3 | fn main() { 4 | let answers = vec![1, 1, 2]; 5 | let result = Solution::num_rabbits(answers); 6 | println!("result = {}", result); 7 | } 8 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_788/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_788/src/main.rs: -------------------------------------------------------------------------------- 1 | use leetcode_788::solution1::Solution; 2 | 3 | fn main() { 4 | let result = Solution::rotated_digits(10); 5 | println!("result = {}", result); 6 | } 7 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_80/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_80/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_804/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_806/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_81/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_81/src/main.rs: -------------------------------------------------------------------------------- 1 | use leetcode_81::solution1::Solution; 2 | 3 | fn main() { 4 | let result = Solution::search(vec![5, 1, 3], 3); 5 | println!("result: {}", result); 6 | } 7 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_811/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_82/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_830/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_830/src/main.rs: -------------------------------------------------------------------------------- 1 | use leetcode_830::solution1::Solution; 2 | 3 | fn main() { 4 | let result = Solution::large_group_positions("abbxxxxzzy".to_string()); 5 | println!("result = {:?}", result); 6 | } 7 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_84/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_84/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_86/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_860/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_860/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_874/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_874/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_88/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_89/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | pub mod solution2; 3 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_89/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_9/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_9/src/main.rs: -------------------------------------------------------------------------------- 1 | use leetcode_9::solution1::Solution; 2 | 3 | fn main() { 4 | let result = Solution::is_palindrome(121); 5 | println!("result = {}", result); 6 | } 7 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_90/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_90/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_91/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_91/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_93/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_94/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_94/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_98/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_98/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_980/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_980/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_msjd_0301/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod solution1; 2 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_msjd_0301/src/main.rs: -------------------------------------------------------------------------------- 1 | use leetcode_msjd_0301::solution1; 2 | 3 | fn main() { 4 | println!("Hello, world!"); 5 | } 6 | -------------------------------------------------------------------------------- /rust-leetcode/leetcode_sw_07/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub use s3::*; 2 | 3 | mod s1; 4 | pub mod s2; 5 | pub mod s3; 6 | -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/09_QueueWithTwoStacks/Queue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/09_QueueWithTwoStacks/Queue.h -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/10_Fibonacci/Fibonacci.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/10_Fibonacci/Fibonacci.cpp -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/13_RobotMove/RobotMove.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/13_RobotMove/RobotMove.cpp -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/14_CuttingRope/CuttingRope.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/14_CuttingRope/CuttingRope.cpp -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/16_Power/Power.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/16_Power/Power.cpp -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/21_ReorderArray/ReorderArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/21_ReorderArray/ReorderArray.cpp -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/24_ReverseList/ReverseList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/24_ReverseList/ReverseList.cpp -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/29_PrintMatrix/PrintMatrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/29_PrintMatrix/PrintMatrix.cpp -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/30_MinInStack/MinInStack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/30_MinInStack/MinInStack.cpp -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/30_MinInStack/StackWithMin.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/30_MinInStack/StackWithMin.h -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/33_SquenceOfBST/SquenceOfBST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/33_SquenceOfBST/SquenceOfBST.cpp -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/34_PathInTree/PathInTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/34_PathInTree/PathInTree.cpp -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/35_CopyComplexList/ComplexList.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/35_CopyComplexList/ComplexList.h -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/37_SerializeBinaryTrees/test.txt: -------------------------------------------------------------------------------- 1 | 5,$,5,$,5,5,5,5,5,$,$,$,5,$,5,$,$,$,$, -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/41_StreamMedian/StreamMedian.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/41_StreamMedian/StreamMedian.cpp -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/43_NumberOf1/NumberOf1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/43_NumberOf1/NumberOf1.cpp -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/49_UglyNumber/UglyNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/49_UglyNumber/UglyNumber.cpp -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/51_InversePairs/InversePairs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/51_InversePairs/InversePairs.cpp -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/53_01_NumberOfK/NumberOfK.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/53_01_NumberOfK/NumberOfK.cpp -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/54_KthNodeInBST/KthNodeInBST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/54_KthNodeInBST/KthNodeInBST.cpp -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/55_01_TreeDepth/TreeDepth.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/55_01_TreeDepth/TreeDepth.cpp -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/64_Accumulate/Accumulate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/64_Accumulate/Accumulate.cpp -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/67_StringToInt/StringToInt.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/67_StringToInt/StringToInt.cpp -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/Utilities/Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/Utilities/Array.cpp -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/Utilities/Array.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/Utilities/Array.h -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/Utilities/BinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/Utilities/BinaryTree.cpp -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/Utilities/BinaryTree.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/Utilities/BinaryTree.h -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/Utilities/List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/Utilities/List.cpp -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/Utilities/List.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/Utilities/List.h -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/Utilities/StringUtil.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/Utilities/StringUtil.cpp -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/Utilities/StringUtil.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/Utilities/StringUtil.h -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/Utilities/Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/Utilities/Tree.cpp -------------------------------------------------------------------------------- /sword_to_offer/CodingInterviewChinese2/Utilities/Tree.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/CodingInterviewChinese2/Utilities/Tree.h -------------------------------------------------------------------------------- /sword_to_offer/README.md: -------------------------------------------------------------------------------- 1 | # 剑指 offer 2 | -------------------------------------------------------------------------------- /sword_to_offer/cpp/Accumulate/Accumulate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/Accumulate/Accumulate.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/AddTwoNumbers/AddTwoNumbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/AddTwoNumbers/AddTwoNumbers.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/AssignmentOperator/AssignmentOperator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/AssignmentOperator/AssignmentOperator.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/BalancedBinaryTree/BalancedBinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/BalancedBinaryTree/BalancedBinaryTree.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/CommonParentInTree/CommonParentInTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/CommonParentInTree/CommonParentInTree.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/ConstructBinaryTree/ConstructBinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/ConstructBinaryTree/ConstructBinaryTree.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/ContinousCards/ContinousCards.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/ContinousCards/ContinousCards.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/ContinuesSquenceWithSum/ContinuesSquenceWithSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/ContinuesSquenceWithSum/ContinuesSquenceWithSum.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/ConvertBinarySearchTree/ConvertBinarySearchTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/ConvertBinarySearchTree/ConvertBinarySearchTree.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/CopyComplextList/ComplexList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/CopyComplextList/ComplexList.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/CopyComplextList/ComplexList.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/CopyComplextList/ComplexList.h -------------------------------------------------------------------------------- /sword_to_offer/cpp/CopyComplextList/CopyComplextList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/CopyComplextList/CopyComplextList.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/DeleteNodeInList/DeleteNodeInList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/DeleteNodeInList/DeleteNodeInList.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/DicesProbability/DicesProbability.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/DicesProbability/DicesProbability.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/Fibonacci/Fibonacci.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/Fibonacci/Fibonacci.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/FirstCommonNodesInLists/FirstCommonNodesInLists.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/FirstCommonNodesInLists/FirstCommonNodesInLists.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/FirstNotRepeatingChar/FirstNotRepeatingChar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/FirstNotRepeatingChar/FirstNotRepeatingChar.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/GreatestSumOfSubarrays/GreatestSumOfSubarrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/GreatestSumOfSubarrays/GreatestSumOfSubarrays.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/InterviewQuestions.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/InterviewQuestions.suo -------------------------------------------------------------------------------- /sword_to_offer/cpp/InversePairs/InversePairs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/InversePairs/InversePairs.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/KLeastNumbers/KLeastNumbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/KLeastNumbers/KLeastNumbers.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/KthNodeFromEnd/KthNodeFromEnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/KthNodeFromEnd/KthNodeFromEnd.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/LastNumberInCircle/LastNumberInCircle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/LastNumberInCircle/LastNumberInCircle.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/LeftRotateString/LeftRotateString.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/LeftRotateString/LeftRotateString.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/MergeSortedLists/MergeSortedLists.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/MergeSortedLists/MergeSortedLists.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/MinInStack/MinInStack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/MinInStack/MinInStack.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/MinInStack/StackWithMin.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/MinInStack/StackWithMin.h -------------------------------------------------------------------------------- /sword_to_offer/cpp/MinNumberInRotatedArray/MinNumberInRotatedArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/MinNumberInRotatedArray/MinNumberInRotatedArray.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/MirrorOfBinaryTree/MirrorOfBinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/MirrorOfBinaryTree/MirrorOfBinaryTree.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/MoreThanHalfNumber/MoreThanHalfNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/MoreThanHalfNumber/MoreThanHalfNumber.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/NumberOf1/NumberOf1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/NumberOf1/NumberOf1.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/NumberOf1InBinary/NumberOf1InBinary.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/NumberOf1InBinary/NumberOf1InBinary.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/NumberOfK/NumberOfK.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/NumberOfK/NumberOfK.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/NumbersAppearOnce/NumbersAppearOnce.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/NumbersAppearOnce/NumbersAppearOnce.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/PathInTree/PathInTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/PathInTree/PathInTree.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/Power/Power.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/Power/Power.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/Print1ToMaxOfNDigits/Print1ToMaxOfNDigits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/Print1ToMaxOfNDigits/Print1ToMaxOfNDigits.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/PrintListInReversedOrder/PrintListInReversedOrder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/PrintListInReversedOrder/PrintListInReversedOrder.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/PrintMatrix/ClassDiagram1.cd: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sword_to_offer/cpp/PrintMatrix/PrintMatrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/PrintMatrix/PrintMatrix.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/PrintTreeFromTopToBottom/PrintTreeFromTopToBottom.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/PrintTreeFromTopToBottom/PrintTreeFromTopToBottom.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/QueueWithTwoStacks/Queue.cpp: -------------------------------------------------------------------------------- 1 | #include "StdAfx.h" 2 | #include "Queue.h" 3 | #include 4 | 5 | 6 | -------------------------------------------------------------------------------- /sword_to_offer/cpp/QueueWithTwoStacks/Queue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/QueueWithTwoStacks/Queue.h -------------------------------------------------------------------------------- /sword_to_offer/cpp/QueueWithTwoStacks/QueueWithTwoStacks.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/QueueWithTwoStacks/QueueWithTwoStacks.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/ReorderArray/ReorderArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/ReorderArray/ReorderArray.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/ReplaceBlank/Debug/ReplaceBlank.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/ReplaceBlank/Debug/ReplaceBlank.exe -------------------------------------------------------------------------------- /sword_to_offer/cpp/ReplaceBlank/Debug/ReplaceBlank.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/ReplaceBlank/Debug/ReplaceBlank.ilk -------------------------------------------------------------------------------- /sword_to_offer/cpp/ReplaceBlank/Debug/ReplaceBlank.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/ReplaceBlank/Debug/ReplaceBlank.obj -------------------------------------------------------------------------------- /sword_to_offer/cpp/ReplaceBlank/Debug/ReplaceBlank.pch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/ReplaceBlank/Debug/ReplaceBlank.pch -------------------------------------------------------------------------------- /sword_to_offer/cpp/ReplaceBlank/Debug/ReplaceBlank.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/ReplaceBlank/Debug/ReplaceBlank.pdb -------------------------------------------------------------------------------- /sword_to_offer/cpp/ReplaceBlank/Debug/vc60.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/ReplaceBlank/Debug/vc60.idb -------------------------------------------------------------------------------- /sword_to_offer/cpp/ReplaceBlank/Debug/vc60.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/ReplaceBlank/Debug/vc60.pdb -------------------------------------------------------------------------------- /sword_to_offer/cpp/ReplaceBlank/ReplaceBlank.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/ReplaceBlank/ReplaceBlank.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/ReplaceBlank/ReplaceBlank.ncb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/ReplaceBlank/ReplaceBlank.ncb -------------------------------------------------------------------------------- /sword_to_offer/cpp/ReplaceBlank/ReplaceBlank.opt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/ReplaceBlank/ReplaceBlank.opt -------------------------------------------------------------------------------- /sword_to_offer/cpp/ReverseList/ReverseList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/ReverseList/ReverseList.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/ReverseWordsInSentence/ReverseWordsInSentence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/ReverseWordsInSentence/ReverseWordsInSentence.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/SealedClass/SealedClass.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/SealedClass/SealedClass.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/SortArrayForMinNumber/SortArrayForMinNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/SortArrayForMinNumber/SortArrayForMinNumber.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/SquenceOfBST/SquenceOfBST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/SquenceOfBST/SquenceOfBST.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/StackPushPopOrder/StackPushPopOrder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/StackPushPopOrder/StackPushPopOrder.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/StringPermutation/StringPermutation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/StringPermutation/StringPermutation.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/StringToInt/StringToInt.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/StringToInt/StringToInt.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/SubstructureInTree/SubstructureInTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/SubstructureInTree/SubstructureInTree.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/TreeDepth/TreeDepth.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/TreeDepth/TreeDepth.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/TwoNumbersWithSum/TwoNumbersWithSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/TwoNumbersWithSum/TwoNumbersWithSum.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/UglyNumber/UglyNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/UglyNumber/UglyNumber.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/Utilities/Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/Utilities/Array.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/Utilities/Array.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/Utilities/Array.h -------------------------------------------------------------------------------- /sword_to_offer/cpp/Utilities/BinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/Utilities/BinaryTree.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/Utilities/BinaryTree.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/Utilities/BinaryTree.h -------------------------------------------------------------------------------- /sword_to_offer/cpp/Utilities/List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/Utilities/List.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/Utilities/List.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/Utilities/List.h -------------------------------------------------------------------------------- /sword_to_offer/cpp/Utilities/StringUtil.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/Utilities/StringUtil.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/Utilities/StringUtil.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/Utilities/StringUtil.h -------------------------------------------------------------------------------- /sword_to_offer/cpp/Utilities/Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/Utilities/Tree.cpp -------------------------------------------------------------------------------- /sword_to_offer/cpp/Utilities/Tree.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MDGSF/JustCoding/7bfb522efd365f86debed6868f3d4b6021440749/sword_to_offer/cpp/Utilities/Tree.h -------------------------------------------------------------------------------- /sword_to_offer/rust/q04_replace_blank/Cargo.lock: -------------------------------------------------------------------------------- 1 | # This file is automatically @generated by Cargo. 2 | # It is not intended for manual editing. 3 | [[package]] 4 | name = "q04_replace_blank" 5 | version = "0.1.0" 6 | 7 | -------------------------------------------------------------------------------- /tools/backup_git/.gitignore: -------------------------------------------------------------------------------- 1 | gits.txt 2 | -------------------------------------------------------------------------------- /tools/random_select/random_select.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | import random 3 | a = ["黄剑", "aa", "bb", "cc", "dd"] 4 | random.shuffle(a) 5 | print(a[0]) 6 | -------------------------------------------------------------------------------- /vjudge/NBUT/1529/input: -------------------------------------------------------------------------------- 1 | 5 3 2 | 4 5 6 3 | -------------------------------------------------------------------------------- /vjudge/README.md: -------------------------------------------------------------------------------- 1 | # vjudge 2 | 3 | https://vjudge.net/ 4 | 5 | --------------------------------------------------------------------------------