Skip to content

HardikSJain/LeetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algorithms

# Title Solutions Difficulty Tag
0001 Two Sum CPP Easy Array, HashMap
0009 Palindrome Number CPP Easy Math
0015 3Sum CPP Medium 2 Pointer
0020 Valid Parentheses CPP Easy Stack
0034 Find First and Last Position of Element in Sorted Array CPP Medium Binary Search
0053 Maximum Subarray CPP Easy DP
0054 Spiral Matrix CPP Medium Matrix
0073 Set Matrix Zeroes CPP Medium Matrix
0074 Search a 2D Matrix CPP Medium Matrix
0075 Sort Colors CPP Medium 2 pointer
0084 Largest Rectangle in Histogram CPP HARD Stack
0088 Merge Sorted Array CPP Easy 2 Pointer
0118 Pascal's Triangle CPP Easy Array
0121 Best Time to Buy and Sell Stock CPP Easy Array (Kadane's Algo)
0125 Valid Palindrome CPP Easy 2 Pointer
0128 Longest Consecutive Sequence CPP Medium Array
0136 Single Number CPP Easy Bit Manipulation
0153 Find Minimum in Rotated Sorted Array CPP Medium Binary Search
0167 Two Sum II - Input Array Is Sorted CPP Medium Binary Search
0168 Excel Sheet Column Title CPP Easy String
0191 Number of 1 Bits CPP Easy Bit Manipulation
0206 Reverse Linked List CPP Easy LinkedList
0215 Kth Largest Element in an Array CPP Medium
0217 Contains Duplicate CPP Easy Array, HashMap, Sorting
0237 Delete Node in a Linked List CPP Easy Linked List
0238 Product of Array Except Self CPP Medium Array
0242 Valid Anagram CPP Easy HashMap
0287 Find the Duplicate Number CPP Medium Array
0338 Counting Bits CPP Easy Bit Manipulation
0344 Reverse String CPP Easy 2 Pointer
0347 Top K Frequent Elements CPP Medium HashMap
0350 Intersection of Two Arrays II CPP Easy 2 Pointer , HashMap
0412 Fizz Buzz CPP Easy
0496 Next Greater Element I CPP Easy Stack
0503 Next Greater Element II CPP Medium Stack
0509 Fibonacci Number CPP Easy Recursion
0566 Reshape the Matrix CPP Easy Matrix
0581 Shortest Unsorted Continuous Subarray CPP Medium 2 Pointer
0665 Non-decreasing Array CPP Medium Array
0674 Longest Continuous Increasing Subsequence CPP Easy Array
0739 Daily Temperatures CPP Medium Stack
0771 Jewels and Stones CPP Easy
0844 Backspace String Compare CPP Easy Stack, 2 Pointer
0875 Koko Eating Bananas CPP Medium Binary Search
0876 Middle of the Linked List CPP Easy Linked List, 2 Pointer
0901 Online Stock Span CPP Medium Stack
0908 Smallest Range I CPP Easy
1011 Capacity To Ship Packages Within D Days CPP Medium Binary Search
1365 How Many Numbers Are Smaller Than the Current Number CPP Easy HashMap
1614 Maximum Nesting Depth of the Parentheses CPP Easy Stack
1757 Recyclable and Low Fat Products SQL Easy Database
2089 Find Target Indices After Sorting Array CPP Easy
2177 Find Three Consecutive Integers That Sum to a Given Number CPP Medium Math
2255 Count Prefixes of a Given String CPP Easy
2293 Min Max Game CPP Easy Divide & Conquer
2294 Partition Array Such That Maximum Difference Is K CPP Medium Greedy
2341 Maximum Number of Pairs in Array CPP Easy Array
2342 Max Sum of a Pair With Equal Sum of Digits CPP Medium
2344 Minimum Deletions to Make Array Divisible CPP Hard Array

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published