leetcode-test

介绍

leetcode 测试

软件架构

软件架构说明

包含的内容如下

https://leetcode-cn.com/problems/reverse-linked-list/

https://leetcode-cn.com/problems/html-entity-parser/

https://leetcode-cn.com/problems/two-sum/

https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof/

https://leetcode-cn.com/problems/climbing-stairs/

https://leetcode-cn.com/problems/fibonacci-number/

https://leetcode-cn.com/problems/merge-sorted-array/

https://leetcode-cn.com/problems/powx-n/

https://leetcode-cn.com/problems/que-shi-de-shu-zi-lcof/

https://leetcode-cn.com/problems/find-all-numbers-disappeared-in-an-array

https://leetcode-cn.com/problems/move-zeroes/

https://leetcode-cn.com/problems/unique-morse-code-words/

https://leetcode-cn.com/problems/shu-zhi-de-zheng-shu-ci-fang-lcof/

https://leetcode-cn.com/problems/sqrtx/

https://leetcode-cn.com/problems/jJ0w9p/

https://leetcode-cn.com/problems/reverse-linked-list-ii/

https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof/

https://leetcode-cn.com/problems/kth-node-from-end-of-list-lcci/

https://leetcode-cn.com/problems/merge-two-sorted-lists/

https://leetcode-cn.com/problems/he-bing-liang-ge-pai-xu-de-lian-biao-lcof/

https://leetcode-cn.com/problems/vvXgSW/

https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array/

https://leetcode-cn.com/problems/merge-k-sorted-lists/

https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array-ii/

https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii/

https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list/

https://leetcode-cn.com/problems/linked-list-cycle/

https://leetcode-cn.com/problems/linked-list-cycle-ii/

https://leetcode-cn.com/problems/richest-customer-wealth/

https://leetcode-cn.com/problems/palindrome-linked-list/

https://leetcode-cn.com/problems/fan-zhuan-lian-biao-lcof

https://leetcode-cn.com/problems/UHnkqh/

https://leetcode-cn.com/problems/intersection-of-two-linked-lists-lcci/

https://leetcode-cn.com/problems/intersection-of-two-linked-lists/

https://leetcode-cn.com/problems/merge-in-between-linked-lists/

https://leetcode-cn.com/problems/middle-of-the-linked-list/

https://leetcode-cn.com/problems/super-pow/

https://leetcode-cn.com/problems/implement-queue-using-stacks

https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof/

https://leetcode-cn.com/problems/decode-string/

https://leetcode-cn.com/problems/binary-tree-inorder-traversal/

https://leetcode-cn.com/problems/binary-tree-preorder-traversal/

https://leetcode-cn.com/problems/binary-tree-postorder-traversal/

https://leetcode-cn.com/problems/balanced-binary-tree

https://leetcode-cn.com/problems/invert-binary-tree/

https://leetcode-cn.com/problems/maximum-depth-of-binary-tree

https://leetcode-cn.com/problems/symmetric-tree/

https://leetcode-cn.com/problems/mini-parser/

https://leetcode-cn.com/problems/lexicographical-numbers/

https://leetcode-cn.com/problems/binary-search/

https://leetcode-cn.com/problems/sorted-merge-lcci/

https://leetcode-cn.com/problems/shortest-distance-to-a-character/

https://leetcode-cn.com/problems/sort-an-array/

https://leetcode-cn.com/problems/aMhZSa/

https://leetcode-cn.com/problems/sort-list

https://leetcode-cn.com/problems/7WHec2

https://leetcode-cn.com/problems/longest-absolute-file-path

https://leetcode-cn.com/problems/add-strings/

https://leetcode-cn.com/problems/valid-parentheses

https://leetcode-cn.com/problems/hamming-distance/

https://leetcode-cn.com/problems/single-number-ii/

https://leetcode-cn.com/problems/single-number/

https://leetcode-cn.com/problems/counting-bits/

https://leetcode-cn.com/problems/implement-rand10-using-rand7/

https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock/

https://leetcode-cn.com/problems/add-two-numbers/

https://leetcode-cn.com/problems/maximum-subarray/

https://leetcode-cn.com/problems/power-of-two/

https://leetcode-cn.com/problems/power-of-three/

https://leetcode-cn.com/problems/goat-latin/

https://leetcode-cn.com/problems/power-of-four/

https://leetcode-cn.com/problems/reverse-string/

https://leetcode-cn.com/problems/implement-strstr/

https://leetcode-cn.com/problems/find-the-difference/

https://leetcode-cn.com/problems/max-consecutive-ones/

https://leetcode-cn.com/problems/maximum-width-of-binary-tree/

https://leetcode-cn.com/problems/clumsy-factorial/

https://leetcode-cn.com/problems/rotate-function/

