Skip to content

πŸ’Ž πŸ’Ž πŸ’Ž Elegant solutions to LeetCode challenges in Java and Kotlin, thoughtfully crafted with a focus on readability, consistent style, and adherence to modern standards across diverse topics. This repository is complemented by in-depth Medium blogs

License

Notifications You must be signed in to change notification settings

nphausg/leetcode.solution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

35 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

nphausg

LeetCode Practise

PRs welcome!
Elegant solutions to LeetCode challenges in Java and Kotlin, thoughtfully crafted with a focus on readability consistent style, and adherence to modern standards across diverse topics. This repository is complemented by in-depth Medium blogs, offering comprehensive explanations for each solution



-----------------------------------------------------

πŸ‘‡ Overview

nphausg

LeetCode is the best platform to help you enhance your skills, expand your knowledge and prepare for technical interviews.

LeetCode: https://leetcode.com/nphausg

Medium: https://medium.com/@nphausg

πŸ’Ž Challenges

πŸ”₯ Easy

Challenge Level Java Kotlin Medium
0001. Two sum πŸ”₯ Solution Solution Medium
0020. ValidParentheses πŸ”₯ Solution - -
0026. Remove Duplicates πŸ”₯ Solution - -
0027. Remove Element πŸ”₯ Solution - -
0125. Valid Palindrome πŸ”₯ Solution - -
0118. Pascal's Triangle πŸ”₯ Solution - -
0121. Best time to buy and sell stock πŸ”₯ Solution Solution Medium
0136. Single Number πŸ”₯ Solution - -
0217. Contains Duplicate πŸ”₯ Solution - Medium
0242. Valid Anagram πŸ”₯ Solution - Medium
0268. Missing Number πŸ”₯ - - Medium
0387. First Unique Character in a String πŸ”₯ Solution - Medium
0389. Find the Difference πŸ”₯ Solution - Medium
0409. Longest Palindrome πŸ”₯ Solution - Medium
0495. Teemo Attacking πŸ”₯ Solution - Medium
0509. Fibonacci Number πŸ”₯ Solution - Medium
0594. Longest Harmonious Subsequence πŸ”₯ Solution - Medium
0605. Can Place Flowers πŸ”₯ Solution - Medium
0704. Binary Search πŸ”₯ Solution - Medium
1137. N-th Tribonacci Number πŸ”₯ Solution - Medium
1351. Count Negative Numbers in a Sorted Matrix πŸ”₯ Solution - Medium
1929. Concatenation Of Array πŸ”₯ Solution - -
2273. Find Resultant Array After Removing Anagrams πŸ”₯ Solution - -
2351. First Letter to Appear Twice πŸ”₯ Solution - Medium
2529. Maximum Count of Positive Integer and Negative Integer πŸ”₯ Solution - Medium
2824. Count Pairs Whose Sum is Less than Target πŸ”₯ Solution - -
2848. Points That Intersect With Cars πŸ”₯ Solution - -

πŸ”₯πŸ”₯ Medium

Challenge Level Java Kotlin Medium
0017. Letter Combinations of a Phone Number πŸ”₯πŸ”₯ Solution - -
0039. Combination Sum πŸ”₯πŸ”₯ Solution - -
0046. Permutations πŸ”₯πŸ”₯ Solution - -
0049. Group Anagrams πŸ”₯πŸ”₯ Solution - -
0053. Maximum Subarray πŸ”₯πŸ”₯ Solution - -
0056. Merge Intervals πŸ”₯πŸ”₯ Solution - -
0062. Unique Paths πŸ”₯πŸ”₯ Solution - -
0063. Unique Paths II πŸ”₯πŸ”₯ Solution - -
0064. Minimum Path Sum πŸ”₯πŸ”₯ Solution - -
0091. Decode Ways πŸ”₯πŸ”₯ Solution - -
0102. Binary Tree Level Order Traversal πŸ”₯πŸ”₯ Solution - -
0122. Best Time to Buy and Sell Stock II πŸ”₯πŸ”₯ Solution - -
0137. Single Number II πŸ”₯πŸ”₯ Solution - -
0198. House Robber πŸ”₯πŸ”₯ Solution - -
0219. Contains Duplicate II πŸ”₯πŸ”₯ Solution - Medium
0238. Product of Array Except Self πŸ”₯πŸ”₯ Solution - Medium
0260. Single Number III πŸ”₯πŸ”₯ Solution - -
0438. Find All Anagrams in a String πŸ”₯πŸ”₯ Solution - -
0567. Permutation in String πŸ”₯πŸ”₯ Solution - Medium
0658. Find K Closest Elements πŸ”₯πŸ”₯ Solution - -
0714. Best Time to Buy and Sell Stock with Transaction Fee πŸ”₯πŸ”₯ Solution - Medium
0729. My Calendar I πŸ”₯πŸ”₯ Solution - Medium
1017. Convert to Base -2 πŸ”₯πŸ”₯ Solution - Medium
1143. Longest Common Subsequence πŸ”₯πŸ”₯ Solution - -
3169. Count Days Without Meetings πŸ”₯πŸ”₯ Solution - -

πŸ”₯πŸ”₯πŸ”₯ Hard

Challenge Level Java Kotlin Medium
0041. First Missing Positive πŸ”₯πŸ”₯πŸ”₯ Solution Solution Medium
0220. Contains Duplicate III πŸ”₯πŸ”₯πŸ”₯ Solution - Medium

-----------------------------------------------------

πŸ‘‡ Author

nphausg

About

πŸ’Ž πŸ’Ž πŸ’Ž Elegant solutions to LeetCode challenges in Java and Kotlin, thoughtfully crafted with a focus on readability, consistent style, and adherence to modern standards across diverse topics. This repository is complemented by in-depth Medium blogs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published