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/
安装教程
- 安装
deno
https://deno.land/#installation
- 安装
udd
https://deno.land/x/udd#installation
使用说明
- 测试
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.0.1/mod.ts";
import {} from "https://raw.githubusercontent.com/masx200/leetcode-test/4.0.1/mod.ts";
import {} from "https://cdn.jsdelivr.net/gh/masx200/leetcode-test@4.0.1/mod.ts";
import {} from "https://deno.land/x/masx200_leetcode_test@4.0.4/mod.ts";
6.使用举例
import { climbing_stairs_bigint } from "https://deno.land/x/masx200_leetcode_test@4.0.7/mod.ts";
import climbing_stairs from "https://deno.land/x/masx200_leetcode_test@4.0.7/climbing-stairs/index.ts";
参与贡献
- Fork 本仓库
- 新建 Feat_xxx 分支
- 提交代码
- 新建 Pull Request