An open API service indexing awesome lists of open source software.

https://github.com/jay-singhvi/coding-with-leetcode

Learning how to solve leetcode problems and preparing for interview questions
https://github.com/jay-singhvi/coding-with-leetcode

leetcode-solutions pandas python3 sql

Last synced: 2 months ago
JSON representation

Learning how to solve leetcode problems and preparing for interview questions

Awesome Lists containing this project

README

          

# Learning-to-code-with-Leetcode

Learning how to solve leetcode problems and preparing for interview questions

You can view the solution code directly by clicking on the link but I will always suggest that you first try to solve the problem on your own for atleast 20-30 mins only then looking at a solution.

This repository contains my solutions to leetcode problems. Here's a list of problems and solutions:

# Solutions

| Sr. No. | Type | Difficulty | File Name |
|---------|------|------------|-----------|
| 1 | Python | Easy | [Two-Sum.py](Solutions\Easy-1-Two-Sum.py) |
| 3 | Python | Medium | [Longest-Substring-Without-Repeating-Characters.py](Solutions\Medium-3-Longest-Substring-Without-Repeating-Characters.py) |
| 23 | Python | Hard | [Merge-k-Sorted-Lists.py](Solutions\Hard-23-Merge-k-Sorted-Lists.py) |
| 26 | Python | Easy | [Remove-Duplicates-from-Sorted-Array.py](Solutions\Easy-26-Remove-Duplicates-from-Sorted-Array.py) |
| 27 | Python | Easy | [Remove-Element.py](Solutions\Easy-27-Remove-Element.py) |
| 45 | Python | Medium | [Jump-Game-II.py](Solutions\Medium-45-Jump-Game-II.py) |
| 55 | Python | Medium | [Jump-Game.py](Solutions\Medium-55-Jump-Game.py) |
| 80 | Python | Medium | [Remove-Duplicates-from-Sorted-Array-II.py](Solutions\Medium-80-Remove-Duplicates-from-Sorted-Array-II.py) |
| 88 | Python | Easy | [Merge-Sorted-Array.py](Solutions\Easy-88-Merge-Sorted-Array.py) |
| 121 | Python | Easy | [Best-Time-to-Buy-and-Sell-Stock.py](Solutions\Easy-121-Best-Time-to-Buy-and-Sell-Stock.py) |
| 122 | Python | Medium | [Best-Time-to-Buy-and-Sell-Stock-II.py](Solutions\Medium-122-Best-Time-to-Buy-and-Sell-Stock-II.py) |
| 134 | Python | Medium | [Gas-Station.py](Solutions\Medium-134-Gas-Station.py) |
| 169 | Python | Easy | [Majority-Element.py](Solutions\Easy-169-Majority-Element.py) |
| 185 | SQL | Hard | [Department-Top-Three-Salaries.sql](Solutions\Hard-185-Department-Top-Three-Salaries.sql) |
| 189 | Python | Medium | [Rotate-Array.py](Solutions\Medium-189-Rotate-Array.py) |
| 200 | Python | Medium | [Number-of-Islands.py](Solutions\Medium-200-Number-of-Islands.py) |
| 209 | Python | Medium | [Minimum-Size-Subarray-Sum.py](Solutions\Medium-209-Minimum-Size-Subarray-Sum.py) |
| 238 | Python | Medium | [Product-of-Array-Except-Self.py](Solutions\Medium-238-Product-of-Array-Except-Self.py) |
| 274 | Python | Medium | [H-lndex.py](Solutions\Medium-274-H-lndex.py) |
| 345 | Python | Easy | [Reverse-Vowels-of-a-String.py](Solutions\Easy-345-Reverse-Vowels-of-a-String.py) |
| 380 | Python | Medium | [Insert-Delete-GetRandom-O(1).py](Solutions\Medium-380-Insert-Delete-GetRandom-O(1).py) |
| 570 | Python | Medium | [Managers-with-at-Least-5-Direct-Reports.py](Solutions\Medium-570-Managers-with-at-Least-5-Direct-Reports.py) |
| 570 | SQL | Medium | [Managers-with-at-Least-5-Direct-Reports.sql](Solutions\Medium-570-Managers-with-at-Least-5-Direct-Reports.sql) |
| 584 | SQL | Easy | [Find-Customer-Referee.sql](Solutions\Easy-584-Find-Customer-Referee.sql) |
| 595 | SQL | Easy | [Big-Countries.sql](Solutions\Easy-595-Big-Countries.sql) |
| 620 | Python | Easy | [Not-Boring-Movies.py](Solutions\Easy-620-Not-Boring-Movies.py) |
| 620 | SQL | Easy | [Not-Boring-Movies.sql](Solutions\Easy-620-Not-Boring-Movies.sql) |
| 692 | Python | Medium | [Top-K-Frequent-Words.py](Solutions\Medium-692-Top-K-Frequent-Words.py) |
| 763 | Python | Medium | [Partition-Labels.py](Solutions\Medium-763-Partition-Labels.py) |
| 819 | Python | Easy | [Most-Common-Word.py](Solutions\Easy-819-Most-Common-Word.py) |
| 937 | Python | Medium | [Reorder-Data-in-Log-Files.py](Solutions\Medium-937-Reorder-Data-in-Log-Files.py) |
| 973 | Python | Medium | [K-Closest-Points-to-Origin.py](Solutions\Medium-973-K-Closest-Points-to-Origin.py) |
| 994 | Python | Medium | [Rotting-Oranges.py](Solutions\Medium-994-Rotting-Oranges.py) |
| 1071 | Python | Easy | [Greatest-Common-Divisor-of-Strings.py](Solutions\Easy-1071-Greatest-Common-Divisor-of-Strings.py) |
| 1148 | SQL | Easy | [Article-Views-I.SQL](Solutions\Easy-1148-Article-Views-I.SQL) |
| 1378 | Python | Easy | [Replace-Employee-ID-With-The-Unique-Identifier.py](Solutions\Easy-1378-Replace-Employee-ID-With-The-Unique-Identifier.py) |
| 1378 | SQL | Easy | [Replace-Employee-ID-With-The-Unique-Identifier.sql](Solutions\Easy-1378-Replace-Employee-ID-With-The-Unique-Identifier.sql) |
| 1431 | Python | Easy | [Kids-With-the-Greatest-Number-of-Candies.py](Solutions\Easy-1431-Kids-With-the-Greatest-Number-of-Candies.py) |
| 1683 | Python | Easy | [Invalid-Tweets.py](Solutions\Easy-1683-Invalid-Tweets.py) |
| 1683 | SQL | Easy | [Invalid-Tweets.sql](Solutions\Easy-1683-Invalid-Tweets.sql) |
| 1757 | SQL | Easy | [Recyclable-and-Low-Fat-Products.sql](Solutions\Easy-1757-Recyclable-and-Low-Fat-Products.sql) |