Skip to content

My solutions for the Leetcode problems in Java 🤖

Notifications You must be signed in to change notification settings

Jatin-8898/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode 🤖

Easy

# Title Solution Difficulty
1 Two Sum Java Easy
7 Reverse Integer Java Easy
9 Palindrome Number Java Easy
13 Roman to Integer Java Easy
14 Longest Common Prefix Java Easy
20 Valid Parentheses Java Easy
21 Merge Two Sorted Lists Java Easy
26 Remove Duplicates from Sorted Array Java Easy
35 Search Insert Position Java Easy
38 Count and Say Java Easy
66 Plus One Java Easy
69 Sqrt(x) Java Easy
70 Climbing Stairs Java Easy
83 Remove Duplicates from Sorted List Java Easy
88 Merge Sorted Array Java Easy
101 Symmetric Tree Java Easy
104 Maximum Depth of Binary Tree Java Easy
108 Convert Sorted Array to Binary Search Tree Java Easy
110 Balanced Binary Tree Java Easy
112 Path Sum Java Easy
118 Pascal's Triangle Java Easy
121 Best Time to Buy and Sell Stock Java Easy
125 Valid Palindrome Java Easy
136 Single Number Java Easy
141 Linked List Cycle Java Easy
155 Min Stack Java Easy
169 Majority Element Java Easy
171 Excel Sheet Column Number Java Easy
172 Factorial Trailing Zeroes Java Easy
189 Rotate Array Java Easy
190 Reverse Bits Java Easy
191 Number of 1 Bits Java Easy
198 House Robber Java Easy
202 Happy Number Java Easy
204 Count Primes Java Easy
205 Isomorphic Strings Java Easy
242 Valid Anagram Java Easy
268 Missing Number Java Easy
283 Move Zeroes Java Easy
290 Word Pattern Java Easy
326 Power of Three Java Easy
344 Reverse String Java Easy
350 Intersection of Two Arrays II Java Easy
371 Sum of Two Integers Java Easy
387 First Unique Character in a String Java Easy
412 Fizz Buzz Java Easy
448 Find All Numbers Disappeared in an Array Java Easy
496 Next Greater Element I Java Easy
617 Merge Two Binary Trees Java Easy
746 Min Cost Climbing Stairs Java Easy
796 Rotate String Java Easy
824 Goat Latin Java Easy
849 Maximize Distance to Closest Person Java Easy
884 Uncommon Words from Two Sentences Java Easy
917 Reverse Only Letters Java Easy
1071 Greatest Common Divisor of Strings Java Easy
1108 Defanging an IP Address Java Easy

Medium

# Title Solution Difficulty
8 String to Integer (atoi) Java Medium
11 Container With Most Water Java Medium
22 Generate Parentheses Java Medium
36 Valid Sudoku Java Medium
46 Permutations Java Medium
47 Permutations II Java Medium
48 Rotate Image Java Medium
49 Group Anagrams Java Medium
55 Jump Game Java Medium
62 Unique Paths Java Medium
63 Unique Paths II Java Medium
78 Subsets Java Medium
90 Subsets II Java Medium
91 Decode Ways Java Medium
94 Binary Tree Inorder Traversal Java Medium
96 Unique Binary Search Trees Java Medium
102 Binary Tree Level Order Traversal Java Medium
106 Construct Binary Tree from Inorder and Postorder Traversal Java Medium
179 Largest Number Java Medium
215 Kth Largest Element in an Array Java Medium
230 Kth Smallest Element in a BST Java Medium
238 Product of Array Except Self Java Medium
287 Find the Duplicate Number Java Medium
289 Game of Life Java Medium
347 Top K Frequent Elements Java Medium
378 Kth Smallest Element in a Sorted Matrix Java Medium
384 Shuffle an Array Java Medium
424 Longest Repeating Character Replacement Java Medium
454 4SumII Java Medium
1052 Grumpy Bookstore Owner Java Medium

Hard

# Title Solution Difficulty
42 Trapping Rain Water Java Hard
45 Jump Game II Java Hard
57 Insert Interval Java Hard
224 Basic Calculator Java Hard

SQL

# Title Solution Difficulty
175 Combine Two Tables SQL Easy
176 Second Highest Salary SQL Easy
177 Nth Highest Salary SQL Medium
178 Rank Scores SQL Medium
182 Duplicate Emails SQL Easy