Skip to content

This is the repository with solved tasks from LeetCode

Notifications You must be signed in to change notification settings

amonin7/LeetCodeTrain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is the repository with solved tasks from LeetCode
Tasks are solved with Java language

CoinChange.java - https://leetcode.com/problems/coin-change/
ProductOfArrayExceptSelf.java - https://leetcode.com/problems/product-of-array-except-self/
LongestRepeatingCharacterReplacement.java - https://leetcode.com/problems/longest-repeating-character-replacement/
MergeIntervals.java - https://leetcode.com/problems/merge-intervals/
ReverseLinkedList.java - https://leetcode.com/problems/reverse-linked-list/
CourseSchedule.java - https://leetcode.com/problems/course-schedule/
SpiralMatrix.java - https://leetcode.com/problems/spiral-matrix/
LongestIncreasingSubsequence.java - https://leetcode.com/problems/longest-increasing-subsequence/
LeftZeros.java - https://leetcode.com/problems/move-zeroes/
LowestCommonAncestorOfABinaryTree.java - https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree/
InvertBinaryTree.java - https://leetcode.com/problems/invert-binary-tree/
GroupAnagrams.java - https://leetcode.com/problems/group-anagrams/
CompressTheArrayIntoRanges.java - https://www.geeksforgeeks.org/compress-the-array-into-ranges/
NumberOfIslands.java - https://leetcode.com/problems/number-of-islands/
MergekSortedLists.java - https://leetcode.com/problems/merge-k-sorted-lists/
MaximumSubarray.java - https://leetcode.com/problems/maximum-subarray/
TopKFrequentElements.java - https://leetcode.com/problems/top-k-frequent-elements/
ValidateBinarySearchTree.java - https://leetcode.com/problems/validate-binary-search-tree/
SubtreeOfAnotherTree.java - https://leetcode.com/problems/subtree-of-another-tree/
LongestConsecutiveSequence.java - https://leetcode.com/problems/longest-consecutive-sequence/
TwoSum.java - https://leetcode.com/problems/two-sum/
BestTimeToBuyAndSellStock.java - https://leetcode.com/problems/best-time-to-buy-and-sell-stock/
ContainsDuplicate.java - https://leetcode.com/problems/contains-duplicate/
MaximumProductSubarray.java - https://leetcode.com/problems/maximum-product-subarray/
FindMinimumInRotatedSortedArray.java - https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/
SearchInRotatedSortedArray.java - https://leetcode.com/problems/search-in-rotated-sorted-array/
Merge2SortedLists.java - https://leetcode.com/problems/merge-two-sorted-lists/
MaximumDepthOfBinaryTree.java - https://leetcode.com/problems/maximum-depth-of-binary-tree/
ClimbingStairs.java - https://leetcode.com/problems/climbing-stairs/
ThreeSum.java - https://leetcode.com/problems/3sum/
NumberOf1Bits.java - https://leetcode.com/problems/number-of-1-bits/
CountingBits.java - https://leetcode.com/problems/counting-bits/
ReverseBits.java - https://leetcode.com/problems/reverse-bits/
LongestConsecutiveSequence.java - https://leetcode.com/problems/longest-consecutive-sequence/
MaximumSubarray.java - https://leetcode.com/problems/maximum-subarray/
BinaryTreeLevelOrderTraversal.java - https://leetcode.com/problems/binary-tree-level-order-traversal/
MatchsticksToSquare.java - https://leetcode.com/problems/matchsticks-to-square/
CloneGraph.java - https://leetcode.com/problems/clone-graph/
PacificAtlanticWaterFlow.java - https://leetcode.com/problems/pacific-atlantic-water-flow/
ConstructBinaryTreeFromPreorderAndInorderTraversal.java - https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/
CombinationSumIV.java - https://leetcode.com/problems/combination-sum-iv/
HouseRobber.java - https://leetcode.com/problems/house-robber/
HouseRobberII.java - https://leetcode.com/problems/house-robber-ii/
MaxAreaOfIsland.java - https://leetcode.com/problems/max-area-of-island/
DecodeWays.java - https://leetcode.com/problems/decode-ways/
InsertInterval.java - https://leetcode.com/problems/insert-interval/
NonOverlappingIntervals.java - https://leetcode.com/problems/non-overlapping-intervals/
LinkedListCycle.java - https://leetcode.com/problems/linked-list-cycle/
LinkedListCycle.java - https://leetcode.com/problems/linked-list-cycle-ii/
RemoveNthNodeFromEndOfList.java - https://leetcode.com/problems/remove-nth-node-from-end-of-list/
LongestSubstringWithoutRepeatingCharacters.java - https://leetcode.com/problems/longest-substring-without-repeating-characters/
ValidAnagram.java - https://leetcode.com/problems/valid-anagram/
ValidParentheses.java - https://leetcode.com/problems/valid-parentheses/
ValidPalindrome.java - https://leetcode.com/problems/valid-palindrome/
LongestPalindromicSubstring.java - https://leetcode.com/problems/longest-palindromic-substring/
PalindromicSubstrings.java - https://leetcode.com/problems/palindromic-substrings/
SameTree.java - https://leetcode.com/problems/same-tree/
KthSmallestElementInBST.java - https://leetcode.com/problems/kth-smallest-element-in-a-bst/
Trie.java - https://leetcode.com/problems/implement-trie-prefix-tree/
BinarySearch.java - https://leetcode.com/problems/binary-search/
SearchInsertPosition.java - https://leetcode.com/problems/search-insert-position/
RotateArray.java - https://leetcode.com/problems/rotate-array/
MoveZeroes.java - https://leetcode.com/problems/move-zeroes/
TwoSumII.java - https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/
MirrorReflection.java - https://leetcode.com/problems/mirror-reflection/
ReverseString.java - https://leetcode.com/problems/reverse-string/
ReverseWordsInAStringIII.java - https://leetcode.com/problems/reverse-words-in-a-string-iii/
ZigzagConversion.java - https://leetcode.com/problems/zigzag-conversion/
ReverseInteger.java - https://leetcode.com/problems/reverse-integer/
StringToInteger.java - https://leetcode.com/problems/string-to-integer-atoi/
PalindromeNumber.java - https://leetcode.com/problems/palindrome-number/
MiddleOfTheLinkedList.java - https://leetcode.com/problems/middle-of-the-linked-list/
PermutationInString.java - https://leetcode.com/problems/permutation-in-string/
FloodFill.java - https://leetcode.com/problems/flood-fill/
MergeTwoBinaryTrees.java - https://leetcode.com/problems/merge-two-binary-trees/
PopulatingNextRightPointersInEachNode.java - https://leetcode.com/problems/populating-next-right-pointers-in-each-node/
PopulatingNextRightPointersInEachNodeII.java - https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii/ \

About

This is the repository with solved tasks from LeetCode

Resources

Stars

Watchers

Forks

Languages