Skip to content

Anmol53/leetcode-problems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leetcode Problems Solutions

GitHub last commit GitHub commit activity License Badge Forks Badge Stars Badge Languages GitHub repo size in bytes GitHub followers

Why this repository?

This is mostly for my personal learning and future references, and if anyone needs help with a certain problem.

"Try the problem yourself first, then only proceed to the solution. BE FAITHFUL TO YOUR WORK."

If found helpful please press a ⭐.

Other Similar Repositories


Repo : Hackerrank Problems
                                                                                        


                                                                                        
Repo : InterviewBit Problems

INDEX

Algorithms

#ID ProblemStatement Solutionjava Solutionjs Difficulty
1 Two Sum Solution.java Solution.js Easy
2 Add Two Numbers Solution.java Medium
3 Longest Substring Without Repeating Characters Solution.java Solution.js Medium
7 Reverse Integer Solution.java Solution.js Easy
9 Palindrome Number Solution.java Solution.js Easy
13 Roman to Integer Solution.java Solution.js Easy
14 Longest Common Prefix Solution.java Solution.js Easy
19 Remove Nth Node From End of List Solution.java Solution.js Medium
20 Valid Parentheses Solution.java Solution.js Easy
21 Merge Two Sorted Lists Solution.java Solution.js Easy
27 Remove Element Solution.java Solution.js Easy
28 Implement strStr() Solution.java Solution.js Easy
33 Search in Rotated Sorted Array Solution.java Medium
35 Search Insert Position Solution.java Solution.js Easy
38 Count and Say Solution.java Easy
49 Group Anagrams Solution.java Medium
50 Pow(x,n) Solution.java Solution.js Medium
53 Maximum Subarray Solution.java Solution.js Easy
55 Jump Game Solution.java Solution.js Medium
58 Length of Last Word Solution.java Solution.js Easy
60 Permutation Sequence Solution.java Hard
64 Minimum Path Sum Solution.java Solution.js Medium
66 Plus One Solution.java Solution.js Easy
67 Add Binary Solution.java Solution.js Easy
69 Sqrt(x) Solution.java Solution.js Easy
70 Climbing Stairs Solution.java Solution.js Easy
72 Edit Distance Solution.java Hard
75 Sort Colors Solution.java Solution.js Medium
100 Same Tree Solution.java Solution.js Easy
103 Binary Tree Zigzag Level Order Traversal Solution.java Medium
104 Maximum Depth of Binary Tree Solution.java Solution.js Easy
106 Construct Binary Tree from Inorder and Postorder Traversal Solution.java Solution.js Medium
107 Binary Tree Level Order Traversal II Solution.java Easy
122 Best Time to Buy and Sell Stock II Solution.java Solution.js Easy
125 Valid Palindrome Solution.java Solution.js Easy
129 Sum Root to Leaf Numbers Solution.java Solution.js Medium
130 Surrounded Regions Solution.java Solution.js Medium
136 Single Number Solution.java Solution.js Easy
137 Single Number II Solution.java Solution.js Medium
151 Reverse Words in a String Solution.js Medium
154 Find Minimum in Rotated Sorted Array II Solution.java Solution.js Hard
155 Min Stack Solution.java Easy
169 Majority Element Solution.java Solution.js Easy
171 Excel Sheet Column Number Solution.java Solution.js Easy
172 Factorial Trailing Zeroes Solution.java Solution.js Easy
189 Rotate Array Solution.java Solution.js Easy
190 Reverse Bits Solution.java Solution.js Easy
200 Number of Islands Solution.java Medium
202 Happy Number Solution.java Solution.js Easy
203 Remove Linked List Elements Solution.java Solution.js Easy
206 Reverse Linked List Solution.java Solution.js Easy
207 Course Schedule Solution.java Medium
208 Implement Trie (Prefix Tree) Solution.java Medium
217 Contains Duplicate Solution.java Solution.js Easy
221 Maximal Square Solution.java Solution.js Medium
222 Count Complete Tree Nodes Solution.java Solution.js Medium
226 Invert Binary Tree Solution.java Solution.js Easy
230 Kth Smallest Element in a BST Solution.java Solution.js Medium
231 Power of Two Solution.java Solution.js Easy
237 Delete Node in a Linked List Solution.java Solution.js Easy
238 Product of Array Except Self Solution.java Solution.js Medium
258 Add Digits Solution.java Solution.js Easy
260 Single Number III Solution.java Solution.js Medium
264 Ugly Number II Solution.java Solution.js Medium
1344 Angle Between Hands of a Clock Solution.java Solution.js Medium

Author

Anmol Agrawal

Mail ID | LinkedIn | GitHub | LeetCode | CodeChef | HackerRank

"Any suggestions would be appreciated"