Skip to content

Commit 6e6d03f

Browse files
committed
https://leetcode.cn/problems/count-of-matches-in-tournament/
1 parent 4fd7677 commit 6e6d03f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ Step 2. Add the dependency
4545

4646
<summary>展开查看</summary>
4747

48+
https://leetcode.cn/problems/count-of-matches-in-tournament/
49+
4850
https://leetcode.cn/problems/na-ying-bi/
4951

5052
https://leetcode.cn/problems/find-the-original-array-of-prefix-xor/
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export default function numberOfMatches(n: number): number {
2+
return n - 1;
3+
}

0 commit comments

Comments
 (0)