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

49 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 Java Kotlin Medium
0001. Two sum Solution Solution Medium
0020. ValidParentheses Solution - -
0026. Remove Duplicates Solution - -
0027. Remove Element Solution - -
0104. Maximum Depth of Binary Tree Solution - -
0111. Minimum Depth of Binary Tree Solution - -
0125. Valid Palindrome Solution 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 Solution -
0268. Missing Number Solution Solution Medium
0387. First Unique Character in a String Solution Solution Medium
0389. Find the Difference Solution - Medium
0409. Longest Palindrome Solution - -
0495. Teemo Attacking Solution - -
0509. Fibonacci Number Solution - -
0594. Longest Harmonious Subsequence Solution - Medium
0605. Can Place Flowers Solution - -
0637. Average of Levels in Binary Tree Solution - -
0704. Binary Search Solution Solution -
0993. Cousins in Binary Tree Solution - -
1137. N-th Tribonacci Number Solution - -
1351. Count Negative Numbers in a Sorted Matrix Solution - -
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

πŸ”₯πŸ”₯ Medium

Challenge Java Kotlin Medium
0003. Longest Substring Without Repeating Characters Solution Solution -
0005. Longest Palindromic Substring Solution - -
0017. Letter Combinations of a Phone Number Solution - -
0039. Combination Sum Solution - -
0046. Permutations Solution - Medium
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 - -
0103. Binary Tree Zigzag Level Order Traversal Solution - -
0107. Binary Tree Level Order Traversal II Solution - -
0122. Best Time to Buy and Sell Stock II Solution - Medium
0137. Single Number II Solution - -
0198. House Robber Solution - -
0208. Implement Trie (Prefix Tree) Solution Solution Medium
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 - -
1143. Longest Common Subsequence Solution - -
3169. Count Days Without Meetings Solution - -

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

Challenge Java Kotlin Medium
0041. First Missing Positive Solution Solution Medium
0220. Contains Duplicate III Solution - Medium
2514. Count Anagrams Solution - -

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

πŸ‘‡ 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

Sponsor this project

 

Packages

No packages published