LeetCode solutions
Every LeetCode problem I have solved, with the accepted code in each language I solved it in. The problem statements stay on LeetCode where they belong — what is here is the solution, the runtime it was accepted at, and a link to the repository it came from.
1,055 solutions
Showing 1–16 of 16 solutions matching Hard + C++, filtered from 1,055.
- 1034. Subarrays with K Different Integers Hard Languages: C++ Accepted runtime 51ms
- 1224. Minimum Falling Path Sum II Hard Languages: C++ Accepted runtime 0ms
- 1457. Minimum Difficulty of a Job Schedule Hard Languages: C++ Accepted runtime 16ms
- 1522. Stone Game III Hard Languages: C++ Accepted runtime 11ms
- 1555. Number of Ways of Cutting a Pizza Hard Languages: C++ Accepted runtime 7ms
- 1691. Minimum Number of Days to Disconnect Island Hard Languages: C++ Accepted runtime 84ms
- 1744. Number of Ways to Form a Target String Given a Dictionary Hard Languages: C++ Accepted runtime 36ms
- 1825. Find Minimum Time to Finish All Jobs Hard Languages: C++ Accepted runtime 0ms
- 1851. Maximum Number of Events That Can Be Attended II Hard Languages: C++ Accepted runtime 212ms
- 1861. Building Boxes Hard Languages: C++ Accepted runtime 0ms
- 1887. Minimum Degree of a Connected Trio in a Graph Hard Languages: C++ Accepted runtime 1182ms
- 2008. Minimum Cost to Change the Final Value of Expression Hard Languages: C++ Accepted runtime 35ms
- 2176. Parallel Courses III Hard Languages: C++ Accepted runtime 60ms
- 2479. Meeting Rooms III Hard Languages: C++ Accepted runtime 69ms
- 2808. Painting the Walls Hard Languages: C++ Accepted runtime 19ms
- 3057. Count K-Subsequences of a String With Maximum Beauty Hard Languages: C++ Accepted runtime 2ms
These are practice solutions, not lessons. If you came here to learn how any of it works, the explanations live in the lessons.