leetcode

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

commitd883c7cf58e057c9e9bb6feb2856652401d83207
parent7ee76da2829e83e82c685c0b8271ac2a81ef3a6c
authorDimitrije Dobrota <mail@dimitrijedobrota.com>
dateMon, 19 Aug 2024 18:56:40 +0200

1 Random Problem

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

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


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

@@ -0,0 +1,6 @@

class Solution {
public:
vector<double> convertTemperature(double celsius) const {
return {celsius + 273.15, celsius * 1.80 + 32.00};
}
};

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

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

| 2465 | Easy | [Number of Distinct Averages](Problems/2465.cpp) |
| 2466 | Medium | [Count Ways To Build Good Strings](Problems/2466.cpp) |
| 2467 | Medium | [Most Profitable Path in a Tree](Problems/2467.cpp) |
| 2469 | Easy | [Convert the Temperature](Problems/2469.cpp) |
| 2471 | Medium | [Minimum Number of Operations to Sort a Binary Tree by Level](Problems/2471.cpp) |
| 2477 | Medium | [Minimum Fuel Cost to Report to the Capital](Problems/2477.cpp) |
| 2482 | Medium | [Difference Between Ones and Zeros in Row and Column](Problems/2482.cpp) |