This project contains Java solutions of leetcode problems & basic Java concepts for Data Structures and Algorithms.
- 1 - Two Sum
- 2 - Add Two Numbers
- 3 - Longest Substring Without Repeating Characters
- 7 - Reverse Integer
- 8 - String to Integer (atoi)
- 9 - Palindrome Number
- 11 - Container With Most Water
- 12 - Integer to Roman
- 13 - Roman to Integer
- 14 - Longest Common Prefix
- 15 - 3Sum
- 16 - 3Sum Closest
- 20 - Valid Parentheses
- 21 - Merge Two Sorted Lists
- 28 - Implement strStr()
- 48 - Rotate Image
- 49 - Group Anagrams
- 53 - Maximum Subarray
- 121 - Best Time to Buy and Sell Stock
- 125 - Valid Palindrome
- 165 - Compare Version Numbers
- 169 - Majority Element
- 189 - Rotate Array
- 217 - Contains Duplicate
- 229 - Majority Element II
- 238 - Product of Array Except Self
- 268 - Missing Number
- 283 - Move Zeroes
- 387 - First Unique Character in a String
- 560 - Subarray Sum Equals K
- 819 - Most Common Word
- 937 - Reorder Data in Log Files
- 977 - Squares of a Sorted Array