https://leetcode-cn.com/problems/er-cha-shu-de-shen-du-lcof

https://leetcode-cn.com/problems/n-ary-tree-level-order-traversal/

https://leetcode-cn.com/problems/binary-tree-level-order-traversal/

https://leetcode-cn.com/problems/binary-tree-level-order-traversal-ii/

https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal/

https://leetcode-cn.com/problems/maximum-depth-of-n-ary-tree/

https://leetcode-cn.com/problems/n-ary-tree-preorder-traversal/

https://leetcode-cn.com/problems/n-ary-tree-postorder-traversal/

https://leetcode-cn.com/problems/average-of-levels-in-binary-tree/

https://leetcode-cn.com/problems/hPov7L/

https://leetcode-cn.com/problems/find-largest-value-in-each-tree-row/

https://leetcode-cn.com/problems/partition-list/

https://leetcode-cn.com/problems/add-to-array-form-of-integer/

https://leetcode-cn.com/problems/string-to-integer-atoi/

https://leetcode-cn.com/problems/design-circular-deque/

https://leetcode-cn.com/problems/making-a-large-island

https://leetcode-cn.com/problems/island-perimeter/

https://leetcode-cn.com/problems/max-area-of-island/

https://leetcode-cn.com/problems/number-of-islands/

https://leetcode-cn.com/problems/implement-trie-prefix-tree

https://leetcode-cn.com/problems/longest-word-in-dictionary/

https://leetcode-cn.com/problems/QC3q1f/

https://leetcode-cn.com/problems/binary-gap/

https://leetcode-cn.com/problems/design-add-and-search-words-data-structure/

https://leetcode-cn.com/problems/words-frequency-lcci/

https://leetcode-cn.com/problems/g5c51o/

https://leetcode-cn.com/problems/top-k-frequent-elements/

https://leetcode-cn.com/problems/sort-array-by-increasing-frequency/

https://leetcode-cn.com/problems/sort-characters-by-frequency/

https://leetcode-cn.com/problems/kth-largest-element-in-a-stream/

https://leetcode-cn.com/problems/jBjn9C/

https://leetcode-cn.com/problems/random-pick-index

https://leetcode-cn.com/problems/xu-lie-hua-er-cha-shu-lcof

https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree

https://leetcode-cn.com/problems/cousins-in-binary-tree/

https://leetcode-cn.com/problems/number-of-recent-calls/

https://leetcode-cn.com/problems/H8086Q/

https://leetcode-cn.com/problems/dui-cheng-de-er-cha-shu-lcof/

https://leetcode-cn.com/problems/ping-heng-er-cha-shu-lcof/

https://leetcode-cn.com/problems/peeking-iterator

https://leetcode-cn.com/problems/clone-graph

https://leetcode-cn.com/problems/clone-n-ary-tree/

https://leetcode-cn.com/problems/h54YBf/

https://leetcode-cn.com/problems/serialize-and-deserialize-bst/

https://leetcode-cn.com/problems/encode-n-ary-tree-to-binary-tree/

https://leetcode-cn.com/problems/serialize-and-deserialize-n-ary-tree/

https://leetcode-cn.com/problems/remove-element

https://leetcode-cn.com/problems/shan-chu-lian-biao-de-jie-dian-lcof

https://leetcode-cn.com/problems/remove-linked-list-elements

https://leetcode-cn.com/problems/pacific-atlantic-water-flow/

https://leetcode-cn.com/problems/fu-za-lian-biao-de-fu-zhi-lcof/

https://leetcode-cn.com/problems/copy-list-with-random-pointer/

https://leetcode-cn.com/problems/search-insert-position/

https://leetcode-cn.com/problems/boats-to-save-people/

https://leetcode-cn.com/problems/top-k-frequent-words/

https://leetcode-cn.com/problems/kth-largest-element-in-an-array/

https://leetcode-cn.com/problems/contains-duplicate/

https://leetcode-cn.com/problems/design-hashset/

https://leetcode-cn.com/problems/next-greater-element-i/

https://leetcode-cn.com/problems/find-peak-element/

https://leetcode-cn.com/problems/N6YdxV/

https://leetcode-cn.com/problems/search-a-2d-matrix/

https://leetcode-cn.com/problems/minimum-size-subarray-sum/

https://leetcode-cn.com/problems/maximum-number-of-vowels-in-a-substring-of-given-length/

https://leetcode-cn.com/problems/majority-element/

https://leetcode-cn.com/problems/permutations/

https://leetcode-cn.com/problems/permutations-ii/

https://leetcode-cn.com/problems/valid-sudoku/

https://leetcode-cn.com/problems/n-queens/

https://leetcode-cn.com/problems/eight-queens-lcci/

