├── .gitignore ├── 1 Leetcode Easy Problems ├── LeetCode 94 Binary Tree Inorder Traversal using Iteration.java ├── LeetCode 94 Binary Tree Inorder Traversal using Recursion.java ├── Leetcode 1 Two Sum using Hashmap.java ├── Leetcode 1 TwoSum.java ├── Leetcode 112 Path Sum.java ├── Leetcode 118 Pascal's Triangle using Linkedlist.java ├── Leetcode 118 Pascal's Triangle using Recursion.java ├── Leetcode 118 Pascal's Triangle.java ├── Leetcode 118 Pascals Triangle using Dynamic Programming.java ├── Leetcode 121 Best Time to Buy and Sell Stock using Greedy.java ├── Leetcode 121 Best Time to Buy and Sell Stock.java ├── Leetcode 125 Valid Palindrome.java ├── Leetcode 13 Roman to Integer using Array.java ├── Leetcode 13 Roman to Integer using Hashmap.java ├── Leetcode 13 Roman to Integer using Math.java ├── Leetcode 136 Single Number.java ├── Leetcode 14 Longest Common Prefix.java ├── Leetcode 141 Linked List Cycle.java ├── Leetcode 144 Binary Tree Preorder Traversal using Iterative - Java Video Solution.java ├── Leetcode 144 Binary Tree Preorder Traversal using Recursion - Java Video Solution.java ├── Leetcode 145 Binary Tree Postorder Traversal using Iteration.java ├── Leetcode 145 Binary Tree Postorder Traversal using Recursion.java ├── Leetcode 160 Intersection of Two Linked Lists.java ├── Leetcode 168 Excel Sheet Column Title.java ├── Leetcode 169 Majority Element using Bit Manipulation.java ├── Leetcode 169 Majority Element using Hashmap.java ├── Leetcode 169 Majority Element using Sorting.java ├── Leetcode 171 Excel Sheet Column Number using Math.java ├── Leetcode 171 Excel Sheet Column Number.java ├── Leetcode 190 Reverse Bits.java ├── Leetcode 191 Number of 1 Bits.java ├── Leetcode 20 Valid Parentheses.java ├── Leetcode 202 Happy Number.java ├── Leetcode 203 Remove Linked List Elements.java ├── Leetcode 205 Isomorphic Strings.java ├── Leetcode 206 Reverse Linked List.java ├── Leetcode 21 Merge Two Sorted Lists.java ├── Leetcode 2148 Count Elements With Strictly Smaller and Greater Elements .java ├── Leetcode 217 Contains Duplicate using Hashmap.java ├── Leetcode 217 Contains Duplicate using sorting.java ├── Leetcode 219 Contains Duplicate II.java ├── Leetcode 222 Count Complete Tree Nodes.java ├── Leetcode 226 Invert Binary Tree.java ├── Leetcode 234 Palindrome Linked List.java ├── Leetcode 242 Valid Anagram.java ├── Leetcode 26 Remove Duplicates from Sorted Array.java ├── Leetcode 268 Missing Number.java ├── Leetcode 27 Remove Element using Two Pointers.java ├── Leetcode 27 Remove Element.java ├── Leetcode 278 First Bad Version.java ├── Leetcode 28 Find the Index of the First Occurrence in a String.java ├── Leetcode 283 Move Zeroes.java ├── Leetcode 290 Word Pattern.java ├── Leetcode 344 Reverse String.java ├── Leetcode 345 Reverse Vowels of a String.java ├── Leetcode 349 Intersection of Two Arrays.java ├── Leetcode 35 Search Insert Position using Binary Search.java ├── Leetcode 35 Search Insert Position.java ├── Leetcode 350 Intersection of Two Arrays II.java ├── Leetcode 374 Guess Number Higher or Lower.java ├── Leetcode 383 Ransom Note.java ├── Leetcode 387 First Unique Character in a String.java ├── Leetcode 389 Find the Difference.java ├── Leetcode 405 Convert a Number to Hexadecimal using Bit Manipulation.java ├── Leetcode 405 Convert a Number to Hexadecimal.java ├── Leetcode 415 Add Strings.java ├── Leetcode 441 Arranging Coins.java ├── Leetcode 509 Fibonacci Number.java ├── Leetcode 58 Length of Last Word.java ├── Leetcode 66 Plus One using Math.java ├── Leetcode 66 Plus One.java ├── Leetcode 67 Add Binary.java ├── Leetcode 69 Sqrt(x).java ├── Leetcode 70 Climbing Stairs.java ├── Leetcode 700 Search in a Binary Search Tree.java ├── Leetcode 83 Remove Duplicates from Sorted List.java ├── Leetcode 88 Merge Sorted Array using Sorting.java ├── Leetcode 88 Merge Sorted Array using Two Pointers.java ├── Leetcode 88 Merge Sorted Array.java ├── Leetcode 892 Surface Area of 3D Shapes.java ├── Leetcode 9 Palindrome Number.java ├── Leetcode 933 Number of Recent Calls.java ├── Leetcode 977 Squares of a Sorted Array.java └── Leetcode 997 Find the Town Judge.java ├── 2 Leetcode Medium Problems ├── Leetcode 11 Container With Most Water.java ├── Leetcode 15 3Sum.java ├── Leetcode 189 Rotate Array.java ├── Leetcode 204 Count Primes.java ├── Leetcode 215 Kth Largest Element in an Array using Sorting.java ├── Leetcode 215 Kth Largest Element in an Array.java ├── Leetcode 22 Generate Parentheses using Backtracking.java ├── Leetcode 22 Generate Parentheses.java ├── Leetcode 33 Search in Rotated Sorted Array.java ├── Leetcode 36 Valid Sudoku.java ├── Leetcode 53 Maximum Subarray.java ├── Leetcode 540 Single Element in a Sorted Array.java ├── Leetcode 74 Search a 2D Matrix.java ├── Leetcode 78 Subsets using Dynamic Programming.java └── Leetcode 78 Subsets.java ├── 3 Leetcode Hard Problems └── Leetcode 51 N-Queens.java ├── 4 Other Problems ├── ArrayCopy.java ├── ArraySum.java ├── BinarySearch.java ├── BubbleSort.java ├── Factorial.java ├── InsertionSort.java ├── ListNode.java ├── MergeSort.java ├── MiniMahjongWinningHand.java ├── MiniMahjongWinningHand2.java ├── QuickSort.java ├── RodCutting.java ├── SelectionSort.java ├── Solitaire.java ├── SortingAlgo.java ├── Sum.java └── TreeNode.java └── README.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/.gitignore -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/LeetCode 94 Binary Tree Inorder Traversal using Iteration.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/LeetCode 94 Binary Tree Inorder Traversal using Iteration.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/LeetCode 94 Binary Tree Inorder Traversal using Recursion.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/LeetCode 94 Binary Tree Inorder Traversal using Recursion.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 1 Two Sum using Hashmap.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 1 Two Sum using Hashmap.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 1 TwoSum.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 1 TwoSum.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 112 Path Sum.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 112 Path Sum.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 118 Pascal's Triangle using Linkedlist.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 118 Pascal's Triangle using Linkedlist.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 118 Pascal's Triangle using Recursion.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 118 Pascal's Triangle using Recursion.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 118 Pascal's Triangle.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 118 Pascal's Triangle.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 118 Pascals Triangle using Dynamic Programming.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 118 Pascals Triangle using Dynamic Programming.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 121 Best Time to Buy and Sell Stock using Greedy.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 121 Best Time to Buy and Sell Stock using Greedy.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 121 Best Time to Buy and Sell Stock.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 121 Best Time to Buy and Sell Stock.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 125 Valid Palindrome.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 125 Valid Palindrome.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 13 Roman to Integer using Array.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 13 Roman to Integer using Array.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 13 Roman to Integer using Hashmap.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 13 Roman to Integer using Hashmap.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 13 Roman to Integer using Math.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 13 Roman to Integer using Math.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 136 Single Number.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 136 Single Number.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 14 Longest Common Prefix.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 14 Longest Common Prefix.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 141 Linked List Cycle.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 141 Linked List Cycle.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 144 Binary Tree Preorder Traversal using Iterative - Java Video Solution.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 144 Binary Tree Preorder Traversal using Iterative - Java Video Solution.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 144 Binary Tree Preorder Traversal using Recursion - Java Video Solution.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 144 Binary Tree Preorder Traversal using Recursion - Java Video Solution.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 145 Binary Tree Postorder Traversal using Iteration.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 145 Binary Tree Postorder Traversal using Iteration.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 145 Binary Tree Postorder Traversal using Recursion.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 145 Binary Tree Postorder Traversal using Recursion.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 160 Intersection of Two Linked Lists.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 160 Intersection of Two Linked Lists.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 168 Excel Sheet Column Title.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 168 Excel Sheet Column Title.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 169 Majority Element using Bit Manipulation.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 169 Majority Element using Bit Manipulation.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 169 Majority Element using Hashmap.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 169 Majority Element using Hashmap.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 169 Majority Element using Sorting.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 169 Majority Element using Sorting.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 171 Excel Sheet Column Number using Math.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 171 Excel Sheet Column Number using Math.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 171 Excel Sheet Column Number.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 171 Excel Sheet Column Number.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 190 Reverse Bits.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 190 Reverse Bits.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 191 Number of 1 Bits.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 191 Number of 1 Bits.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 20 Valid Parentheses.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 20 Valid Parentheses.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 202 Happy Number.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 202 Happy Number.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 203 Remove Linked List Elements.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 203 Remove Linked List Elements.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 205 Isomorphic Strings.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 205 Isomorphic Strings.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 206 Reverse Linked List.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 206 Reverse Linked List.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 21 Merge Two Sorted Lists.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 21 Merge Two Sorted Lists.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 2148 Count Elements With Strictly Smaller and Greater Elements .java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 2148 Count Elements With Strictly Smaller and Greater Elements .java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 217 Contains Duplicate using Hashmap.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 217 Contains Duplicate using Hashmap.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 217 Contains Duplicate using sorting.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 217 Contains Duplicate using sorting.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 219 Contains Duplicate II.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 219 Contains Duplicate II.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 222 Count Complete Tree Nodes.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 222 Count Complete Tree Nodes.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 226 Invert Binary Tree.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 226 Invert Binary Tree.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 234 Palindrome Linked List.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 234 Palindrome Linked List.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 242 Valid Anagram.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 242 Valid Anagram.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 26 Remove Duplicates from Sorted Array.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 26 Remove Duplicates from Sorted Array.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 268 Missing Number.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 268 Missing Number.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 27 Remove Element using Two Pointers.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 27 Remove Element using Two Pointers.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 27 Remove Element.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 27 Remove Element.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 278 First Bad Version.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 278 First Bad Version.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 28 Find the Index of the First Occurrence in a String.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 28 Find the Index of the First Occurrence in a String.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 283 Move Zeroes.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 283 Move Zeroes.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 290 Word Pattern.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 290 Word Pattern.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 344 Reverse String.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 344 Reverse String.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 345 Reverse Vowels of a String.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 345 Reverse Vowels of a String.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 349 Intersection of Two Arrays.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 349 Intersection of Two Arrays.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 35 Search Insert Position using Binary Search.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 35 Search Insert Position using Binary Search.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 35 Search Insert Position.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 35 Search Insert Position.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 350 Intersection of Two Arrays II.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 350 Intersection of Two Arrays II.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 374 Guess Number Higher or Lower.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 374 Guess Number Higher or Lower.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 383 Ransom Note.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 383 Ransom Note.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 387 First Unique Character in a String.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 387 First Unique Character in a String.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 389 Find the Difference.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 389 Find the Difference.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 405 Convert a Number to Hexadecimal using Bit Manipulation.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 405 Convert a Number to Hexadecimal using Bit Manipulation.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 405 Convert a Number to Hexadecimal.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 405 Convert a Number to Hexadecimal.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 415 Add Strings.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 415 Add Strings.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 441 Arranging Coins.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 441 Arranging Coins.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 509 Fibonacci Number.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 509 Fibonacci Number.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 58 Length of Last Word.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 58 Length of Last Word.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 66 Plus One using Math.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 66 Plus One using Math.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 66 Plus One.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 66 Plus One.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 67 Add Binary.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 67 Add Binary.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 69 Sqrt(x).java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 69 Sqrt(x).java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 70 Climbing Stairs.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 70 Climbing Stairs.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 700 Search in a Binary Search Tree.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 700 Search in a Binary Search Tree.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 83 Remove Duplicates from Sorted List.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 83 Remove Duplicates from Sorted List.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 88 Merge Sorted Array using Sorting.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 88 Merge Sorted Array using Sorting.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 88 Merge Sorted Array using Two Pointers.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 88 Merge Sorted Array using Two Pointers.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 88 Merge Sorted Array.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 88 Merge Sorted Array.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 892 Surface Area of 3D Shapes.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 892 Surface Area of 3D Shapes.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 9 Palindrome Number.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 9 Palindrome Number.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 933 Number of Recent Calls.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 933 Number of Recent Calls.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 977 Squares of a Sorted Array.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 977 Squares of a Sorted Array.java -------------------------------------------------------------------------------- /1 Leetcode Easy Problems/Leetcode 997 Find the Town Judge.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/1 Leetcode Easy Problems/Leetcode 997 Find the Town Judge.java -------------------------------------------------------------------------------- /2 Leetcode Medium Problems/Leetcode 11 Container With Most Water.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/2 Leetcode Medium Problems/Leetcode 11 Container With Most Water.java -------------------------------------------------------------------------------- /2 Leetcode Medium Problems/Leetcode 15 3Sum.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/2 Leetcode Medium Problems/Leetcode 15 3Sum.java -------------------------------------------------------------------------------- /2 Leetcode Medium Problems/Leetcode 189 Rotate Array.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/2 Leetcode Medium Problems/Leetcode 189 Rotate Array.java -------------------------------------------------------------------------------- /2 Leetcode Medium Problems/Leetcode 204 Count Primes.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/2 Leetcode Medium Problems/Leetcode 204 Count Primes.java -------------------------------------------------------------------------------- /2 Leetcode Medium Problems/Leetcode 215 Kth Largest Element in an Array using Sorting.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/2 Leetcode Medium Problems/Leetcode 215 Kth Largest Element in an Array using Sorting.java -------------------------------------------------------------------------------- /2 Leetcode Medium Problems/Leetcode 215 Kth Largest Element in an Array.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/2 Leetcode Medium Problems/Leetcode 215 Kth Largest Element in an Array.java -------------------------------------------------------------------------------- /2 Leetcode Medium Problems/Leetcode 22 Generate Parentheses using Backtracking.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/2 Leetcode Medium Problems/Leetcode 22 Generate Parentheses using Backtracking.java -------------------------------------------------------------------------------- /2 Leetcode Medium Problems/Leetcode 22 Generate Parentheses.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/2 Leetcode Medium Problems/Leetcode 22 Generate Parentheses.java -------------------------------------------------------------------------------- /2 Leetcode Medium Problems/Leetcode 33 Search in Rotated Sorted Array.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/2 Leetcode Medium Problems/Leetcode 33 Search in Rotated Sorted Array.java -------------------------------------------------------------------------------- /2 Leetcode Medium Problems/Leetcode 36 Valid Sudoku.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/2 Leetcode Medium Problems/Leetcode 36 Valid Sudoku.java -------------------------------------------------------------------------------- /2 Leetcode Medium Problems/Leetcode 53 Maximum Subarray.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/2 Leetcode Medium Problems/Leetcode 53 Maximum Subarray.java -------------------------------------------------------------------------------- /2 Leetcode Medium Problems/Leetcode 540 Single Element in a Sorted Array.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/2 Leetcode Medium Problems/Leetcode 540 Single Element in a Sorted Array.java -------------------------------------------------------------------------------- /2 Leetcode Medium Problems/Leetcode 74 Search a 2D Matrix.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/2 Leetcode Medium Problems/Leetcode 74 Search a 2D Matrix.java -------------------------------------------------------------------------------- /2 Leetcode Medium Problems/Leetcode 78 Subsets using Dynamic Programming.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/2 Leetcode Medium Problems/Leetcode 78 Subsets using Dynamic Programming.java -------------------------------------------------------------------------------- /2 Leetcode Medium Problems/Leetcode 78 Subsets.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/2 Leetcode Medium Problems/Leetcode 78 Subsets.java -------------------------------------------------------------------------------- /3 Leetcode Hard Problems/Leetcode 51 N-Queens.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/3 Leetcode Hard Problems/Leetcode 51 N-Queens.java -------------------------------------------------------------------------------- /4 Other Problems/ArrayCopy.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/4 Other Problems/ArrayCopy.java -------------------------------------------------------------------------------- /4 Other Problems/ArraySum.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/4 Other Problems/ArraySum.java -------------------------------------------------------------------------------- /4 Other Problems/BinarySearch.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/4 Other Problems/BinarySearch.java -------------------------------------------------------------------------------- /4 Other Problems/BubbleSort.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/4 Other Problems/BubbleSort.java -------------------------------------------------------------------------------- /4 Other Problems/Factorial.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/4 Other Problems/Factorial.java -------------------------------------------------------------------------------- /4 Other Problems/InsertionSort.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/4 Other Problems/InsertionSort.java -------------------------------------------------------------------------------- /4 Other Problems/ListNode.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/4 Other Problems/ListNode.java -------------------------------------------------------------------------------- /4 Other Problems/MergeSort.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/4 Other Problems/MergeSort.java -------------------------------------------------------------------------------- /4 Other Problems/MiniMahjongWinningHand.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/4 Other Problems/MiniMahjongWinningHand.java -------------------------------------------------------------------------------- /4 Other Problems/MiniMahjongWinningHand2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/4 Other Problems/MiniMahjongWinningHand2.java -------------------------------------------------------------------------------- /4 Other Problems/QuickSort.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/4 Other Problems/QuickSort.java -------------------------------------------------------------------------------- /4 Other Problems/RodCutting.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/4 Other Problems/RodCutting.java -------------------------------------------------------------------------------- /4 Other Problems/SelectionSort.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/4 Other Problems/SelectionSort.java -------------------------------------------------------------------------------- /4 Other Problems/Solitaire.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/4 Other Problems/Solitaire.java -------------------------------------------------------------------------------- /4 Other Problems/SortingAlgo.java: -------------------------------------------------------------------------------- 1 | 2 | public interface SortingAlgo { 3 | void sort(int[] nums); 4 | } 5 | -------------------------------------------------------------------------------- /4 Other Problems/Sum.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/4 Other Problems/Sum.java -------------------------------------------------------------------------------- /4 Other Problems/TreeNode.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/4 Other Problems/TreeNode.java -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/DSA_using_Java/HEAD/README.md --------------------------------------------------------------------------------