Marcoc51 / leetcode

This is for leetcode problems solutions

Home Page:https://leetcode.com/problemset/all/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

leetcode

Welcome to my repository of solutions for LeetCode problems!
Here, you will find my solutions to various coding challenges on Data Structures and Algorithms.
These solutions have been tested and verified to work correctly on the LeetCode platform.

  1. Data Structures Problems:

ID Problem DIFFICULTY
1 Contains Duplicate Easy
2 Length of Last Word Easy
3 Valid Anagram Easy
4 Replace Elements with Greatest Element on Right Side Easy
5 Is Subsequence Easy
6 Two Sum Easy
7 Remove Element Easy
8 Longest Common Prefix Easy
9 Group Anagrams Medium
10 Majority Element Easy
11 Next Greater Element I Easy
12 Unique Email Addresses Easy
13 Isomorphic Strings Easy
14 Can Place Flowers Easy
15 Find Pivot Index Easy
16 Word Pattern Easy
17 Top K Frequent Elements Medium
18 Pascal's Triangle Easy
19 Plus One Easy
20 Find All Numbers Disappeared in an Array Easy
21 Sort Colors Medium
22 Maximum Number of Balloons Easy
23 Product of Array Except Self Medium
24 Valid Sudoku Medium
25 Longest Consecutive Sequence Medium
26 Best Time to Buy and Sell Stock II Medium
27 Best Time to Buy and Sell Stock Easy
28 Subarray Sum Equals K Medium
29 Encode and Decode TinyURL Medium
30 Repeated DNA Sequences Medium
31 Unique Length-3 Palindromic Subsequences Medium
32 Largest Number Medium
33 Find All Anagrams in a String Medium
34 Minimum Number of Swaps to Make the String Balanced Medium
35 Merge Sorted Array Easy
36 Valid Palindrome Easy
37 Valid Palindrome II Easy
38 Minimum Difference Between Highest and Lowest of K Scores Easy
39 Two Sum II - Input Array Is Sorted Medium
40 Reverse String Easy
41 Remove Duplicates from Sorted Array Easy
42 Rotate Array Medium
43 Move Zeroes Easy
44 3Sum Medium
45 Container With Most Water Medium
46 Boats to Save People Medium
47 Array With Elements Not Equal to Average of Neighbors Medium
48 Number of Subsequences That Satisfy the Given Sum Condition Medium
49 4Sum Medium
50 Find the Index of the First Occurrence in a String Medium
51 Trapping Rain Water Hard
52 Number of Pairs of Interchangeable Rectangles Medium
53 Insert Delete GetRandom O(1) Medium
  1. SQL I:

ID Problem DIFFICULTY
1 Big Countries Easy
2 Recyclable and Low Fat Products Easy
3 Find Customer Referee Easy
4 Customers Who Never Order Easy
5 Calculate Special Bonus Easy
6 Swap Salary Easy
7 Delete Duplicate Emails Easy
8 Fix Names in a Table Easy
9 Group Sold Products By The Date Easy
10 Patients With a Condition Easy
11 Employees With Missing Information Easy
12 Rearrange Products Table Easy
13 Tree Node Medium

About

This is for leetcode problems solutions

https://leetcode.com/problemset/all/


Languages

Language:Python 62.0%Language:SQL 37.2%Language:TSQL 0.8%