Num | Question | Difficulty | Solution |
---|---|---|---|
1 | 1. Two Sum | Link | |
2 | 3. Longest Substring Without Repeating Characters | Link | |
3 | 7. Reverse Integer | Link | |
4 | 9. Palindrome Number | Link | |
5 | 12. Integer to Roman | Link | |
6 | 13. Roman to Integer | Link | |
7 | 14. Longest Common Prefix | Link | |
8 | 20. Valid Parentheses | Link | |
9 | 26. Remove Duplicates from Sorted Array | Link | |
10 | 27. Remove Element | Link | |
11 | 28. Find the Index of the First Occurrence in a String | Link | |
12 | 33. Search in Rotated Sorted Array | Link | |
13 | 34. Find First and Last Position of Element in Sorted Array | Link | |
14 | 35. Search Insert Position | Link | |
15 | 36. Valid Sudoku | Link | |
16 | 49. Group Anagrams | Link | |
17 | 50. Pow(x, n) | Link | |
18 | 58. Length of Last Word | Link | |
19 | 66. Plus One | Link | |
20 | 67. Add Binary | Link | |
21 | 69. Sqrt(x) | Link | |
22 | 74. Search a 2D Matrix | Link | |
23 | 83. Remove Duplicates from Sorted List | Link | |
24 | 88. Merge Sorted Array | Link | |
25 | 118. Pascal's Triangle | Link | |
26 | 119. Pascal's Triangle II | Link | |
27 | 121. Best Time to Buy and Sell Stock | Link | |
28 | 125. Valid Palindrome | Link | |
29 | 128. Longest Consecutive Sequence | Link | |
30 | 136. Single Number | Link | |
31 | 150. Evaluate Reverse Polish Notation | Link | |
32 | 167. Two Sum II - Input Array Is Sorted | Link | |
33 | 169. Majority Element | Link | |
34 | 202. Happy Number | Link | |
35 | 205. Isomorphic Strings | Link | |
36 | 206. Reverse Linked List | Link | |
37 | 217. Contains Duplicate | Link | |
38 | 225. Implement Stack using Queues | Link | |
39 | 228. Summary Ranges | Link | |
40 | 229. Majority Element II | Link | |
41 | 231. Power of Two | Link | |
42 | 238. Product of Array Except Self | Link | |
43 | 242. Valid Anagram | Link | |
44 | 258. Add Digits | Link | |
45 | 268. Missing Number | Link | |
46 | 278. First Bad Version | Link | |
47 | 283. Move Zeroes | Link | |
48 | 287. Find the Duplicate Number | Link | |
49 | 290. Word Pattern | Link | |
50 | 326. Power of Three | Link | |
51 | 342. Power of Four | Link | |
52 | 344. Reverse String | Link | |
53 | 347. Top K Frequent Elements | Link | |
54 | 349. Intersection of Two Arrays | Link | |
55 | 380. Insert Delete GetRandom O(1).md | Link | |
56 | 383. Ransom Note | Link | |
57 | 387. First Unique Character in a String | Link | |
58 | 389. Find the Difference | Link | |
59 | 392. Is Subsequence | Link | |
60 | 412. Fizz Buzz | Link | |
61 | 415. Add Strings | Link | |
62 | 459. Repeated Substring Pattern | Link | |
63 | 463. Island Perimeter | Link | |
64 | 496. Next Greater Element I | Link | |
65 | 520. Detect Capital | Link | |
66 | 557. Reverse Words in a String III | Link | |
67 | 567. Permutation in String | Link | |
68 | 581. Shortest Unsorted Continuous Subarray | Link | |
69 | 595. Big Countries | Link | |
70 | 609. Find Duplicate File in System | Link | |
71 | 657. Robot Return to Origin | Link | |
72 | 682. Baseball Game | Link | |
73 | 704. Binary Search | Link | |
74 | 706. Design HashMap | Link | |
75 | 709. To Lower Case | Link | |
76 | 724. Find Pivot Index | Link | |
77 | 771. Jewels and Stones | Link | |
78 | 844. Backspace String Compare | Link | |
79 | 896. Monotonic Array | Link | |
80 | 912. Sort an Array | Link | |
81 | 917. Reverse Only Letters | Link | |
82 | 981. Time Based Key-Value Store | Link | |
83 | 1021. Remove Outermost Parentheses | Link | |
84 | 1048. Longest String Chain | Link | |
85 | 1089. Duplicate Zeros | Link | |
86 | 1108. Defanging an IP Address | Link | |
87 | 1207. Unique Number of Occurrences | Link | |
88 | 1275. Find Winner on a Tic Tac Toe Game | Link | |
89 | 1299. Replace Elements with Greatest Element on Right Side | Link | |
90 | 1337. The K Weakest Rows in a Matrix | Link | |
91 | 1365. How Many Numbers Are Smaller Than the Current Number | Link | |
92 | 1347. Minimum Number of Steps to Make Two Strings Anagram | Link | |
93 | 1464. Maximum Product of Two Elements in an Array | Link | |
94 | 1480. Running Sum of 1d Array | Link | |
95 | 1491. Average Salary Excluding the Minimum and Maximum Salary | Link | |
96 | 1496. Path Crossing | Link | |
97 | 1502. Can Make Arithmetic Progression From Sequence | Link | |
98 | 1512. Number of Good Pairs | Link | |
99 | 1523. Count Odd Numbers in an Interval Range | Link | |
100 | 1535. Find the Winner of an Array Game | Link | |
101 | 1572. Matrix Diagonal Sum | Link | |
102 | 1603. Design Parking System | Link | |
103 | 1657. Determine if Two Strings Are Close | Link | |
104 | 1704. Determine if String Halves Are Alike | Link | |
105 | 1757. Recyclable and Low Fat Products | Link | |
106 | 1768. Merge Strings Alternately | Link | |
107 | 1773. Count Items Matching a Rule | Link | |
108 | 1822. Sign of the Product of an Array | Link | |
109 | 1845. Seat Reservation Manager | Link | |
110 | 1920. Build Array from Permutation | Link | |
111 | 1929. Concatenation of Array | Link | |
112 | 2129. Capitalize the Title | Link | |
113 | 2215. Find the Difference of Two Arrays | Link | |
114 | 2225. Find Players With Zero or One Losses | Link | |
115 | 2460. Apply Operations to an Array | Link | |
116 | 2610. Convert an Array Into a 2D Array With Conditions | Link | |
117 | 2785. Sort Vowels in a String | Link | |
118 | 2904. Shortest and Lexicographically Smallest Beautiful String | Link |
-
Notifications
You must be signed in to change notification settings - Fork 0
Saurabhsing21/leetcode_java
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
Repository files navigation
About
A collection of Java solutions for various LeetCode problems that i have solved
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published