/leetcode

Leetcode programming solutions

Primary LanguageC++

Leetcode

# Title Solution Runtime
1 Two Sum C++ 12 ms
33 Search in Rotated Sorted Array C++ 4 ms
53 Maximum Subarray C++ 12 ms
64 Minimum Path Sum C++ 20 ms
70 Climbing Stairs C++ 0 ms
76 Minimum Window Substring C++ 96 ms
94 Binary Tree Inorder Traversal C++ 4 ms
102 Binary Tree Level Order Traversal C++ 8 ms
116 Populating Next Right Pointers in Each Node C++ 20 ms
121 Best Time to Buy and Sell Stock C++ 12 ms
123 Best Time to Buy and Sell Stock III C++ 320 ms
127 Word Ladder C++ 1804 ms
144 Binary Tree Preorder Traversal C++ 0 ms
146 LRU Cache C++ 180 ms
198 House Robber C++ 0 ms
199 Binary Tree Right Side View C++ 4 ms
200 Number of Islands C++ 24 ms
210 Course Schedule II C++ 36 ms
215 Kth Largest Element in an Array C++ 8 ms
279 Perfect Squares C++ 248 ms
303 Range Sum Query - Immutable C++ 28 ms
322 Coin Change C++ 80 ms
338 Counting Bits C++ 48 ms
392 Is Subsequence C++ 0 ms
399 Evaluate Division C++ 4 ms
437 Path Sum III C++ 24 ms
542 01 Matrix C++ 196 ms
543 Diameter of Binary Tree C++ 8 ms
560 Subarray Sum Equals K C++ 120 ms
684 Redundant Connection C++ 4 ms
685 Redundant Connection II C++ 16 ms
746 Min Cost Climbing Stairs C++ 12 ms
785 Is Graph Bipartite? C++ 44 ms
815 Bus Routes C++ 284 ms
834 Sum of Distances in Tree C++ 80 ms
924 Minimize Malware Spread C++ 364 ms
931 Minimum Falling Path Sum C++ 20 ms
934 Shortest Bridge C++ 140 ms
959 Regions Cut By Slashes C++ 4 ms
973 K Closest Points to Origin C++ 168 ms
977 Squares of a Sorted Array C++ 48 ms
983 Minimum Cost For Tickets C++ 16 ms
1020 Number of Enclaves C++ 104 ms
1025 Divisor Game C++ 0 ms
1038 Binary Search Tree to Greater Sum Tree C++ 0 ms
1277 Count Square Submatrices with All Ones C++ 116 ms
1314 Matrix Block Sum C++ 12 ms