Skip to main content
Deno 2 is finally here 🎉️
Learn more

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/

安装教程

  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.导入模块

指定版本号

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