DhirajGadekar / LeetCode-Java-Solution

LeetCode java solutions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LeetCode

LeetCode Java Solutions

💡 Solutions to LeetCode in Java. This repository aims to provide code with good readability and consistent style over various topics and embraces new standards.
📍Starts From : 10 May 2023

Total: 67

Easy Medium Hard Total
34 30 3 67

Problems :

Question Solution Difficulty
1. Two Sum Solution Easy
2. Find The Pivot Integer Solution Easy
3. LengthofLastWord Solution Easy
4. Find Numbers with Even Number of Digits Solution Easy
5. Find Pivot Index Solution Easy
6. Missing Number Solution Easy
7. Reverse String Solution Easy
8. Running Sum of 1d Array Solution Easy
9. Find The Highest Altitude Solution Easy
10. Find the Index of the First Occurrence in a String Solution Easy
11. Search Insert Position Solution Easy
12. Remove Element Solution Easy
13. Right Left Sum Differnce Solution Easy
14. Squares of a Sorted Array Solution Easy
15. Valid Palindrome Solution Easy
16. Median of Two Sorted Arrays Solution Hard
17. Find the Duplicate Number Solution Medium
18. Sort an Array Solution Medium
19. Product of Array Except Self Solution Medium
20. Palindrome Number Solution Easy
21. Valid Parentheses Solution Easy
22. Reverse Integer Solution Medium
23. Subarray Sum Equals K Solution Medium
24. Find First and Last Position of Element in Sorted Array Solution Medium
25. Find Peak Element Solution Medium
26. Remove Nth Node From End of List Solution Medium
27. Divide Two Integers Solution Medium
28. Longest Substring Without Repeating Characters Solution Medium
29. First Missing Positive Solution Hard
30. Majority Element Solution Easy
31. Remove Duplicates from Sorted Array Solution Easy
32. Merge Sorted Array Solution Easy
33. Move Zeroes Solution Easy
34. Find the Middle Index in Array Solution Easy
35. Merge Two Sorted Lists Solution Easy
36. Roman to Integer Solution Easy
37. Range Sum Query - Immutable Solution Easy
38. Count Vowel Strings in Ranges Solution Medium
39. Check If String Is a Prefix of Array Solution Easy
40. Search in Rotated Sorted Array Solution Medium
41. Add Two Numbers Solution Medium
42. Swap Nodes in Pairs Solution Medium
43. Find Minimum in Rotated Sorted Array Solution Medium
44. Sort Colors Solution Medium
45. Insert Greatest Common Divisors in Linked List Solution Medium
46. Spiral Matrix Solution Medium
47. Single Number Solution Easy
48. Remove Duplicates From Sorted Array II Solution Medium
49. Searcha 2D Matrix Solution Medium
50. Searcha 2D Matrix II Solution Medium
51. Rotate Image Solution Medium
52. Search in Rotated Sorted Array II Solution Medium
53. Concatenation of Array Solution Medium
54. Find The Original Array of Prefix XOR Solution Medium
55. Middle of the Linked List Solution Easy
56. Check If Two String Arraysare Equivalent Solution Easy
57. Remove Linked List Elements Solution Easy
58. Reverse Linked List Solution Easy
59. Palindrome Linked List Solution Easy
60. Reverse Linked List II Solution Medium
61. Reverse Nodes in k-Group Solution Hard
62. Implement Queue Using Stacks Solution Easy
63. Subrectangle Queries Solution Medium
64. Min Stack Solution Medium
65. Buildan Array With Stack Operations Solution Medium
66. Minimum Time to Make Rope Colorful Solution Medium
67. Remove Duplicates from Sorted List Solution Easy

Contributor :

Dhiraj Gadekar
Dhiraj Gadekar

Contributions are welcome! If you have any suggestions, improvements, or additional examples related to the Singleton pattern, feel free to open an issue or submit a pull request.

Feedback

If you have any feedback, please reach out to us at Email