https://leetcode-cn.com/problems/sudoku-solver/

https://leetcode.cn/problems/generate-parentheses

https://leetcode-cn.com/problems/all-elements-in-two-binary-search-trees/

https://leetcode.cn/problems/combinations/

https://leetcode.cn/problems/subsets-ii/

https://leetcode.cn/problems/TVdhkn/

https://leetcode-cn.com/problems/subsets/

https://leetcode.cn/problems/number-of-1-bits/

https://leetcode.cn/problems/er-jin-zhi-zhong-1de-ge-shu-lcof/

https://leetcode-cn.com/problems/3sum/

https://leetcode-cn.com/problems/range-sum-of-bst/

https://leetcode-cn.com/problems/design-circular-queue/

https://leetcode-cn.com/problems/shu-zu-zhong-zhong-fu-de-shu-zi-lcof/

https://leetcode-cn.com/problems/find-the-duplicate-number/

https://leetcode-cn.com/problems/design-hashmap

https://leetcode-cn.com/problems/perfect-squares/

https://leetcode-cn.com/problems/unique-paths/

https://leetcode-cn.com/problems/design-linked-list/

https://leetcode-cn.com/problems/er-cha-shu-de-jing-xiang-lcof/

https://leetcode.cn/problems/one-away-lcci

https://leetcode.cn/problems/palindrome-number

https://leetcode.cn/problems/reverse-integer/

https://leetcode.cn/problems/zigzag-conversion/

https://leetcode.cn/problems/roman-to-integer/

https://leetcode.cn/problems/1fGaJU/

https://leetcode.cn/problems/largest-triangle-area/

https://leetcode.cn/problems/pascals-triangle/

https://leetcode.cn/problems/pascals-triangle-ii/

https://leetcode.cn/problems/IDBivT/

https://leetcode.cn/problems/bracket-lcci/

https://leetcode.cn/problems/encode-and-decode-tinyurl/

https://leetcode.cn/problems/design-parking-system/

https://leetcode.cn/problems/construct-the-rectangle/

https://leetcode.cn/problems/design-skiplist/

https://leetcode.cn/problems/longest-common-prefix/

https://leetcode.com/problems/implement-trie-ii-prefix-tree/

https://leetcode.cn/problems/merge-intervals/

https://leetcode.cn/problems/successor-lcci/

https://leetcode.cn/problems/sum-lists-lcci/

https://leetcode.cn/problems/merge-two-binary-trees/

https://leetcode.cn/problems/add-binary/

https://leetcode.cn/problems/JFETK5/

https://leetcode.cn/problems/divide-two-integers/

https://leetcode.cn/problems/xoh6Oh/

https://leetcode.cn/problems/search-a-2d-matrix-ii/

https://leetcode.cn/problems/gray-code/

https://leetcode.cn/problems/lru-cache/

https://leetcode.cn/problems/132-pattern/

https://leetcode.cn/problems/verifying-an-alien-dictionary/

https://leetcode.cn/problems/validate-binary-search-tree/

https://leetcode.cn/problems/word-search/

https://leetcode.cn/problems/convert-bst-to-greater-tree/

https://leetcode.cn/problems/binary-search-tree-to-greater-sum-tree/

https://leetcode.cn/problems/first-bad-version/

https://leetcode.cn/problems/squares-of-a-sorted-array/

https://leetcode.cn/problems/flood-fill/

https://leetcode.cn/problems/multiply-strings/

https://leetcode.cn/problems/recursive-mulitply-lcci/

https://leetcode.cn/problems/sort-colors/

https://leetcode.cn/problems/set-matrix-zeroes/

https://leetcode.cn/problems/length-of-last-word/

https://leetcode.cn/problems/valid-number/

https://leetcode.cn/problems/er-wei-shu-zu-zhong-de-cha-zhao-lcof/

https://leetcode.cn/problems/complex-number-multiplication/

https://leetcode.cn/problems/restore-ip-addresses/

https://leetcode.cn/problems/0on3uN/

https://leetcode.cn/problems/minimum-moves-to-equal-array-elements-ii/

https://leetcode.cn/problems/ti-huan-kong-ge-lcof/

https://leetcode.cn/problems/cong-wei-dao-tou-da-yin-lian-biao-lcof/

https://leetcode.cn/problems/c32eOV/

https://leetcode.cn/problems/linked-list-cycle-lcci/

https://leetcode.cn/problems/all-ancestors-of-a-node-in-a-directed-acyclic-graph/

https://leetcode.cn/problems/ju-zhen-zhong-de-lu-jing-lcof/

https://leetcode.cn/problems/biao-shi-shu-zhi-de-zi-fu-chuan-lcof/

https://leetcode.cn/problems/regular-expression-matching/

