leetcode

Solution to some Leetcode problems written in C++
git clone git://git.dimitrijedobrota.com/leetcode.git
Log | Files | Refs | README | LICENSE |

commit99d72e8ed3cd9024636e84a08635c02db43baf3a
parentc0159bcae1640527b6b4c5ad707749b578db0286
authorDimitrije Dobrota <mail@dimitrijedobrota.com>
dateTue, 5 Dec 2023 21:03:02 +0000

Daily Problem

Diffstat:
AProblems/1688.cpp|++++
MREADME.md|+

2 files changed, 5 insertions(+), 0 deletions(-)


diff --git a/Problems/1688.cpp b/Problems/1688.cpp

@@ -0,0 +1,4 @@

class Solution {
public:
int numberOfMatches(int n) const { return n - 1; }
};

diff --git a/README.md b/README.md

@@ -736,6 +736,7 @@ for solving problems.

| 1679 | Medium | [Max Number of K-Sum Pairs](Problems/1679.cpp) |
| 1683 | Easy | [Invalid Tweets](Problems/1683.cpp) |
| 1685 | Medium | [Sum of Absolute Differences in a Sorted Array](Problems/1685.cpp) |
| 1688 | Easy | [Count of Matches in Tournament](Problems/1688.cpp) |
| 1689 | Medium | [Partitioning Into Minimum Number Of Deci-Binary Numbers](Problems/1689.cpp) |
| 1696 | Medium | [Jump Game VI](Problems/1696.cpp) |
| 1697 | Hard | [Checking Existence of Edge Length Limited Paths](Problems/1697.cpp) |