吴超啊

https://github.com/powerfuldata

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

02 2021 档案

摘要:54. 螺旋矩阵 给你一个 m 行 n 列的矩阵 matrix ,请按照 顺时针螺旋顺序 ,返回矩阵中的所有元素。 示例 1: 输入:matrix = [[1,2,3],[4,5,6],[7,8,9]] 输出:[1,2,3,6,9,8,7,4,5] 示例 2: 输入:matrix = [[1,2,3 阅读全文
posted @ 2021-02-25 18:04 吴超啊 阅读(450) 评论(0) 推荐(0)

摘要:TypeScript是如何实现继承的 在ts中写使用extends继承 class Animal { static cell: string = '多细胞';// 静态属性 hand: number = 2;// 变量 constructor(hand: number){ this.hand = h 阅读全文
posted @ 2021-02-24 16:22 吴超啊 阅读(428) 评论(0) 推荐(0)

摘要:TypeScript中的关键字static ES6中的静态成员在TypeScript也存在,类的静态成员可以使用类名.变量名的形式访问,不需要创建类的实例。 例如,在ts中 class Circle { static pi: number = 3.14; } 上面的Circle包含静态属性pi,可以 阅读全文
posted @ 2021-02-21 21:54 吴超啊 阅读(2186) 评论(0) 推荐(0)

摘要:算法:js大数相加 阅读全文
posted @ 2021-02-20 13:19 吴超啊 阅读(469) 评论(0) 推荐(0)