https://leetcode.cn/problems/zheng-ze-biao-da-shi-pi-pei-lcof/

https://leetcode-cn.com/problems/ba-zi-fu-chuan-zhuan-huan-cheng-zheng-shu-lcof/

https://leetcode.cn/problems/min-stack/

https://leetcode.cn/problems/bao-han-minhan-shu-de-zhan-lcof/

https://leetcode.cn/problems/longest-substring-without-repeating-characters

https://leetcode.cn/problems/delete-node-in-a-linked-list/

https://leetcode.cn/problems/4ueAj6/

https://leetcode.cn/problems/insert-into-a-sorted-circular-linked-list/

https://leetcode.cn/problems/insert-delete-getrandom-o1/

https://leetcode.cn/problems/FortPu/

https://leetcode.cn/problems/inorder-successor-in-bst/

https://leetcode.cn/problems/P5rCT8/

https://leetcode.cn/problems/n-repeated-element-in-size-2n-array/

https://leetcode.cn/problems/populating-next-right-pointers-in-each-node/

https://leetcode.cn/problems/populating-next-right-pointers-in-each-node-ii/

https://leetcode.cn/problems/number-of-provinces/

https://leetcode.cn/problems/bLyHh0/

https://leetcode.cn/problems/fizz-buzz/

https://leetcode.cn/problems/lru-cache-lcci/

https://leetcode.cn/problems/implement-stack-using-queues

https://leetcode.cn/problems/binary-search-tree-iterator/

https://leetcode.cn/problems/kTOapQ

https://leetcode.cn/problems/encrypt-and-decrypt-strings/

https://leetcode.cn/problems/all-oone-data-structure/

https://leetcode.cn/problems/find-the-winner-of-the-circular-game/

https://leetcode.cn/problems/add-two-integers/

https://leetcode.cn/problems/recover-a-tree-from-preorder-traversal

https://leetcode.cn/problems/valid-anagram/

https://leetcode.cn/problems/swap-nodes-in-pairs/

https://leetcode.cn/problems/kth-smallest-element-in-a-bst

https://leetcode.cn/problems/iIQa4I/

https://leetcode.cn/problems/daily-temperatures/

https://leetcode.cn/problems/reverse-nodes-in-k-group/

https://leetcode.cn/problems/vEAB3K

https://leetcode.cn/problems/is-graph-bipartite/

https://leetcode.cn/problems/median-of-two-sorted-arrays

https://leetcode.cn/problems/word-search-ii/

https://leetcode.cn/problems/happy-number

https://leetcode.cn/problems/find-closest-lcci/

https://leetcode.cn/problems/parsing-a-boolean-expression/

https://leetcode.cn/problems/max-increase-to-keep-city-skyline

https://leetcode.cn/problems/build-array-from-permutation/

https://leetcode.cn/problems/convert-binary-number-in-a-linked-list-to-integer

https://leetcode.cn/problems/root-equals-sum-of-children/

https://leetcode.cn/problems/power-set-lcci/

https://leetcode.cn/problems/remove-outermost-parentheses/

https://leetcode.cn/problems/concatenation-of-array/

https://leetcode.cn/problems/decode-xored-array/

https://leetcode.cn/problems/final-value-of-variable-after-performing-operations/

https://leetcode.cn/problems/same-tree/

https://leetcode.cn/problems/running-sum-of-1d-array/

https://leetcode.cn/problems/partitioning-into-minimum-number-of-deci-binary-numbers/

https://leetcode.cn/problems/queries-on-number-of-points-inside-a-circle/

https://leetcode.cn/problems/subrectangle-queries/

https://leetcode.cn/problems/apply-discount-to-prices/

https://leetcode.cn/problems/validate-ip-address/

安装教程

  1. 安装deno

https://deno.land/#installation

  1. 安装 udd

https://deno.land/x/udd#installation

使用说明

  1. 测试
deno task test

2.升级依赖

deno task udd

3.格式化

deno task fmt

4.lint

deno task lint

5.type check

deno task check

5.导入模块

指定版本号

import {} from "https://gitee.com/masx200/leetcode-test/raw/4.1.1/mod.ts";
import {} from "https://raw.githubusercontent.com/masx200/leetcode-test/4.1.1/mod.ts";
import {} from "https://cdn.jsdelivr.net/gh/masx200/leetcode-test@4.1.1/mod.ts";
import {} from "https://deno.land/x/masx200_leetcode_test@4.1.1/mod.ts";

6.使用举例

import { climbing_stairs_bigint } from "https://deno.land/x/masx200_leetcode_test@4.1.1/mod.ts";
import climbing_stairs from "https://deno.land/x/masx200_leetcode_test@4.1.1/climbing-stairs/index.ts";

参与贡献

  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request