File tree Expand file tree Collapse file tree 3 files changed +20
-0
lines changed
design-underground-system Expand file tree Collapse file tree 3 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ leetcode 测试
10
10
11
11
##### 包含的内容如下
12
12
13
+ https://leetcode.cn/problems/smallest-even-multiple/
14
+
15
+ https://leetcode.cn/problems/design-underground-system/
16
+
13
17
https://leetcode.cn/problems/strictly-palindromic-number/
14
18
15
19
https://leetcode.cn/problems/stone-game/
Original file line number Diff line number Diff line change
1
+ export default class UndergroundSystem {
2
+ constructor ( ) {
3
+ }
4
+
5
+ checkIn ( id : number , stationName : string , t : number ) : void {
6
+ }
7
+
8
+ checkOut ( id : number , stationName : string , t : number ) : void {
9
+ }
10
+
11
+ getAverageTime ( startStation : string , endStation : string ) : number {
12
+ }
13
+ }
Original file line number Diff line number Diff line change
1
+ export default function smallestEvenMultiple ( n : number ) : number {
2
+ return n & 1 ? 2 * n : n ;
3
+ }
You can’t perform that action at this time.
0 commit comments