https://github.com/shivanmathur/leetcode
https://github.com/shivanmathur/leetcode
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/shivanmathur/leetcode
- Owner: ShivanMathur
- Created: 2024-07-12T02:54:49.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-01T20:41:54.000Z (about 1 year ago)
- Last Synced: 2025-05-01T21:37:08.417Z (about 1 year ago)
- Language: Java
- Size: 344 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LeetCode
Arrays
Check if Array Is Sorted and Rotated
Check if Array Is Sorted and Rotated
Contains Duplicate
Contains Duplicate
Missing Number
Missing Number
Find All Numbers Disappeared in an Array
Find All Numbers Disappeared in an Array
Single Number
Single Number
Find All Duplicates in an Array
Find All Duplicates in an Array
Longest Consecutive Sequence
Longest Consecutive Sequence
Merge Sorted Array
Merge Sorted Array
Remove Element
Remove Element
Remove Duplicates from Sorted Array
Remove Duplicates from Sorted Array
Remove Duplicates from Sorted Array II
Remove Duplicates from Sorted Array II
Majority Element
Majority Element
Rotate Array
Rotate Array
Best Time to Buy and Sell Stock
Best Time to Buy and Sell Stock
Roman to Integer
Roman to Integer
Max Consecutive Ones
Max Consecutive Ones
Two Pointers
Two Sum
Two Sum
Squares of a Sorted Array
Squares of a Sorted Array
Move Zeroes
Move Zeroes
Is Subsequence
Is Subsequence
3Sum
3Sum
4Sum
4Sum
Container With Most Water
Container With Most Water
Sort Colors
Sort Colors
Valid Palindrome
Valid Palindrome
Two Sum II - Input Array Is Sorted
Two Sum II - Input Array Is Sorted
Rearrange Array Elements by Sign
Rearrange Array Elements by Sign
Next Permutation
Next Permutation
Pascal's Triangle
Pascal's Triangle
Majority Element II
Majority Element II
Sliding Window
Maximum Average Subarray I
Maximum Average Subarray I
Minimum Size Subarray Sum
Minimum Size Subarray Sum
Fruits in basket
Fruits in basket
Contains Duplicate II
Contains Duplicate II
Longest Substring Without Repeating Characters
Longest Substring Without Repeating Characters
Prefix Sum
Subarray Sum Equals K
Subarray Sum Equals K
Matrix
Set Matrix Zeroes
Set Matrix Zeroes
Rotate Image
Rotate Image
Spiral Matrix
Spiral Matrix
HashMap
Isomorphic Strings
Isomorphic Strings
Word Pattern
Word Pattern
Group Anagrams
Group Anagrams
Ransom Note
Ransom Note
Intervals
Merge Intervals
Merge Intervals
Linked List
Linked List Cycle
Linked List Cycle
Linked List Cycle II
Linked List Cycle II
Add Two Numbers
Add Two Numbers
Merge Two Sorted Lists
Merge Two Sorted Lists
Remove Nth Node From End of List
Remove Nth Node From End of List
Rotate List
Rotate List
Binary Search
Binary Search
Binary Search
Search Insert Position
Search Insert Position
Find First and Last Position of Element in Sorted Array
Find First and Last Position of Element in Sorted Array
Peak Index in a Mountain Array
Peak Index in a Mountain Array
Search in Rotated Sorted Array
Search in Rotated Sorted Array
Search in Rotated Sorted Array II
Search in Rotated Sorted Array II
Find Minimum in Rotated Sorted Array
Find Minimum in Rotated Sorted Array
Single Element in a Sorted Array
Single Element in a Sorted Array
Find Peak Element
Find Peak Element
Koko Eating Bananas
Koko Eating Bananas
Minimum Number of Days to Make m Bouquets
Minimum Number of Days to Make m Bouquets
Find the Smallest Divisor Given a Threshold
Find the Smallest Divisor Given a Threshold
Capacity To Ship Packages Within D Days
Capacity To Ship Packages Within D Days
Kth Missing Positive Number
Kth Missing Positive Number
Split Array Largest Sum
Split Array Largest Sum
Median of Two Sorted Arrays
Median of Two Sorted Arrays
Search a 2D Matrix
Search a 2D Matrix
Search a 2D Matrix II
Search a 2D Matrix II
Find a Peak Element II
Find a Peak Element II
Binary Tree
Binary Tree Preorder Traversal
Binary Tree Preorder Traversal
Binary Tree Inorder Traversal
Binary Tree Inorder Traversal
Binary Tree Postorder Traversal
Binary Tree Postorder Traversal
Binary Tree Level Order Traversal
Binary Tree Level Order Traversal
Maximum Depth of Binary Tree
Maximum Depth of Binary Tree
Balanced Binary Tree
Balanced Binary Tree
Diameter of Binary Tree
Diameter of Binary Tree
Binary Tree Maximum Path Sum
Binary Tree Maximum Path Sum
Same Tree
Same Tree
Invert Binary Tree
Invert Binary Tree
Path Sum
Path Sum
Binary Tree Zigzag Level Order Traversal
Binary Tree Zigzag Level Order Traversal
Vertical Order Traversal of a Binary Tree
Vertical Order Traversal of a Binary Tree
Binary Tree Right Side View
Binary Tree Right Side View
Symmetric Tree
Symmetric Tree
Lowest Common Ancestor of a Binary Tree
Lowest Common Ancestor of a Binary Tree
Maximum Width of Binary Tree
Maximum Width of Binary Tree
Average of Levels in Binary Tree
Average of Levels in Binary Tree
All Nodes Distance K in Binary Tree
All Nodes Distance K in Binary Tree
Count Complete Tree Nodes
Count Complete Tree Nodes
Construct Binary Tree from Preorder and Inorder Traversal
Construct Binary Tree from Preorder and Inorder Traversal
Construct Binary Tree from Inorder and Postorder Traversal
Construct Binary Tree from Inorder and Postorder Traversal
Serialize and Deserialize Binary Tree
Serialize and Deserialize Binary Tree
Flatten Binary Tree to Linked List
Flatten Binary Tree to Linked List
Binary Search Tree
Search in a Binary Search Tree
Search in a Binary Search Tree
Insert into a Binary Search Tree
Insert into a Binary Search Tree
Delete Node in a BST
Delete Node in a BST
Kth Smallest Element in a BST
Kth Smallest Element in a BST
Validate Binary Search Tree
Validate Binary Search Tree
Lowest Common Ancestor of a Binary Search Tree
Lowest Common Ancestor of a Binary Search Tree
Construct Binary Search Tree from Preorder Traversal
Construct Binary Search Tree from Preorder Traversal
Binary Search Tree Iterator
Binary Search Tree Iterator
1D Dynamic Programming
Fibonacci Number
Fibonacci Number
Climbing Stairs
Climbing Stairs
House Robber
House Robber
2D/3D DP and DP on Grids
Unique Paths
Unique Paths
Unique Paths II
Unique Paths II
Minimum Path Sum
Minimum Path Sum
Triangle
Triangle
Minimum Falling Path Sum
Minimum Falling Path Sum
DP on Subsequences
Partition Equal Subset Sum
Partition Equal Subset Sum
Assign Cookies
Assign Cookies
Coin Change
Coin Change
Target Sum
Target Sum