Skip to content

ahmedna126/java_leetcode_challenges

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

problem solving

Leetcode Stats

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

Releases

No releases published

Packages

No packages published