Giter Club home page Giter Club logo

my-leetcode-exercises's Introduction

Leetcode questions

ID Title Difficulty Solution
1 Two Sum Easy 1.cpp
2 Add Two Numbers Medium 2.cpp
3 Longest Substring Without Repeating Characters Medium 3.cpp
4 Median of Two Sorted Arrays Hard 4.cpp
5 Longest Palindromic Substring Medium 5.cpp
6 ZigZag Conversion Medium 6.cpp
7 Reverse Integer Easy 7.cpp
8 String to Integer (atoi) Medium 8.cpp
9 Palindrome Number Easy 9.cpp
10 Regular Expression Matching Hard 10.cpp
11 Container With Most Water Medium 11.cpp
12 Integer to Roman Medium 12.cpp
13 Roman to Integer Easy 13.cpp
14 Longest Common Prefix Easy 14.cpp
15 3Sum Medium 15.cpp
16 3Sum Closest Medium 16.cpp
17 Letter Combinations of a Phone Number Medium 17.cpp
18 4Sum Medium similar to #15, skipped
19 Remove Nth Node From End of List Medium 19.py, 19.cpp
20 Valid Parentheses Easy 20.cpp
21 Merge Two Sorted Lists Easy 21.cpp
22 Generate Parentheses Medium 22.cpp
23 Merge k Sorted Lists Hard 23.cpp
24 Swap Nodes in Pairs Medium 24.py
25 Reverse Nodes in k-Group Hard 25.cpp
26 Remove Duplicates from Sorted Array Easy 26.cpp
27 Remove Element Easy 27.py
28 Implement strStr() Easy 28.cpp
29 Divide Two Integers Medium 29.cpp
30 Substring with Concatenation of All Words Hard 30.cpp
31 Next Permutation Medium 31.cpp
32 Longest Valid Parentheses Hard 32.cpp
33 Search in Rotated Sorted Array Medium 33.cpp, 33.py
34 Find First and Last Position of Element in Sorted Array Medium 34.cpp
35 Search Insert Position Easy 35.cpp
36 Valid Sudoku Medium 36.cpp
*37 Sudoku Solver Hard 37.cpp
38 Count and Say Easy 38.cpp
39 Combination Sum Medium 39.cpp
40 40.cpp
42 Trapping Rain Water Hard 42.py
46 Permutations Medium 46.cpp
48 Rotate Image Medium 48.py
49 Group Anagrams Medium 49.py
53 Maximum Subarray Easy 53.cpp
78 Subsets Medium 78.py
94 Binary Tree Inorder Traversal Medium 94.cpp
108 Convert Sorted Array to Binary Search Tree Easy 108.py
136 Single Number Easy 136.py
146 LRU Cache Medium 146.py
169 Majority Element Easy 169.py
171 Excel Sheet Column Number Easy 171.py
175 Combine Two Tables Easy 175.sql
176 Second Highest Salary Easy 176.sql
177 Nth Highest Salary Medium 177.sql
178 Rank Scores Medium 178.sql
215 Kth Largest Element in an Array Medium 215.py
217 Contains Duplicate Easy 217.py
230 Kth Smallest Element in a BST Medium 230.py
237 Delete Node in a Linked List Easy 237.cpp
238 Product of Array Except Self Medium 238.py
242 Valid Anagram Easy 242.py
287 Find the Duplicate Number Medium 287.cpp, 287.py
328 Odd Even Linked List Medium 328.py
347 Top K Frequent Elements Medium 347.py
412 Fizz Buzz Easy 412.py
654 Maximum Binary Tree Medium 654.py
700 Search in a Binary Search Tree Easy 700.py
771 Jewels and Stones Easy 771.py
804 Unique Morse Code Words Easy 804.cpp
807 Max Increase to Keep City Skyline Medium 807.py
905 Sort Array By Parity Easy 905.py
912 Sort an Array Medium 912.py
938 Range Sum of BST Easy 938.py
941 Valid Mountain Array Easy 941.py
958 Check Completeness of a Binary Tree Medium 958.py
977 Squares of a Sorted Array Easy 977.py
979 Distribute Coins in Binary Tree Medium 979.py
1008 Construct Binary Search Tree from Preorder Traversal Medium 1008.py
1021 Remove Outermost Parentheses Easy 1021.cpp
1038 Binary Search Tree to Greater Sum Tree Medium 1038.py
1051 Height Checker Easy 1051.py
1089 Duplicate Zeros Easy 1089.py
1108 Defanging an IP Address Easy 1108.py
1179 Reformat Department Table Easy 1179.sql
1221 Split a String in Balanced Strings Easy 1221.py
1266 Minimum Time Visiting All Points Easy 1266.py
1281 Subtract the Product and Sum of Digits of an Integer Easy 1281.py
1282 Group the People Given the Group Size They Belong To Medium 1282.py
1290 Convert Binary Number in a Linked List to Integer Easy 1290.py
1295 Find Numbers with Even Number of Digits Easy 1295.py
1299 Replace Elements with Greatest Element on Right Side Easy 1299.py
1302 Deepest Leaves Sum Medium 1302.py
1313 Decompress Run-Length Encoded List Easy 1313.py
1315 Sum of Nodes with Even-Valued Grandparent Medium 1315.py
1329 Sort the Matrix Diagonally Medium 1329.py
1342 Number of Steps to Reduce a Number to Zero Easy 1342.py
1346 Check If N and Its Double Exist Easy 1346.py
1365 How Many Numbers Are Smaller Than the Current Number Easy 1365.py
1379 Find a Corresponding Node of a Binary Tree in a Clone of That Tree Medium 1379.py
1389 Create Target Array in the Given Order Easy 1389.py
1395 Count Number of Teams Medium 1395.py
1409 Queries on a Permutation With Key Medium 1409.py
1431 Kids With the Greatest Number of Candies Easy 1431.cpp, 1431.py
1470 Shuffle the Array Easy 1470.py
1476 Subrectangle Queries Medium 1476.cpp, 1476.py
1480 Running Sum of 1d Array Easy 1480.cpp, 1480.py
1486 XOR Operation in an Array Easy 1486.py
1512 Number of Good Pairs Easy 1512.py
1528 Shuffle String Easy 1528.cpp
1588 Sum of All Odd Length Subarrays Easy 1588.cpp
1603 Design Parking System Easy 1603.cpp
1614 Maximum Nesting Depth of the Parentheses Easy 1614.cpp
1637 Widest Vertical Area Between Two Points Containing No Points Medium 1637.cpp
1656 Design an Ordered Stream Easy 1656.cpp
1662 Check If Two String Arrays are Equivalent Easy 1662.cpp
1665 Minimum Initial Energy to Finish Tasks Hard 1665.cpp
1669 Merge In Between Linked Lists Medium 1669.cpp
1672 Richest Customer Wealth Easy 1672.cpp
.cpp
.py

my-leetcode-exercises's People

Contributors

sirrubick avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.