forked from anishLearnsToCode/leetcode-algorithms
-
Notifications
You must be signed in to change notification settings - Fork 0
Solution to LeetCode π» Algorithms problems.
License
kira2433/leetcode-algorithms
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Repository files navigation
# LeetCode Algorithms     [](CONTRIBUTING.md) [](https://github.com/anishLearnsToCode/competitive-programming) π = Subscription Content ## Problems | # | Name | Solution | Youtube | |:----:|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:---------------------------------------------------------------------------------------------------------------------------------:| | 1 | [Two Sum](https://leetcode.com/problems/two-sum) | [](src/TwoSum.java) [](python/two_sum.py) | [](https://youtu.be/9wSL_7NN-A8) [](https://youtu.be/N5FXCTg0TDE) | | 2 | [Add Two Numbers](https://leetcode.com/problems/add-two-numbers) | [](src/AddTwoNumbers.java) [](javascript/AddTwoNumbers.js) | | | 3 | [Longest Substring Without Repeating Characters](https://leetcode.com/problems/longest-substring-without-repeating-characters) | [](src/LongestSubstringWithoutRepeatingCharacters.java) | | | 5 | [Longest Palindromic Substring](https://leetcode.com/problems/longest-palindromic-substring) | [](src/LongestPalindromicSubstring.java) | | | 6 | [Zigzag Conversion](https://leetcode.com/problems/zigzag-conversion) | [](src/ZigZagConversion.java) | | | 7 | [Reverse Integer](https://leetcode.com/problems/reverse-integer) | [](src/ReverseInteger.java) [](python/reverse_integer.py) [](javascript/ReverseInteger.js) | [](https://youtu.be/7bOhyl5lWjI) [](https://youtu.be/lmLG30TLcSg) | | 8 | [String to Integer (atoi)](https://leetcode.com/problems/string-to-integer-atoi) | [](src/StringToIntegerAtoi.java) | | | 9 | [Palindrome Number](https://leetcode.com/problems/palindrome-number) | [](src/PalindromeNumber.java) [](python/palindrome_number.py) [](javascript/PalindromeNumber.js) | | | 11 | [Container With Most Water](https://leetcode.com/problems/container-with-most-water) | [](src/ContainerWitMostWater.java) | | | 12 | [Integer to Roman](https://leetcode.com/problems/integer-to-roman) | [](src/IntegerToRoman.java) | | | 13 | [Roman To Integer](https://leetcode.com/problems/roman-to-integer/) | [](src/RomanToInteger.java) [](python/roman_to_integer.py) | [](https://youtu.be/BCue_mO_81A) [](https://youtu.be/8h_yGTNvKMA) | | 14 | [Longest Common Prefix](https://leetcode.com/problems/longest-common-prefix/) | [](src/LongestCommonPrefix.java) [](python/longest_common_prefix.py) | | | 15 | [3Sum](https://leetcode.com/problems/3sum) | [](src/ThreeSum.java) | | | 16 | [3Sum Closest](https://leetcode.com/problems/3sum-closest) | [](src/ThreeSumClosest.java) | | | 17 | [Letter Combinations of a Phone Number](https://leetcode.com/problems/letter-combinations-of-a-phone-number) | [](src/LetterCombinationsOfAPhoneNumber.java) | | | 18 | [4Sum](https://leetcode.com/problems/4sum) | [](src/FourSum.java) | | | 19 | [Remove Nth Node From End of List](https://leetcode.com/problems/remove-nth-node-from-end-of-list) | [](src/RemoveNthNodeFromEndOfList.java) | | | 20 | [ValidParentheses](https://leetcode.com/problems/valid-parentheses/) | [](src/ValidParentheses.java) [](python/valid_parentheses.py) | | | 21 | [Merge 2 Sorted Lists](https://leetcode.com/problems/merge-two-sorted-lists/) | [](src/Merge2SortedLists.java) [](python/merge_2_sorted_lists.py) | | | 22 | [Generate Parentheses](https://leetcode.com/problems/generate-parentheses) | [](src/GenerateParentheses.java) | | | 24 | [Swap Nodes in Pairs](https://leetcode.com/problems/swap-nodes-in-pairs) | [](src/SwapNodesInPairs.java) | | | 26 | [Remove Duplicates From Sorted Array](https://leetcode.com/problems/remove-duplicates-from-sorted-array) | [](src/RemoveDuplicatesFromSortedArray.java) [](python/remove_duplicates_from_sorted_array.py) [](javascript/RemoveDuplicatesFromSortedArray.js) | | | 27 | [Remove Element](https://leetcode.com/problems/remove-element/) | [](src/RemoveElement.java) [](python/remove_element.py) | | | 28 | [Needle in Haystack](https://leetcode.com/problems/implement-strstr) | [](src/NeedleInHaystack.java) [](python/needle_in_haystack.py) | | | 29 | [Divide Two Integers](https://leetcode.com/problems/divide-two-integers) | [](src/DivideTwoIntegers.java) | | | 31 | [Next Permutation](https://leetcode.com/problems/next-permutation) | [](src/NextPermutation.java) | | | 33 | [Search in Rotated Sorted Array](https://leetcode.com/problems/search-in-rotated-sorted-array) | [](src/SearchInRotatedSortedArray.java) | | | 34 | [Find First and Last Position of Element in Sorted Array](https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array) | [](src/FindFirstAndLastPositionOfElementInSortedArray.java) | | | 35 | [Search Inserted Position](https://leetcode.com/problems/search-insert-position/) | [](src/SearchInsertPosition.java) [](python/search_insert_position.py) | | | 36 | [Valid Sudoku](https://leetcode.com/problems/valid-sudoku) | [](src/ValidSudoku.java) | | | 37 | [Sudoku Solver](https://leetcode.com/problems/sudoku-solver) | [](src/SudokuSolver.java) | | | 38 | [Count and Say](https://leetcode.com/problems/count-and-say) | [](src/CountAndSay.java) [](python/count_and_say.py) | | | 39 | [Combination Sum](https://leetcode.com/problems/combination-sum) | [](src/CombinationSum.java) | | | 40 | [Combination Sum II](https://leetcode.com/problems/combination-sum-ii) | [](src/CombinationSumII.java) | | | 42 | [Trapping Rain Water](https://leetcode.com/problems/trapping-rain-water) | [](src/TrappingRainwater.java) | | | 43 | [Multiply Strings](https://leetcode.com/problems/multiply-strings) | [](src/MultiplyStrings.java) | | | 45 | [Jump Game II](https://leetcode.com/problems/jump-game-ii) | [](src/JumpGameII.java) | | | 46 | [Permutations](https://leetcode.com/problems/permutations) | [](src/Permutations.java) | | | 47 | [Permutations II](https://leetcode.com/problems/permutations-ii) | [](src/PermutationsII.java) | | | 48 | [Rotate Image](https://leetcode.com/problems/rotate-image) | [](src/RotateImage.java) | | | 49 | [Group Anagrams](https://leetcode.com/problems/group-anagrams) | [](src/GroupAnagrams.java) | | | 50 | [Pow(x,n)](https://leetcode.com/problems/powx-n) | [](src/Powxn.java) | | | 53 | [Maximum SubArray](https://leetcode.com/problems/maximum-subarray) | [](src/MaximumSubArray.java) [](python/maximum_sum_subarray.py) | | | 54 | [Spiral Matrix](https://leetcode.com/problems/spiral-matrix) | [](src/SpiralMatrix.java) | | | 55 | [Jump Game](https://leetcode.com/problems/jump-game) | [](src/JumpGame.java) | | | 56 | [Merge Intervals](https://leetcode.com/problems/merge-intervals) | [](src/MergeIntervals.java) | | | 57 | [Insert Interval](https://leetcode.com/problems/insert-interval) | [](src/InsertInterval.java) | | | 58 | [Length of Last Word](https://leetcode.com/problems/length-of-last-word) | [](src/LengthOfLastWord.java) [](python/length_of_last_word.py) | | | 59 | [Spiral Matrix II](https://leetcode.com/problems/spiral-matrix-ii) | [](src/SpiralMatrixII.java) | | | 61 | [Rotate List](https://leetcode.com/problems/rotate-list) | [](src/RotateList.java) | | | 62 | [Unique Paths](https://leetcode.com/problems/unique-paths) | [](src/UniquePaths.java) | | | 63 | [Unique Paths II](https://leetcode.com/problems/unique-paths-ii) | [](src/UniquePathII.java) | | | 64 | [Minimum Path Sum](https://leetcode.com/problems/minimum-path-sum) | [](src/MinimumPathSum.java) [](python/minimum_path_sum.py) | | | 66 | [Plus One](https://leetcode.com/problems/plus-one) | [](src/PlusOne.java) [](python/plus_one.py) | | | 67 | [Add Binary](https://leetcode.com/problems/add-binary) | [](src/AddBinary.java) [](python/add_binary.py) | | | 69 | [Sqrt(x)](https://leetcode.com/problems/sqrtx) | [](src/Sqrtx.java) [](python/sqrt.py) | | | 70 | [Climbing Stairs](https://leetcode.com/problems/climbing-stairs) | [](src/ClimbingStairs.java) [](python/climbing_stairs.py) | | | 71 | [Simplify Path](https://leetcode.com/problems/simplify-path) | [](src/SimplifyPath.java) | | | 73 | [Set Matrix Zeroes](https://leetcode.com/problems/set-matrix-zeroes) | [](src/SetMatrixZeroes.java) | | | 74 | [Search a 2D Matrix](https://leetcode.com/problems/search-a-2d-matrix) | [](src/SearchA2DMatrix.java) | | | 75 | [Sort Colors](https://leetcode.com/problems/sort-colors) | [](src/SortColors.java) | | | 77 | [Combinations](https://leetcode.com/problems/combinations) | [](src/Combinations.java) | | | 78 | [Subsets](https://leetcode.com/problems/subsets) | [](src/Subsets.java) | | | 79 | [Word Search](https://leetcode.com/problems/word-search) | [](src/WordSearch.java) | | | 80 | [Remove Duplicates from Sorted Array II](https://leetcode.com/problems/remove-duplicates-from-sorted-array-ii) | [](src/RemoveDuplicatesFromSortedArrayII.java) | | | 81 | [Search in Rotated Sorted Array II](https://leetcode.com/problems/search-in-rotated-sorted-array-ii) | [](src/SearchInRotatedSortedArrayII.java) | | | 82 | [Remove Duplicates from Sorted List II](https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii) | [](src/RemoveDuplicatesFromSortedListII.java) | | | 83 | [Remove Duplicates from Sorted List](https://leetcode.com/problems/remove-duplicates-from-sorted-list) | [](src/RemoveDuplicatesFromSortedList.java) [](python/remove_duplicates_from_linked_list.py) | | | 86 | [Partition List](https://leetcode.com/problems/partition-list) | [](src/PartitionList.java) | | | 87 | [Scramble String](https://leetcode.com/problems/scramble-string) | [](python/scramble_strings.py) | | | 88 | [Merge Sorted Array](https://leetcode.com/problems/merge-sorted-array) | [](src/MergeSortedArray.java) [](python/merge_sorted_array.py) | | | 89 | [Gray Code](https://leetcode.com/problems/gray-code) | [](src/GrayCode.java) | | | 90 | [Subsets II](https://leetcode.com/problems/subsets-ii) | [](src/SubsetsII.java) | | | 91 | [Decode Ways](https://leetcode.com/problems/decode-ways) | [](src/DecodeWays.java) | | | 92 | [Reverse Linked List II](https://leetcode.com/problems/reverse-linked-list-ii) | [](src/ReverseLinkedListII.java) | | | 93 | [Restore IP Addresses](https://leetcode.com/problems/restore-ip-addresses) | [](src/RestoreIPAddresses.java) | | | 94 | [Binary Tree Inorder Traversal](https://leetcode.com/problems/binary-tree-inorder-traversal) | [](src/BinaryTreeInorderTraversal.java) [](python/binary_tree_inorder_traversal.py) | | | 95 | [Unique Binary Search Trees II](https://leetcode.com/problems/unique-binary-search-trees-ii) | [](src/UniqueBinarySearchTreesII.java) | | | 96 | [Unique Binary Search Trees](https://leetcode.com/problems/unique-binary-search-trees) | [](src/UniqueBinarySearchTrees.java) | | | 97 | [Interleaving String](https://leetcode.com/problems/interleaving-string) | [](src/InterleavingString.java) | | | 98 | [Validate Binary Search Tree](https://leetcode.com/problems/validate-binary-search-tree) | [](src/ValidateBinarySearchTree.java) | | | 99 | [Recover Binary Search Tree](https://leetcode.com/problems/recover-binary-search-tree) | [](src/RecoverBinarySearchTree.java) | | | 100 | [Same Tree](https://leetcode.com/problems/same-tree) | [](src/SameTree.java) [](python/same_tree.py) | | | 101 | [Symmetric Tree](https://leetcode.com/problems/symmetric-tree) | [](src/SymmetricTree.java) [](python/symmetric_tree.py) | | | 102 | [Binary Tree Level Order Traversal](https://leetcode.com/problems/binary-tree-level-order-traversal) | [](src/BinaryTreeLevelOrderTraversal.java) | | | 103 | [Binary Tree Zigzag Level Order Traversal](https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal) | [](src/BinaryTreeZigzagLevelOrderTraversal.java) | | | 104 | [Maximum Depth of Binary Tree](https://leetcode.com/problems/maximum-depth-of-binary-tree) | [](src/MaximumDepthOfBinaryTree.java) [](python/maximum_depth_of_binary_tree.py) | | | 105 | [Construct Binary Tree from Preorder and Inorder Traversal](https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal) | [](src/ConstructBinaryTreeFromPreorderAndInorderTraversal.java) | | | 106 | [Construct Binary Tree from Inorder and Postorder Traversal](https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal) | [](src/ConstructBinaryTreeFromInorderAndPostorderTraversal.java) | | | 107 | [Binary Tree Level Order Traversal II](https://leetcode.com/problems/binary-tree-level-order-traversal-ii) | [](src/BinaryTreeLevelOrderTraversalII.java) [](python/binary_tree_level_order_traversal_ii.py) | | | 108 | [Convert Sorted Array To Binary Search Tree](https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree) | [](src/ConvertSortedArrayToBinarySearchTree.java) [](python/converted_sorted_array_to_binary_search_tree.py) | | | 109 | [Convert Sorted List to Binary Search Tree](https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree) | [](src/ConvertSortedListToBinarySearchTree.java) | | | 110 | [Balanced Binary Tree](https://leetcode.com/problems/balanced-binary-tree) | [](src/BalancedBinaryTree.java) [](python/balanced_binary_tree.py) | | | 111 | [Minimum Depth of Binary Tree](https://leetcode.com/problems/minimum-depth-of-binary-tree) | [](src/MinimumDepthOfBinaryTree.java) [](python/minimum_depth_of_binary_tree.py) | | | 112 | [Path Sum](https://leetcode.com/problems/path-sum) | [](src/PathSum.java) [](python/path_sum.py) | | | 113 | [Path Sum II](https://leetcode.com/problems/path-sum-ii) | [](src/PathSumII.java) | | | 114 | [Flatten Binary Tree to Linked List](https://leetcode.com/problems/flatten-binary-tree-to-linked-list) | [](src/FlattenBinaryTreeToLinkedList.java) | | | 116 | [Populating Next Right Pointers in Each Node](https://leetcode.com/problems/populating-next-right-pointers-in-each-node) | [](src/PopulatingNextRightPointersInEachNode.java) | | | 117 | [Populating Next Right Pointers in Each Node II](https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii) | [](src/PopulatingNextRightPointersInEachNodeII.java) | | | 118 | [Pascal's Triangle](https://leetcode.com/problems/pascals-triangle) | [](src/PascalsTriangle.java) [](python/pascals_triangle.py) | | | 119 | [Pascal's Triangle II](https://leetcode.com/problems/pascals-triangle-ii) | [](src/PascalsTriangleII.java) [](python/pascals_triangle_ii.py) | | | 120 | [Triangle](https://leetcode.com/problems/triangle) | [](src/Triangle.java) | | | 121 | [Best Time to Buy and Sell Stocks](https://leetcode.com/problems/best-time-to-buy-and-sell-stock) | [](src/BestTimeToBuyAndSellStock.java) [](python/best_time_to_buy_and_sell_stock.py) | | | 122 | [Best Time to Buy and Sell Stocks II](https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii) | [](src/BestTimeToBuyAndSellStockII.java) [](python/best_time_to_buy_and_sell_stock_ii.py) | | | 125 | [Valid Palindrome](https://leetcode.com/problems/valid-palindrome) | [](src/ValidPalindrome.java) [](python/valid_palindrome.py) | | | 128 | [Longest Consecutive Sequence](https://leetcode.com/problems/longest-consecutive-sequence) | [](src/LongestConsecutiveSequence.java) | | | 129 | [Sum Root to Leaf Numbers](https://leetcode.com/problems/sum-root-to-leaf-numbers) | [](src/SumRootToLeafNumbers.java) | | | 130 | [Surrounded Regions](https://leetcode.com/problems/surrounded-regions) | [](src/SurroundedRegions.java) | | | 131 | [Palindrome Partitioning](https://leetcode.com/problems/palindrome-partitioning) | [](src/PalindromePartitioning.java) | | | 133 | [Clone Graph](https://leetcode.com/problems/clone-graph) | [](src/CloneGraph.java) [](python/clone_graph.py) | | | 134 | [Gas Station](https://leetcode.com/problems/gas-station) | [](src/GasStation.java) | | | 136 | [Single Number](https://leetcode.com/problems/single-number) | [](src/SingleNumber.java) [](python/single_number.py) | | | 137 | [Single Number II](https://leetcode.com/problems/single-number-ii) | [](src/SingleNumberII.java) | | | 138 | [Copy List with Random Pointer](https://leetcode.com/problems/copy-list-with-random-pointer) | [](src/CopyListWithRandomPointer.java) | | | 139 | [Word Break](https://leetcode.com/problems/word-break) | [](src/WordBreak.java) | | | 141 | [Linked List Cycle](https://leetcode.com/problems/linked-list-cycle) | [](src/LinkedListCycle.java) [](python/linked_list_cycle.py) | | | 142 | [Linked List Cycle II](https://leetcode.com/problems/linked-list-cycle-ii) | [](src/LinkedListCycleII.java) | | | 143 | [Reorder List](https://leetcode.com/problems/reorder-list) | [](src/ReorderList.java) | | | 144 | [Binary Tree Preorder Traversal](https://leetcode.com/problems/binary-tree-preorder-traversal) | [](src/BinaryTreePreOrderTraversal.java) [](python/binary_tree_preorder_traversal.py) | | | 145 | [Binary Tree Postorder Traversal](https://leetcode.com/problems/binary-tree-postorder-traversal) | [](src/BinaryTreePostorderTraversal.java) [](python/binary_tree_postorder_traversal.py) | | | 146 | [LRU Cache](https://leetcode.com/problems/lru-cache) | [](src/LRUCache.java) | | | 147 | [Insertion Sort List](https://leetcode.com/problems/insertion-sort-list) | [](src/InsertionSortList.java) | | | 148 | [Sort List](https://leetcode.com/problems/sort-list) | [](src/SortList.java) | | | 150 | [Evaluate Reverse Polish Notation](https://leetcode.com/problems/evaluate-reverse-polish-notation) | [](src/EvaluateReversePolishNotation.java) | | | 151 | [Reverse Words in a String](https://leetcode.com/problems/reverse-words-in-a-string) | [](src/ReverseWordsInAString.java) | | | 152 | [Maximum Product Subarray](https://leetcode.com/problems/maximum-product-subarray) | [](src/MaximumProductSubarray.java) | | | 153 | [Find Minimum in Rotated Sorted Array](https://leetcode.com/problems/find-minimum-in-rotated-sorted-array) | [](src/FindMinimumInRotatedSortedArray.java) | | | 155 | [Min Stack](https://leetcode.com/problems/min-stack) | [](src/MinStack.java) [](python/min_stack.py) | | | 156 | π [Binary Tree Upside Down](https://leetcode.com/problems/binary-tree-upside-down) | | | | 157 | [Read N Characters Given Read4](https://leetcode.com/problems/read-n-characters-given-read4) | | | | 159 | π [Longest Substring With At Most Two Distinct Characters](https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters) | | | | 160 | [Intersection of Two Linked Lists](https://leetcode.com/problems/intersection-of-two-linked-lists) | [](src/IntersectionOf2LinkedLists.java) [](python/intersecction_of_two_linked_lists.py) | | | 161 | π [One Edit Distance](https://leetcode.com/problems/one-edit-distance) | | | | 162 | [Find Peak Element](https://leetcode.com/problems/find-peak-element) | [](src/FindPeakElement.java) | | | 165 | [Compare Version Numbers](https://leetcode.com/problems/compare-version-numbers) | [](src/CompareVersionNumbers.java) | | | 166 | [Fraction to Recurring Decimal](https://leetcode.com/problems/fraction-to-recurring-decimal) | [](src/FractionToRecurringDecimal.java) | | | 167 | [Two Sum II - Input Array is Sorted](https://leetcode.com/problems/two-sum-ii-input-array-is-sorted) | [](src/TwoSumIIInputArrayIsSorted.java) [](python/two_sum_ii.py) | | | 168 | [Excel Sheet Column Title](https://leetcode.com/problems/excel-sheet-column-title) | [](src/ExcelSheetColumnTitle.java) [](python/excel_sheet_column_title.py) | | | 169 | [Majority Element](https://leetcode.com/problems/majority-element) | [](src/MajorityElement.java) [](python/majority_element.py) | | | 170 | π [Two Sum III - Data Structure Design](https://leetcode.com/problems/two-sum-iii-data-structure-design) | | | | 171 | [Excel Sheet Column Number](https://leetcode.com/problems/excel-sheet-column-number) | [](src/ExcelSheetColumnNumber.java) [](python/excel_sheet_column_number.py) | | | 172 | [Factoring Trailing Zeroes](https://leetcode.com/problems/factorial-trailing-zeroes) | [](src/FactorialTrailingZeros.java) [](python/factorial_trailing_zeroes.py) | | | 173 | [Binary Search Tree Iterator](https://leetcode.com/problems/binary-search-tree-iterator) | [](src/BinarySearchTreeIterator.java) | | | 179 | [Largest Number](https://leetcode.com/problems/largest-number) | [](src/LargestNumber.java) | | | 187 | [Repeated DNA Sequences](https://leetcode.com/problems/repeated-dna-sequences) | [](src/RepeatedDNASequences.java) | | | 189 | [Rotate Array](https://leetcode.com/problems/rotate-array) | [](src/RotateArray.java) [](python/rotate_array.py) | | | 190 | [Reverse Bits](https://leetcode.com/problems/reverse-bits) | [](src/ReverseBits.java) [](python/reverse_bits.py) | | | 191 | [Number of One Bits](https://leetcode.com/problems/number-of-1-bits) | [](src/NumberOf1Bit.java) [](python/number_of_1_bits.py) | | | 198 | [House Robber](https://leetcode.com/problems/house-robber) | [](src/HouseRobber.java) [](python/house_robber.py) | | | 199 | [Binary Tree Right Side View](https://leetcode.com/problems/binary-tree-right-side-view) | [](src/BinaryTreeRightSideView.java) | | | 200 | [Number of Islands](https://leetcode.com/problems/number-of-islands) | [](src/NumberOfIslands.java) [](python/number_of_islands.py) | | | 201 | [Bitwise AND of Numbers Range](https://leetcode.com/problems/bitwise-and-of-numbers-range) | [](src/BitwiseANDOfNumbersRange.java) | | | 202 | [Happy Number](https://leetcode.com/problems/happy-number) | [](src/HappyNumber.java) [](python/happy_number.py) | | | 203 | [Remove Linked List Elements](https://leetcode.com/problems/remove-linked-list-elements) | [](src/RemoveLinkedListElements.java) [](python/remove_linked_list_elements.py) | | | 204 | [Count Primes](https://leetcode.com/problems/count-primes) | [](src/CountPrimes.java) [](python/count_primes.py) | | | 205 | [Isomorphic Strings](https://leetcode.com/problems/isomorphic-strings) | [](src/IsomorphicStrings.java) [](python/isomorphic_strings.py) | | | 206 | [Reverse Linked List](https://leetcode.com/problems/reverse-linked-list) | [](src/ReverseLinkedList.java) [](python/reverse_linked_list.py) | | | 207 | [Course Schedule](https://leetcode.com/problems/course-schedule) | [](src/CourseSchedule.java) | | | 208 | [Implement Trie (Prefix Tree)](https://leetcode.com/problems/implement-trie-prefix-tree) | [](src/Trie.java) [](python/trie.py) | | | 209 | [Minimum Size Subarray Sum](https://leetcode.com/problems/minimum-size-subarray-sum) | [](src/MinimumSizeSubarraySum.java) | | | 210 | [Course Schedule II](https://leetcode.com/problems/course-schedule-ii) | [](src/CourseScheduleII.java) | | | 211 | [Design Add and Search Words Data Structure](https://leetcode.com/problems/design-add-and-search-words-data-structure) | [](src/DesignAddAndSearchWordsDataStructure.java) [](python/design_add_and_search_words_data_structure.py) | | | 213 | [House Robber II](https://leetcode.com/problems/house-robber-ii) | [](src/HouseRobberII.java) | | | 215 | [Kth Largest Element in an Array](https://leetcode.com/problems/kth-largest-element-in-an-array) | [](src/KthLargestElementInAnArray.java) | | | 216 | [Combination Sum III](https://leetcode.com/problems/combination-sum-iii) | [](src/CombinationSumIII.java) | | | 217 | [Contains Duplicate](https://leetcode.com/problems/contains-duplicate) | [](src/ContainsDuplicate.java) [](python/contains_duplicate.py) | | | 218 | [The Skyline Problem](https://leetcode.com/problems/the-skyline-problem) | [](python/the_skyline_problem.py) | | | 219 | [Contains Duplicate II](https://leetcode.com/problems/contains-duplicate-ii) | [](src/ContainsDuplicateII.java) [](python/contains_duplicate_ii.py) | | | 220 | [Contains Duplicate III](https://leetcode.com/problems/contains-duplicate-iii) | [](src/ContainsDuplicateIII.java) | | | 221 | [Maximal Square](https://leetcode.com/problems/maximal-square) | [](src/MaximalSquare.java) | | | 222 | [Count Complete Tree Nodes](https://leetcode.com/problems/count-complete-tree-nodes) | [](src/CountCompleteTreeNodes.java) | | | 223 | [Rectangle Area](https://leetcode.com/problems/rectangle-area) | [](src/RectangleArea.java) | | | 225 | [Implement Stack using Queues](https://leetcode.com/problems/implement-stack-using-queues) | [](src/MyStack.java) [](python/implement_stack_using_queues.py) | | | 226 | [Invert Binary Tree](https://leetcode.com/problems/invert-binary-tree) | [](src/InvertBinaryTree.java) [](python/invert_binary_tree.py) | | | 227 | [Basic Calculator II](https://leetcode.com/problems/basic-calculator-ii) | [](src/BasicCalculatorII.java) | | | 229 | [Majority Element II](https://leetcode.com/problems/majority-element-ii) | [](src/MajorityElementII.java) | | | 230 | [Kth Smallest Element in a BST](https://leetcode.com/problems/kth-smallest-element-in-a-bst) | [](src/KthSmallestElementInABST.java) | | | 231 | [Power of Two](https://leetcode.com/problems/power-of-two) | [](src/PowerOf2.java) [](python/is_power_of_2.py) | | | 232 | [Implement Queue Using Stacks](https://leetcode.com/problems/implement-queue-using-stacks) | [](src/MyQueue.java) [](python/implement_queue_using_stacks.py) | | | 234 | [Palindrome Linked Lists](https://leetcode.com/problems/palindrome-linked-list) | [](src/PalindromeLinkedList.java) [](python/palindrome_linked_list.py) | | | 235 | [Lowest Common Ancestor of a Binary Search Tree](https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree) | [](src/LowestCommonAncestorOfBinarySearchTree.java) [](python/lowest_common_ancestor_of_bst.py) | | | 236 | [Lowest Common Ancestor of a Binary Tree](https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree) | [](src/LowestCommonAncestorOfBinaryTree.java) | | | 237 | [Delete a Node In A Linked List](https://leetcode.com/problems/delete-node-in-a-linked-list) | [](src/DeleteANodeInLinkedList.java) [](python/delete_node_in_linked_list.py) | | | 238 | [Product of Array Except Self](https://leetcode.com/problems/product-of-array-except-self) | [](src/ProductOfArrayExceptItself.java) | | | 240 | [Search a 2D Matrix II](https://leetcode.com/problems/search-a-2d-matrix-ii) | [](src/SearchA2DMatrixII.java) | | | 241 | [Different Ways to Add Parentheses](https://leetcode.com/problems/different-ways-to-add-parentheses) | | | | 242 | [Valid Anagram](https://leetcode.com/problems/valid-anagram) | [](src/ValidAnagram.java) [](python/delete_node_in_linked_list.py) | | | 243 | π [Shortest Word Distance](https://leetcode.com/problems/shortest-word-distance) | | | | 244 | π [Shortest Word Distance II](https://leetcode.com/problems/shortest-word-distance-ii) | | | | 245 | π [Shortest Word Distance III](https://leetcode.com/problems/shortest-word-distance-iii) | | | | 246 | π [Strobogramatic Number](https://leetcode.com/problems/strobogrammatic-number) | | | | 247 | π [Strobogramatic Number II](https://leetcode.com/problems/strobogrammatic-number-ii) | | | | 249 | π [Group Shifted Strings](https://leetcode.com/problems/group-shifted-strings) | | | | 250 | π [Count Univalue Subtrees](https://leetcode.com/problems/count-univalue-subtrees) | | | | 251 | π [Flatten 2D Vector](https://leetcode.com/problems/flatten-2d-vector) | | | | 252 | π [Meeting Rooms](https://leetcode.com/problems/meeting-rooms) | | | | 253 | π [Meeting Rooms II](https://leetcode.com/problems/meeting-rooms-ii) | | | | 254 | π [Factor Combinations](https://leetcode.com/problems/factor-combinations) | | | | 255 | π [Verify Preorder Sequence In Binary Search Tree](https://leetcode.com/problems/verify-preorder-sequence-in-binary-search-tree) | | | | 256 | π [Paint House](https://leetcode.com/problems/paint-house) | | | | 257 | [Binary Tree Paths](https://leetcode.com/problems/binary-tree-paths) | [](src/BinaryTreePaths.java) [](python/binary_tree_paths.py) | | | 258 | [Add Digits](https://leetcode.com/problems/add-digits) | [](src/AddDigits.java) [](python/add_digits.py) | | | 259 | π [3Sum Smaller](https://leetcode.com/problems/3sum-smaller) | | | | 260 | [Single Number III](https://leetcode.com/problems/single-number-iii) | [](src/SingleNumberIII.java) | | | 261 | π [Graph Valid Tree](https://leetcode.com/problems/graph-valid-tree) | | | | 263 | [Ugly Number](https://leetcode.com/problems/ugly-number) | [](src/UglyNumber.java) [](python/ugly_number.py) | | | 264 | [Ugly Number II](https://leetcode.com/problems/ugly-number-ii) | [](src/UglyNumberII.java) | | | 266 | π [Palindrome Permutation](https://leetcode.com/problems/palindrome-permutation) | | | | 267 | π [Palindrome Permutation II](https://leetcode.com/problems/palindrome-permutation-ii) | | | | 268 | [Missing Number](https://leetcode.com/problems/missing-number) | [](src/MissingNumber.java) [](python/missing_number.py) | | | 270 | π [Closest Binary Search Tree Value](https://leetcode.com/problems/closest-binary-search-tree-value) | | | | 271 | π [Encode and Decode Strings](https://leetcode.com/problems/encode-and-decode-strings) | | | | 274 | [H-Index](https://leetcode.com/problems/h-index) | [](src/HIndex.java) | | | 275 | [H-Index II](https://leetcode.com/problems/h-index-ii) | [](src/HIndexII.java) | | | 276 | π [Paint Fence](https://leetcode.com/problems/paint-fence) | | | | 277 | π [Find The Celebrity](https://leetcode.com/problems/find-the-celebrity) | | | | 278 | [First Bad Version](https://leetcode.com/problems/first-bad-version) | [](src/FirstBadVersion.java) [](python/first_bad_version.py) | | | 279 | [Perfect Squares](https://leetcode.com/problems/perfect-squares) | [](src/PerfectSquares.java) | | | 280 | π [Wiggle Sort](https://leetcode.com/problems/wiggle-sort) | | | | 281 | π [Zigzag Iterator](https://leetcode.com/problems/zigzag-iterator) | | | | 283 | [Move Zeroes](https://leetcode.com/problems/move-zeroes) | [](src/MoveZeros.java) [](python/move_zeroes.py) | | | 284 | [Peeking Iterator](https://leetcode.com/problems/peeking-iterator) | [](src/PeekingIterator.java) | | | 285 | π [Inorder Successor in BST](https://leetcode.com/problems/inorder-successor-in-bst) | | | | 286 | π [Walls and Gates](https://leetcode.com/problems/walls-and-gates) | | | | 287 | [Find the Duplicate Number](https://leetcode.com/problems/find-the-duplicate-number) | [](src/FindTheDuplicateNumber.java) | | | 288 | π [Unique Word Abbreviation](https://leetcode.com/problems/unique-word-abbreviation) | | | | 289 | [Game of Life](https://leetcode.com/problems/game-of-life) | | | | 290 | [Word Pattern](https://leetcode.com/problems/word-pattern) | [](src/WordPattern.java) [](python/word_pattern.py) | | | 291 | π [Word Pattern II](https://leetcode.com/problems/word-pattern-ii) | | | | 292 | [Nim Game](https://leetcode.com/problems/nim-game) | [](src/NimGame.java) [](python/nim_game.py) | | | 293 | π [Flip Game](https://leetcode.com/problems/flip-game) | | | | 294 | π [Flip Game II](https://leetcode.com/problems/flip-game-ii) | | | | 298 | π [Binary Tree Longest Consecutive Sequence](https://leetcode.com/problems/binary-tree-longest-consecutive-sequence) | | | | 299 | [Bulls and Cows](https://leetcode.com/problems/bulls-and-cows) | [](src/BullsAndCows.java) [](python/bulls_and_cows.py) | | | 300 | [Longest Increasing Subsequence](https://leetcode.com/problems/longest-increasing-subsequence) | | | | 303 | [Range Sum Query - Immutable](https://leetcode.com/problems/range-sum-query-immutable) | [](src/RangeSumQueryImmutable.java) [](python/range_sum_query_immutable.py) | | | 304 | [Range Sum Query 2D - Immutable](https://leetcode.com/problems/range-sum-query-2d-immutable) | | | | 306 | [Additive Number](https://leetcode.com/problems/additive-number) | | | | 307 | [Range Sum Query - Mutable](https://leetcode.com/problems/range-sum-query-mutable) | | | | 309 | [Best Time to Buy and Sell Stock with Cooldown](https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown) | | | | 310 | [Minimum Height Trees](https://leetcode.com/problems/minimum-height-trees) | | | | 311 | π [Sparse Matrix Multiplication](https://leetcode.com/problems/sparse-matrix-multiplication) | | | | 313 | [Super Ugly Number](https://leetcode.com/problems/super-ugly-number) | | | | 314 | π [Binary Tree Vertical Order Traversal](https://leetcode.com/problems/binary-tree-vertical-order-traversal) | | | | 316 | [Remove Duplicate Letters](https://leetcode.com/problems/remove-duplicate-letters) | | | | 318 | [Maximum Product of Word Lengths](https://leetcode.com/problems/maximum-product-of-word-lengths) | | | | 319 | [Bulb Switcher](https://leetcode.com/problems/bulb-switcher) | | | | 320 | π [Generalized Abbreviation](https://leetcode.com/problems/generalized-abbreviation) | | | | 322 | [Coin Change](https://leetcode.com/problems/coin-change) | | | | 323 | π [Number of Connected Components in Undirected Graph](https://leetcode.com/problems/number-of-connected-components-in-an-undirected-graph) | | | | 324 | [Wiggle Sort II](https://leetcode.com/problems/wiggle-sort-ii) | | | | 325 | π [Maximum Size Subarray Sum Equals K](https://leetcode.com/problems/maximum-size-subarray-sum-equals-k) | | | | 326 | [Power of Three](https://leetcode.com/problems/power-of-three) | [](src/PowerOfThree.java) [](python/power_of_three.py) | | | 328 | [Odd Even Linked List](https://leetcode.com/problems/odd-even-linked-list) | | | | 331 | [Verify Preorder Serialization of a Binary Tree](https://leetcode.com/problems/verify-preorder-serialization-of-a-binary-tree) | | | | 331 | π [Largest BST Subtree](https://leetcode.com/problems/largest-bst-subtree) | | | | 334 | [Increasing Triplet Subsequence](https://leetcode.com/problems/increasing-triplet-subsequence) | | | | 337 | [House Robber III](https://leetcode.com/problems/increasing-triplet-subsequence) | | | | 338 | [Counting Bits](https://leetcode.com/problems/counting-bits/) | [](src/CountingBits.java) [](python/counting_bits.py) | | | 339 | π [Nested List Weight Sum](https://leetcode.com/problems/nested-list-weight-sum) | | | | 340 | π [Longest Substring with At Most K Distinct Characters](https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters) | | | | 341 | [Flatten Nested List Iterator](https://leetcode.com/problems/flatten-nested-list-iterator) | | | | 342 | [Power of Four](https://leetcode.com/problems/power-of-four) | [](src/PowerOf4.java) [](python/power_of_four.py) | | | 343 | [Integer Break](https://leetcode.com/problems/integer-break) | | | | 344 | [Reverse A String](https://leetcode.com/problems/reverse-string) | [](src/ReverseString.java) [](python/reverse_a_string.py) | | | 345 | [Reverse Vowels of A String](https://leetcode.com/problems/reverse-vowels-of-a-string) | [](src/ReverseVowelsOfString.java) [](python/reverse_vowels_of_a_string.py) | | | 346 | π [Moving Average From Data Stream](https://leetcode.com/problems/moving-average-from-data-stream) | | | | 347 | [Top K frequent Elements](https://leetcode.com/problems/top-k-frequent-elements) | | | | 348 | π [Design Tic-Tac-Toe](https://leetcode.com/problems/design-tic-tac-toe) | | | | 349 | [Intersection of 2 Arrays](https://leetcode.com/problems/intersection-of-two-arrays) | [](src/IntersectionOfTwoArrays.java) [](python/intersection_of_2_array.py) | | | 350 | [Intersection of 2 Arrays II](https://leetcode.com/problems/intersection-of-two-arrays-ii) | [](src/IntersectionOfTwoArraysII.java) [](python/intersection_of_2_arrays_II.py) | | | 351 | π [Android Unlock Patterns](https://leetcode.com/problems/android-unlock-patterns) | | | | 355 | [Design Twitter](https://leetcode.com/problems/design-twitter) | | | | 357 | [Count Numbers with Unique Digits](https://leetcode.com/problems/count-numbers-with-unique-digits) | | | | 359 | π [Logger Rate Limiter](https://leetcode.com/problems/logger-rate-limiter) | | | | 367 | [Valid Perfect Square](https://leetcode.com/problems/valid-perfect-square) | [](src/IsPerfectSquare.java) [](python/valid_perfect_square.py) | | | 374 | [Guess Number Higher or Lower](https://leetcode.com/problems/guess-number-higher-or-lower) | [](src/GuessNumberHigherOrLower.java) [](python/guess_number_higher_or_lower.py) | | | 383 | [Ransom Note](https://leetcode.com/problems/ransom-note) | [](src/RansomNote.java) [](python/ransom_note.py) | | | 387 | [First Unique Character in String](https://leetcode.com/problems/first-unique-character-in-a-string) | [](src/FirstUniqueCharacter.java) [](python/first_unique_character_in_string.py) | | | 389 | [Find the Difference](https://leetcode.com/problems/find-the-difference) | [](src/FindTheDifference.java) [](python/find_the_difference.py) | | | 392 | [Is Subsequence](https://leetcode.com/problems/is-subsequence) | [](src/IsSubsequence.java) [](python/is_subsequence.py) | | | 401 | [Binary Watch](https://leetcode.com/problems/binary-watch) | [](src/BinaryWatch.java) [](python/binary_watch.py) | | | 404 | [Sum of Left Leaves](https://leetcode.com/problems/sum-of-left-leaves) | [](src/SumOfLeftLeaves.java) [](python/sum_of_left_leaves.py) | | | 405 | [Convert a Number to Hexadecimal](https://leetcode.com/problems/convert-a-number-to-hexadecimal) | [](src/ConvertNumberToHexadecimal.java) [](python/convert_a_number_to_hexadecimal.py) | | | 408 | π [Valid Word Abbreviation](https://leetcode.com/problems/valid-word-abbreviation) | | | | 409 | [Longest Palindrome](https://leetcode.com/problems/longest-palindrome) | [](src/LongestPalindrome.java) [](python/longest_palindrome.py) | | | 412 | [Fizz Buzz](https://leetcode.com/problems/fizz-buzz) | [](src/FizzBuzz.java) [](python/fizz_buzz.py) | | | 414 | [Third Maximum Number](https://leetcode.com/problems/third-maximum-number) | [](src/ThirdMaximumNumber.java) [](python/fizz_buzz.py) | | | 415 | [Add Strings](https://leetcode.com/problems/add-strings) | [](src/AddString.java) [](python/add_strings.py) | | | 422 | π [Valid Word Square](https://leetcode.com/problems/valid-word-square) | | | | 430 | [Flatten a Multilevel Doubly Linked List](https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list) | [](src/FlattenAMultiLevelDoublyLinkedList.java) | | | 434 | [Number of Segments in a String](https://leetcode.com/problems/number-of-segments-in-a-string) | [](src/NumberOfSegmentsInString.java) [](python/number_of_segments_in_a_string.py) | | | 441 | [Arranging Coins](https://leetcode.com/problems/arranging-coins) | [](src/ArrangingCoins.java) [](python/arranging_coins.py) | | | 443 | [String Compression](https://leetcode.com/problems/string-compression) | [](src/StringCompression.java) [](python/string_compression.py) | | | 447 | [Number of Boomerangs](https://leetcode.com/problems/number-of-boomerangs) | [](src/NumberOfBoomerangs.java) [](python/number_of_boomerangs.py) | | | 448 | [Find All Numbers Disappeared in an Array](https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array) | [](src/FindAllNumbersDisappearedInAnArray.java) [](python/find_all_numbers_disappeared_in_an_array.py) | | | 453 | [Minimum Moves to Equal Array Elements](https://leetcode.com/problems/minimum-moves-to-equal-array-elements) | [](src/MinimumMovesToEqualArrayElements.java) [](python/minimum_moves_to_equal_array_element.py) | | | 455 | [Assign Cookies](https://leetcode.com/problems/assign-cookies) | [](src/AssignCookies.java) [](python/assign_cookies.py) | | | 459 | [Repeated Substring Pattern](https://leetcode.com/problems/repeated-substring-pattern) | [](src/RepeatedSubstringPattern.java) [](python/repeated_substring_pattern.py) | | | 461 | [Hamming Distance](https://leetcode.com/problems/hamming-distance) | [](src/HammingDistance.java) [](python/hamming_distance.py) | | | 463 | [Island Perimeter](https://leetcode.com/problems/island-perimeter) | [](src/IslandPerimeter.java) [](python/island_perimeter.py) | | | 475 | [Heaters](https://leetcode.com/problems/heaters) | [](src/Heaters.java) [](python/heaters.py) | | | 476 | [Number Complement](https://leetcode.com/problems/number-complement) | [](src/NumberComplement.java) [](python/number_complement.py) | | | 482 | [License Key Formatting](https://leetcode.com/problems/license-key-formatting) | [](src/LicenseKeyFormatting.java) [](python/license_key_formatting.py) | | | 485 | [Max Consecutive Ones](https://leetcode.com/problems/max-consecutive-ones) | [](src/MaxConsecutiveOnes.java) [](python/max_consecutive_ones.py) | | | 492 | [Construct the Rectangle](https://leetcode.com/problems/construct-the-rectangle) | [](src/ConstructTheRectangle.java) [](python/construct_the_rectangle.py) | | | 495 | [Teemo Attacking](https://leetcode.com/problems/teemo-attacking/) | [](src/TeemoAttacking.java) [](python/teemo_attacking.py) | | | 496 | [Next Greater Element I](https://leetcode.com/problems/next-greater-element-i) | [](src/NextGreaterElementI.java) [](python/next_greater_element_i.py) | | | 500 | [Keyboard Row](https://leetcode.com/problems/keyboard-row) | [](src/KeyBoardRow.java) [](python/keyboard_row.py) | | | 501 | [Find Mode in Binary Search Tree](https://leetcode.com/problems/find-mode-in-binary-search-tree) | [](src/FindModeInBinarySearchTree.java) [](python/find_mode_in_binary_search_tree.py) | | | 504 | [Base 7](https://leetcode.com/problems/base-7) | [](src/Base7.java) [](python/base_7.py) | | | 506 | [Relative Ranks](https://leetcode.com/problems/relative-ranks) | [](src/RelativeRanks.java) [](python/relative_ranks.py) | | | 507 | [Perfect Number](https://leetcode.com/problems/perfect-number) | [](src/CheckPerfectNumber.java) [](python/check_perfect_number.py) | | | 509 | [Fibonacci Number](https://leetcode.com/problems/fibonacci-number) | [](src/FibonacciNumber.java) [](python/fibonacci_number.py) | | | 520 | [Detect Capital](https://leetcode.com/problems/detect-capital) | [](src/DetectCapital.java) [](python/detect_capital.py) | | | 521 | [Longest Uncommon Subsequence I](https://leetcode.com/problems/longest-uncommon-subsequence-i) | [](src/LongestUncommonSubsequenceI.java) [](python/longest_uncommon_subsequence_I.py) | | | 530 | [Minimum Absolute Difference in BST](https://leetcode.com/problems/minimum-absolute-difference-in-bst) | [](src/MinimumAbsoluteDifferenceInBST.java) [](python/minimum_absolute_difference_in_bst.py) | | | 532 | [K - Diff Pairs in Array](https://leetcode.com/problems/k-diff-pairs-in-an-array) | [](src/KDiffPairsInAnArray.java) [](python/k_dif_pairs_in_an_array.py) | | | 538 | [Convert BST to Greater Tree](https://leetcode.com/problems/convert-bst-to-greater-tree) | [](src/ConvertBSTToGreaterTree.java) [](python/convert_bst_to_greater_tree.py) | | | 541 | [Reverse String II](https://leetcode.com/problems/reverse-string-ii) | [](src/ReverseStringII.java) [](python/reverse_string_ii.py) | | | 543 | [Diameter of Binary Tree](https://leetcode.com/problems/diameter-of-binary-tree) | [](src/DiameterOfBinaryTree.java) [](python/diameter_of_binary_tree.py) | | | 551 | [Student Attendance Record I](https://leetcode.com/problems/student-attendance-record-i) | [](src/StudentAttendanceRecordI.java) [](python/student_attendance_record_I.py) | | | 557 | [Reverse Words in a String III](https://leetcode.com/problems/reverse-words-in-a-string-iii) | [](src/ReverseWordsInStringIII.java) [](python/reverse_words_in_string_iii.py) | | | 559 | [Maximum Depth of N-Ary Tree](https://leetcode.com/problems/maximum-depth-of-n-ary-tree) | [](src/MaximumDepthOfNAryTree.java) [](python/maximum_depth_of_n_ary_tree.py) | | | 561 | [Array Partition I](https://leetcode.com/problems/array-partition-i) | [](src/ArrayPartitionI.java) [](python/array_partiton_I.py) | | | 563 | [Binary Tree Tilt](https://leetcode.com/problems/binary-tree-tilt) | [](src/BinaryTreeTilt.java) [](python/binary_tree_tilt.py) | | | 566 | [Reshape The Matrix](https://leetcode.com/problems/reshape-the-matrix) | [](src/ReshapeTheMatrix.java) [](python/reshape_the_matrix.py) | | | 572 | [Subtree of Another Tree](https://leetcode.com/problems/subtree-of-another-tree) | [](src/SubtreeOfAnotherTree.java) [](python/subtree_of_another_tree.py) | | | 575 | [Distribute Candies](https://leetcode.com/problems/distribute-candies) | [](src/DistributeCandies.java) [](python/distribute_candies.py) | | | 581 | [Shortest Unsorted Continuous Subarray](https://leetcode.com/problems/shortest-unsorted-continuous-subarray) | [](src/ShortestUnsortedContinuousSubarray.java) [](python/shortest_continuous_unsorted_subarray.py) | | | 589 | [N-Ary Tree Preorder Traversal](https://leetcode.com/problems/n-ary-tree-preorder-traversal) | [](src/NArayTreePreOrderTraversal.java) [](python/n_ary_tree_preorder_traversal.py) | | | 590 | [N-Ary Tree Postorder Traversal](https://leetcode.com/problems/n-ary-tree-postorder-traversal) | [](src/NAryTreePostorderTraversal.java) [](python/n_ary_tree_postorder_traversal.py) | | | 594 | [Longest Harmonious Subsequence](https://leetcode.com/problems/longest-harmonious-subsequence) | [](src/LongestHarmoniousSubsequence.java) [](python/longest_harmonious_subequence.py) | | | 598 | [Range Addition II](https://leetcode.com/problems/range-addition-ii) | [](src/RangeAdditionII.java) [](python/range_addition_ii.py) | | | 599 | [Minimum Index Sum of 2 Lists](https://leetcode.com/problems/minimum-index-sum-of-two-lists) | [](src/MinimumIndexSumOfTwoLists.java) [](python/minimum_index_sum_of_two_lists.py) | | | 604 | π [Design Compressed String Iterator](https://leetcode.com/problems/design-compressed-string-iterator) | | | | 605 | [Can Place Flowers](https://leetcode.com/problems/can-place-flowers) | [](src/CanPlaceFlowers.java) [](python/can_place_flowers.py) | | | 606 | [Construct String from Binary Tree](https://leetcode.com/problems/construct-string-from-binary-tree) | [](src/ConstructStringFromBinaryTree.java) [](python/construct_string_from_binary_tree.py) | | | 617 | [Merge Two Binary Trees](https://leetcode.com/problems/merge-two-binary-trees) | [](src/MergeTwoBinaryTrees.java) [](python/merge_two_binary_trees.py) | | | 624 | π [Maximum Distance in Arrays](https://leetcode.com/problems/maximum-distance-in-arrays) | | | | 628 | [Maximum Product of Three Numbers](https://leetcode.com/problems/maximum-product-of-three-numbers) | [](src/MaximumProductOfThreeNumbers.java) [](python/maximum_product_of_three_numbers.py) | | | 633 | [Sum Square Numbers](https://leetcode.com/problems/sum-of-square-numbers) | [](src/SumOfSquareNumbers.java) [](python/sum_of_squares_numbers.py) | | | 637 | [Average of Levels in Binary Tree](https://leetcode.com/problems/average-of-levels-in-binary-tree) | [](src/AverageLevelsOfBinaryTree.java) [](python/average_levels_of_binary_tree.py) | | | 643 | [Maximum Average SubArray I](https://leetcode.com/problems/maximum-average-subarray-i) | [](src/MaximumAverageSubArrayI.java) [](python/maximum_average_subarray_I.py) | | | 645 | [Set Mismatch](https://leetcode.com/problems/set-mismatch) | [](src/SetMismatch.java) [](python/set_mismatch.py) | | | 653 | [Two Sum IV - Input is a BST](https://leetcode.com/problems/two-sum-iv-input-is-a-bst) | [](src/TwoSumIVInputIsABST.java) [](python/two_sum_iv.py) | | | 657 | [Robot Return to Origin](https://leetcode.com/problems/robot-return-to-origin) | [](src/RobotReturnToOrigin.java) [](python/robot_return_to_origin.py) | | | 661 | [Image Smoother](https://leetcode.com/problems/image-smoother) | [](src/ImageSmoother.java) [](python/image_smoother.py) | | | 665 | [Non Deceasing Array](https://leetcode.com/problems/non-decreasing-array) | [](src/NonDecreasingArray.java) [](python/non_decreasing_array.py) | | | 669 | [Trim a Binary Search Tree](https://leetcode.com/problems/trim-a-binary-search-tree) | [](src/TrimABinarySearchTree.java) [](python/trim_a_binary_search_tree.py) | | | 671 | [Second Minimum Node in Binary Tree](https://leetcode.com/problems/second-minimum-node-in-a-binary-tree) | [](src/SecondMinimumNodeInBinaryTree.java) [](python/second_minimum_node_in_binary_tree.py) | | | 674 | [Longest Continuous Increasing Subsequence](https://leetcode.com/problems/longest-continuous-increasing-subsequence) | [](src/LongestContinuousIncreasingSubsequence.java) [](python/longest_continuous_increasing_subsequence.py) | | | 680 | [Valid Palindrome II](https://leetcode.com/problems/valid-palindrome-ii) | [](src/ValidPalindromeII.java) [](python/valid_pallindrome_ii.py) | | | 682 | [Baseball Game](https://leetcode.com/problems/baseball-game) | [](src/BaseballGame.java) [](python/baseball_game.py) | | | 686 | [Repeated String Match](https://leetcode.com/problems/repeated-string-match) | | | | 687 | [Longest Univalue Path](https://leetcode.com/problems/longest-univalue-path) | | | | 688 | [Knight Probability in Chessboard](https://leetcode.com/problems/knight-probability-in-chessboard) | [](src/KnightProbabilityInChessboard.java) | | | 690 | [Employee Importance](https://leetcode.com/problems/employee-importance) | | | | 693 | [Binary Number with Alternating Bits](https://leetcode.com/problems/binary-number-with-alternating-bits) | [](src/BinaryNumberWithAlternatingBits.java) [](python/binary_number_with_alternating_bits.py) | | | 696 | [Count Binary Substrings](https://leetcode.com/problems/count-binary-substrings) | [](src/CountBinarySubstrings.java) [](python/count_binary_substrings.py) | | | 697 | [Degree of an Array](https://leetcode.com/problems/degree-of-an-array) | [](src/DegreeOfAnArray.java) [](python/degree_of_an_array.py) | | | 700 | [Search in a Binary Search Tree](https://leetcode.com/problems/search-in-a-binary-search-tree) | [](src/SearchInBinarySearchTree.java) [](python/search_in_binary_search_tree.py) | | | 703 | [Kth Largest Element in a Stream](https://leetcode.com/problems/kth-largest-element-in-a-stream) | [](src/KthLargestElementInAStream.java) [](python/k_th_largest_element_in_a_stream.py) | | | 704 | [Binary Search](https://leetcode.com/problems/binary-search) | [](src/BinarySearch.java) [](python/binary_search.py) | | | 705 | [Design HashSet](https://leetcode.com/problems/design-hashset) | [](src/DesignHashSet.java) [](python/design_hash_set.py) | | | 706 | [Design HashMap](https://leetcode.com/problems/design-hashmap) | [](src/DesignHashMap.java) [](python/design_hash_map.py) | | | 709 | [To Lower Case](https://leetcode.com/problems/to-lower-case) | [](src/ToLowerCase.java) [](python/to_lower_case.py) | | | 716 | π [Max Stack](https://leetcode.com/problems/max-stack) | | | | 717 | [1-bit and 2-bit Characters](https://leetcode.com/problems/1-bit-and-2-bit-characters) | [](src/OneBitAndTwoBitCharacters.java) [](python/one_bit_and_two_bit_characters.py) | | | 718 | [Maximum Length of Repeated Subarray](https://leetcode.com/problems/maximum-length-of-repeated-subarray) | [](src/MaximumLengthOfRepeatedSubArray.java) | | | 720 | [Longest Word in Dictionary](https://leetcode.com/problems/longest-word-in-dictionary) | | | | 724 | [Find Pivot Index](https://leetcode.com/problems/find-pivot-index) | [](src/FindPivotIndex.java) [](python/find_pivot_index.py) | | | 728 | [Self Dividing Numbers](https://leetcode.com/problems/self-dividing-numbers) | [](src/SelfDividingNumbers.java) [](python/self_dividing_number.py) | | | 733 | [Flood Fill](https://leetcode.com/problems/flood-fill) | [](src/FloodFill.java) [](python/flood_fill.py) | | | 743 | [Network Delay Time](https://leetcode.com/problems/network-delay-time) | [](src/NetworkDelayTime.java) | | | 734 | [Sentence Similarity](https://leetcode.com/problems/sentence-similarity) | | | | 744 | [Find Smallest Letter Greater Than Target](https://leetcode.com/problems/find-smallest-letter-greater-than-target) | [](src/FindSmallestLetterGreaterThanTarget.java) [](python/find_smallest_letter_greater_than.py) | | | 746 | [Min Cost Climbing Stairs](https://leetcode.com/problems/min-cost-climbing-stairs) | [](src/MinCostClimbingStairs.java) [](python/min_cost_climbing_stairs.py) | | | 747 | [Largest Number at least Twice of Others](https://leetcode.com/problems/largest-number-at-least-twice-of-others) | [](src/LargestNumberAtLeastTwiceOfOthers.java) [](python/largest_number_at_least_twice_of_others.py) | | | 748 | [Shortest Completing Word](https://leetcode.com/problems/shortest-completing-word) | [](src/ShortestCompletingWord.java) [](python/shortest_completing_word.py) | | | 758 | [Bold Words in String](https://leetcode.com/problems/bold-words-in-string) | | | | 760 | [Find Anagram Mappings](https://leetcode.com/problems/find-anagram-mappings) | | | | 762 | [Prime Number of Set Bits in Primary Representation](https://leetcode.com/problems/prime-number-of-set-bits-in-binary-representation) | [](src/PrimeNumberOfSetBitsInBinaryRepresentation.java) [](python/prime_number_of_set_bits_in_binary_representation.py) | | | 766 | [Toeplitz Matrix](https://leetcode.com/problems/toeplitz-matrix) | [](src/ToeplitzMatrix.java) [](python/toeplitz_matrix.py) | | | 771 | [Jewels and Stones](https://leetcode.com/problems/jewels-and-stones) | [](src/JewelsAndStones.java) [](python/jewels_and_stones.py) | | | 783 | [Minimum Distance Between BST Nodes](https://leetcode.com/problems/minimum-distance-between-bst-nodes) | [](src/MinimumAbsoluteDifferenceInBST.java) [](python/minimum_distance_between_bst_nodes.py) | | | 788 | [Rotated Digits](https://leetcode.com/problems/rotated-digits) | | | | 796 | [Rotate String](https://leetcode.com/problems/rotate-string) | [](src/RotateString.java) | | | 800 | [Similar RGB Color](https://leetcode.com/problems/similar-rgb-color) | | | | 804 | [Unique Morse Code Words](https://leetcode.com/problems/unique-morse-code-words) | [](src/UniqueMorseCodeWords.java) | | | 806 | [Number of Lines to Write String](https://leetcode.com/problems/number-of-lines-to-write-string) | [](src/NumberOfLinesToWriteInString.java) | | | 811 | [Subdomain Visit Count](https://leetcode.com/problems/subdomain-visit-count) | | | | 812 | [Largest Triangle Area](https://leetcode.com/problems/largest-triangle-area) | [](src/LargestTriangleArea.java) | | | 819 | [Most Common Word](https://leetcode.com/problems/most-common-word) | [](src/MostCommonWord.java) | | | 821 | [Shortest Distance to Character](https://leetcode.com/problems/shortest-distance-to-a-character) | [](src/ShortestDistanceToACharacter.java) | | | 824 | [Goat Latin](https://leetcode.com/problems/goat-latin) | [](src/GoatLatin.java) | | | 830 | [Positions of Large Groups](https://leetcode.com/problems/positions-of-large-groups) | [](src/PositionsOfLargeGroups.java) | | | 832 | [Flipping an Image](https://leetcode.com/problems/flipping-an-image) | [](src/FlippingAnImage.java) | | | 836 | [Rectangle Overlap](https://leetcode.com/problems/rectangle-overlap) | [](src/RectangleOverlap.java) | | | 840 | [Magic Squares in Grid](https://leetcode.com/problems/magic-squares-in-grid) | | | | 844 | [Backspace String Compare](https://leetcode.com/problems/backspace-string-compare) | [](src/BackspaceStringCompare.java) | | | 849 | [Maximize Distance to Closest Person](https://leetcode.com/problems/maximize-distance-to-closest-person) | | | | 852 | [Peak Index in Mountain Array](https://leetcode.com/problems/peak-index-in-a-mountain-array) | [](src/PeakIndexInMountainArray.java) | | | 859 | [Buddy Strings](https://leetcode.com/problems/buddy-strings) | [](src/BuddyStrings.java) | | | 860 | [Lemonade Change](https://leetcode.com/problems/lemonade-change) | [](src/LemonadeChange.java) | | | 867 | [Transpose Matrix](https://leetcode.com/problems/transpose-matrix) | [](src/TransposeMatrix.java) | | | 868 | [Binary Gap](https://leetcode.com/problems/binary-gap) | [](src/BinaryGap.java) | | | 872 | [Leaf-Similar Trees](https://leetcode.com/problems/leaf-similar-trees) | [](src/LeafSimilarTrees.java) | | | 874 | [Walking Robot Simulation](https://leetcode.com/problems/walking-robot-simulation) | | | | 876 | [Middle of the Linked List](https://leetcode.com/problems/middle-of-the-linked-list) | [](src/MiddleOfTheLinkedList.java) | | | 881 | [Boats to Save People](https://leetcode.com/problems/boats-to-save-people) | [](python/boats_to_save_people.py) | | | 883 | [Projection Area of 3D Shapes](https://leetcode.com/problems/projection-area-of-3d-shapes) | [](src/ProjectionAreaOf3DShapes.java) | | | 884 | [Uncommon Words from 2 Sentences](https://leetcode.com/problems/uncommon-words-from-two-sentences) | [](src/UncommonWordsFromTwoSentences.java) | | | 888 | [Fair Candy Swap](https://leetcode.com/problems/fair-candy-swap) | [](src/FairCandySwap.java) | | | 892 | [Surface Area of 3D Shapes](https://leetcode.com/problems/surface-area-of-3d-shapes) | [](src/SurfaceAreaOf3DShapes.java) | | | 893 | [Groups of Special Equivalent Strings](https://leetcode.com/problems/groups-of-special-equivalent-strings) | | | | 896 | [Monotonic Array](https://leetcode.com/problems/monotonic-array) | [](src/MonotonicArray.java) | | | 897 | [Increasing Order Search Tree](https://leetcode.com/problems/increasing-order-search-tree) | [](src/IncreasingOrderSearchTree.java) | | | 905 | [Sort Array by Parity](https://leetcode.com/problems/sort-array-by-parity) | | | | 908 | [Smallest Range I](https://leetcode.com/problems/smallest-range-i) | [](src/SmallestRangeI.java) | | | 914 | [X of a kind in a Deck of Cards](https://leetcode.com/problems/x-of-a-kind-in-a-deck-of-cards) | [](src/XOfAKindInADeckOfCards.java) | | | 917 | [Reverse Only Letters](https://leetcode.com/problems/reverse-only-letters) | [](src/ReverseOnlyLetters.java) | | | 922 | [Sort Array by Parity II](https://leetcode.com/problems/sort-array-by-parity-ii) | [](src/SortArrayByParityII.java) | | | 925 | [Long Pressed Name](https://leetcode.com/problems/long-pressed-name) | [](src/LongPressedName.java) | | | 929 | [Unique Email Addresses](https://leetcode.com/problems/unique-email-addresses) | [](src/UniqueEmailAddresses.java) | | | 933 | [Number of Recent Calls](https://leetcode.com/problems/number-of-recent-calls) | [](src/NumberOfRecentCalls.java) | | | 937 | [Reorder Data In Log Files](https://leetcode.com/problems/reorder-data-in-log-files) | [](src/ReorderDataInLogFiles.java) | | | 938 | [Range Sum of BST](https://leetcode.com/problems/range-sum-of-bst) | [](src/RangeSumOfBST.java) | | | 941 | [Valid Mountain Array](https://leetcode.com/problems/valid-mountain-array) | [](src/ValidMountainArray.java) [](python/valid_mountain_array.py) | | | 942 | [DI String Match](https://leetcode.com/problems/di-string-match) | [](src/DIStringMatch.java) | | | 944 | [Delete Columns to Make Sorted](https://leetcode.com/problems/delete-columns-to-make-sorted) | [](src/DeleteColumnsToMakeSorted.java) | | | 949 | [Largest Time for Given Digits](https://leetcode.com/problems/largest-time-for-given-digits) | | | | 953 | [Verifying an Alien Dictionary](https://leetcode.com/problems/verifying-an-alien-dictionary) | [](src/VerifyAnAlienDictionary.java) | | | 961 | [N-Repeated Elements in Size 2N Array](https://leetcode.com/problems/n-repeated-element-in-size-2n-array) | [](src/NRepeatedElementInSizeNArray.java) | | | 965 | [Univalued Binary Tree](https://leetcode.com/problems/univalued-binary-tree) | [](src/UnivaluedBinaryTree.java) | | | 970 | [Powerful Integers](https://leetcode.com/problems/powerful-integers) | | | | 976 | [Largest Perimeter Triangle](https://leetcode.com/problems/largest-perimeter-triangle) | [](src/LargestPerimeterTriangle.java) | | | 977 | [Squares of a Sorted Array](https://leetcode.com/problems/squares-of-a-sorted-array) | | | | 983 | [Minimum Cost For Tickets](https://leetcode.com/problems/minimum-cost-for-tickets) | [](python/minimum_cost_for_tickets.py) | | | 985 | [Sum of Even Numbers after Queries](https://leetcode.com/problems/sum-of-even-numbers-after-queries) | | | | 989 | [Add to Array Form of Integer](https://leetcode.com/problems/add-to-array-form-of-integer) | [](src/AddToArrayFormOfInteger.java) | | | 993 | [Cousins in Binary Tree](https://leetcode.com/problems/cousins-in-binary-tree) | [](src/CousinsInBinaryTree.java) | | | 994 | [Rotting Oranges](https://leetcode.com/problems/rotting-oranges) | [](src/RottingOranges.java) | | | 997 | [Find the Town Judge](https://leetcode.com/problems/find-the-town-judge) | [](src/FindTheTownJudge.java) | | | 999 | [Available Captures for Rook](https://leetcode.com/problems/available-captures-for-rook) | [](src/AvailableCapturesForRook.java) | | | 1002 | [Find Common Characters](https://leetcode.com/problems/find-common-characters) | [](src/FindCommonCharacters.java) | | | 1005 | [Maximize Sum of Array After K Negations](https://leetcode.com/problems/maximize-sum-of-array-after-k-negations) | [](src/MaximizeSumOfArrayAfterKNegations.java) | | | 1009 | [Complement of Base 10 Integer](https://leetcode.com/problems/complement-of-base-10-integer) | [](src/NumberComplement.java) | | | 1010 | [Pairs of Songs With Total Durations Divisible by 60](https://leetcode.com/problems/pairs-of-songs-with-total-durations-divisible-by-60) | [](src/PartitionArrayIntoThreePartsWithEqualSum.java) | | | 1013 | [Partition Array into Three Parts with equal Sum](https://leetcode.com/problems/partition-array-into-three-parts-with-equal-sum) | | | | 1018 | [Binary Prefix Divisible by 5](https://leetcode.com/problems/binary-prefix-divisible-by-5) | [](src/BinaryPrefixDivisibleBy5.java) | | | 1020 | [Number of Enclaves](https://leetcode.com/problems/number-of-enclaves) | [](python/number_of_enclaves.py) | | | 1021 | [Remove Outermost Parenthesis](https://leetcode.com/problems/remove-outermost-parentheses) | [](src/RemoveOutermostParentheses.java) | | | 1022 | [Sum of Root to Leaf Binary Numbers](https://leetcode.com/problems/sum-of-root-to-leaf-binary-numbers) | [](src/SumOfRootToLeafBinaryNumbers.java) | | | 1025 | [Divisor Game](https://leetcode.com/problems/divisor-game) | [](src/DivisorGame.java) | | | 1029 | [Two City Scheduling](https://leetcode.com/problems/two-city-scheduling) | | | | 1030 | [Matrix Cells in Distance Order](https://leetcode.com/problems/matrix-cells-in-distance-order) | [](src/MatrixCellsInDistanceOrder.java) | | | 1033 | [Moving Stones Until Consecutive](https://leetcode.com/problems/moving-stones-until-consecutive) | | | | 1037 | [Valid Boomerang](https://leetcode.com/problems/valid-boomerang) | [](src/ValidBoomerang.java) | | | 1042 | [Flower Planting with no Adjacent](https://leetcode.com/problems/flower-planting-with-no-adjacent) | | | | 1046 | [Last Stone Weight](https://leetcode.com/problems/last-stone-weight) | [](src/LastStoneWeight.java) | | | 1047 | [Remove All adjacent Duplicates in String](https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string) | [](src/RemoveAllAdjacentDuplicatesInAString.java) | | | 1051 | [Height Checker](https://leetcode.com/problems/height-checker) | | | | 1056 | π [Confusing Number](https://leetcode.com/problems/confusing-number) | | | | 1064 | π [Fixed Point](https://leetcode.com/problems/fixed-point) | | | | 1065 | π [Index Pairs of a String](https://leetcode.com/problems/index-pairs-of-a-string) | | | | 1071 | [Greatest Common Divisors of Strings](https://leetcode.com/problems/greatest-common-divisor-of-strings) | [](src/GreatestCommonDivisorOfStrings.java) | | | 1078 | [Occurrence After Bigram](https://leetcode.com/problems/occurrences-after-bigram) | [](src/OccurrencesAfterBigram.java) | | | 1085 | π [Sum of Digits in Minimum Number](https://leetcode.com/problems/sum-of-digits-in-the-minimum-number) | | | | 1086 | π [High Five](https://leetcode.com/problems/high-five) | | | | 1089 | [Duplicate Zeroes](https://leetcode.com/problems/duplicate-zeros) | [](src/DuplicateZeros.java) | | | 1099 | π [Two Sum Less Than K](https://leetcode.com/problems/two-sum-less-than-k) | | | | 1103 | [Distribute Candies to People](https://leetcode.com/problems/distribute-candies-to-people) | [](src/DistributeCandiesToPeople.java) | | | 1108 | [Defanging an IP Address](https://leetcode.com/problems/defanging-an-ip-address) | [](src/DefangingAnIPAddress.java) | | | 1118 | π [Number of Days in a Month](https://leetcode.com/problems/number-of-days-in-a-month) | | | | 1119 | π [Remove Vowels From String](https://leetcode.com/problems/remove-vowels-from-a-string) | | | | 1122 | [Relative Sort Array](https://leetcode.com/problems/relative-sort-array) | [](src/RelativeSortArray.java) | | | 1128 | [Number of Equivalent Domino Pairs](https://leetcode.com/problems/number-of-equivalent-domino-pairs) | [](src/NumberOfEquivalentDominoPairs.java) | | | 1133 | π [Largest Unique Number](https://leetcode.com/problems/largest-unique-number) | | | | 1134 | π [Armstrong Number](https://leetcode.com/problems/armstrong-number) | | | | 1137 | [Nth Tribonacci Number](https://leetcode.com/problems/n-th-tribonacci-number) | [](src/NthTribonacciNumber.java) | | | 1143 | [Longest Common Subsequence](https://leetcode.com/problems/longest-common-subsequence) | [](src/LongestCommonSubsequence.java) | | | 1150 | [Check if Number is Majority Element in Sorted Array](https://leetcode.com/problems/check-if-a-number-is-majority-element-in-a-sorted-array) | | | | 1154 | [Day of The Year](https://leetcode.com/problems/day-of-the-year) | [](src/DayOfTheYear.java) | | | 1160 | [Find Words That Can Be Formed By Characters](https://leetcode.com/problems/find-words-that-can-be-formed-by-characters) | | | | 1165 | [Single Row Keyboard](https://leetcode.com/problems/single-row-keyboard) | [](src/FindWordsThatCanBeFormedByCharacters.java) | | | 1170 | [Compare Strings By Frequency of the Smallest Character](https://leetcode.com/problems/compare-strings-by-frequency-of-the-smallest-character) | | | | 1175 | [Prime Arrangements](https://leetcode.com/problems/prime-arrangements) | [](src/PrimeArrangements.java) | | | 1176 | π [Diet Plan Performance](https://leetcode.com/problems/diet-plan-performance) | | | | 1180 | π [Count Substrings with only one Distinct Letter](https://leetcode.com/problems/count-substrings-with-only-one-distinct-letter) | | | | 1184 | [Distance Between Bus Stops](https://leetcode.com/problems/distance-between-bus-stops) | [](src/DistanceBetweenBusStops.java) | | | 1185 | [Day of the Week](https://leetcode.com/problems/day-of-the-week) | [](src/DayOfWeek.java) | | | 1189 | [Maximum Number of Balloons](https://leetcode.com/problems/maximum-number-of-balloons) | [](src/MaximumNumberOfBalloons.java) | | | 1196 | π [How Many Apples Can You Put into the Basket](https://leetcode.com/problems/how-many-apples-can-you-put-into-the-basket) | | | | 1200 | [Minimum Absolute Difference](https://leetcode.com/problems/minimum-absolute-difference) | [](src/MinimumAbsoluteDifference.java) | | | 1201 | [Ugly Number III](https://leetcode.com/problems/ugly-number-iii) | [](src/UglyNumberIII.java) | | | 1207 | [Unique Number of Occurrences](https://leetcode.com/problems/unique-number-of-occurrences) | [](src/UniqueNumberOfOccurrences.java) | | | 1213 | π [Intersection of Three Sorted Arrays](https://leetcode.com/problems/intersection-of-three-sorted-arrays) | | | | 1217 | [Minimum Cost to Move Chips to The Same Position](https://leetcode.com/problems/minimum-cost-to-move-chips-to-the-same-position) | [](src/MinimumCostToMoveChipsToTheSamePosition.java) | | | 1221 | [Split A String In Balanced Strings](https://leetcode.com/problems/split-a-string-in-balanced-strings) | [](src/SplitAStringInBalancedStrings.java) | | | 1228 | π [Missing A Number In Arithmetic Progression](https://leetcode.com/problems/missing-number-in-arithmetic-progression) | | | | 1232 | [Check If It Is A Straight Line](https://leetcode.com/problems/check-if-it-is-a-straight-line) | [](src/CheckIfItIsASStraightLine.java) | | | 1237 | [Find Positive Integer Solutions for a Given Equation](https://leetcode.com/problems/find-positive-integer-solution-for-a-given-equation) | | | | 1243 | π [Array Transformation](https://leetcode.com/problems/array-transformation) | | | | 1249 | [Minimum Remove to Make Valid Parentheses](https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses) | [](src/MinimumRemoveToMakeValidParentheses.java) | | | 1252 | [Cells With Odd Values In Matrix](https://leetcode.com/problems/cells-with-odd-values-in-a-matrix) | [](src/CellsWithOddValuesInMatrix.java) | | | 1254 | [Number of Closed Islands](https://leetcode.com/problems/number-of-closed-islands) | [](python/number_of_closed_islands.py) | | | 1260 | [Shift 2D Grid](https://leetcode.com/problems/shift-2d-grid) | [](src/Shift2DGrid.java) | | | 1266 | [Minimum Time Visiting All Points](https://leetcode.com/problems/minimum-time-visiting-all-points) | [](src/MinimumTimeVisitingAllPoints.java) | | | 1271 | π [Hexspeak](https://leetcode.com/problems/hexspeak) | | | | 1275 | [Find Winner On a Tic Tac Toe Game](https://leetcode.com/problems/find-winner-on-a-tic-tac-toe-game) | [](src/FindWinnerOnATicTacToeGame.java) | | | 1281 | [Subtract the Product and Sum of Digits of a Integer](https://leetcode.com/problems/subtract-the-product-and-sum-of-digits-of-an-integer) | [](src/SubtractTheProductAndSumOfDigitsOfAnInteger.java) | | | 1287 | [Element Appearing More Than 25% in Sorted Array](https://leetcode.com/problems/element-appearing-more-than-25-in-sorted-array) | [](src/ElementAppearingMoreThan25PercentInSortedArray.java) | | | 1290 | [Convert Binary Number In A Linked List to Integer](https://leetcode.com/problems/convert-binary-number-in-a-linked-list-to-integer) | [](src/ConvertBinaryNumberInLinkedListToInteger.java) | | | 1295 | [Find Numbers With Even Numbers of Digits](https://leetcode.com/problems/find-numbers-with-even-number-of-digits) | [](src/FindNumbersWithEvenNumbersOfDigits.java) [](python/find_numbers_with_even_number_of_digits.py) | | | 1299 | [Replace Elements With Greatest Element on Right Side](https://leetcode.com/problems/replace-elements-with-greatest-element-on-right-side) | [](src/ReplaceElementWithGreatestElementOnRightSide.java) [](python/replace_element_with_greatest_element_on_right_hand_side.py) | | | 1304 | [Find N Unique Integers Sum Up To Zero](https://leetcode.com/problems/find-n-unique-integers-sum-up-to-zero) | [](src/FindNUniqueIntegersSumUpToZero.java) | | | 1309 | [Decrypt String From Alphabet To Integer Mapping](https://leetcode.com/problems/decrypt-string-from-alphabet-to-integer-mapping) | [](src/DecryptStringFromAlphabetToIntegerMapping.java) | | | 1313 | [Decompress Run-Length Encoded Strings](https://leetcode.com/problems/decompress-run-length-encoded-list) | [](src/DecompressRunLengthEncodedList.java) | | | 1317 | [Convert Integer to Sum Of Two Non-Zero Integers](https://leetcode.com/problems/convert-integer-to-the-sum-of-two-no-zero-integers) | [](src/ConvertIntegerToTheSumOfTwoNoZeroIntegers.java) | | | 1319 | [Number of Operations to Make Network Connected](https://leetcode.com/problems/number-of-operations-to-make-network-connected) | [](python/no_of_operations_to_make_network_connected.py) | | | 1323 | [Maximum 69 Number](https://leetcode.com/problems/maximum-69-number) | [](src/Maximum69Number.java) | | | 1331 | [Rank Transform of An Array](https://leetcode.com/problems/rank-transform-of-an-array) | [](src/RankTransformOfArray.java) | | | 1332 | [Remove Palindromic Subsequences](https://leetcode.com/problems/remove-palindromic-subsequences) | [](src/RemovePalindromicSubSequences.java) | | | 1337 | [The K Weakest Rows In A Matrix](https://leetcode.com/problems/the-k-weakest-rows-in-a-matrix) | [](src/TheKWeakestRowsInAMatrix.java) | | | 1342 | [Number of Steps to Reduce a Number to Zero](https://leetcode.com/problems/number-of-steps-to-reduce-a-number-to-zero) | [](src/NumberOfStepsToReduceANumberToZero.java) | | | 1346 | [Check if N and It's Double Exist](https://leetcode.com/problems/check-if-n-and-its-double-exist) | [](src/CheckIfNAndItsDoubleExist.java) [](python/check_if_n_and_its_double_exist.py) | | | 1351 | [Count Negative Numbers In A Sorted Matrix](https://leetcode.com/problems/count-negative-numbers-in-a-sorted-matrix) | [](src/CountNegativeNumbersInSortedMatrix.java) | | | 1356 | [Sort Integers by Number of 1 Bits](https://leetcode.com/problems/sort-integers-by-the-number-of-1-bits) | [](src/SortIntegersByTheNumberOf1Bits.java) | | | 1360 | [Number of Days Between Two Dates](https://leetcode.com/problems/number-of-days-between-two-dates) | [](src/NumberOfDaysBetweenTwoDates.java) | | | 1365 | [How Many Numbers Are Smaller Than Current Number](https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number) | [](src/HowManyNumbersAreSmallerThanCurrentNumber.java) | | | 1370 | [Increasing Decreasing String](https://leetcode.com/problems/increasing-decreasing-string) | [](src/IncreasingDecreasingString.java) | | | 1374 | [Generate A String With Characters That Have Odd Count](https://leetcode.com/problems/generate-a-string-with-characters-that-have-odd-counts) | [](src/GenerateAStringWithCharactersThatHaveOddCounts.java) | | | 1376 | [Time Needed to Inform All Employees](https://leetcode.com/problems/time-needed-to-inform-all-employees) | [](src/TimeNeededToInformAllEmployees.java) | | | 1379 | [Find a Corresponding Node of a Binary Tree in a Clone of That Tree](https://leetcode.com/problems/find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree) | [](src/FindACorrespondingNodeOfABinaryTreeInACloneOfThatTree.java) | | | 1380 | [Lucky Numbers In A Matrix](https://leetcode.com/problems/lucky-numbers-in-a-matrix) | [](src/LuckyNumbersInAMatrix.java) | | | 1385 | [Find The Distance Value Between 2 Arrays](https://leetcode.com/problems/find-the-distance-value-between-two-arrays) | [](src/FindTheDistanceValuesBetweenTwoArrays.java) | | | 1389 | [Create Target Array in Given Order](https://leetcode.com/problems/create-target-array-in-the-given-order) | [](src/CreateTargetArrayInGivenOrder.java) | | | 1394 | [Find Lucky Integer In An Array](https://leetcode.com/problems/find-lucky-integer-in-an-array) | [](src/FindTheLuckyIntegerInAnArray.java) | | | 1399 | [Count Largest Group](https://leetcode.com/problems/count-largest-group) | [](src/CountLargestGroup.java) | | | 1402 | [Reducing Dishes](https://leetcode.com/problems/reducing-dishes) | [](python/reducing_dishes.py) | | | 1403 | [Minimum Subsequence in Non-Increasing Order](https://leetcode.com/problems/minimum-subsequence-in-non-increasing-order) | [](src/MinimumSubSequenceInNonIncreasingOrder.java) | | | 1408 | [String Matching In An Array](https://leetcode.com/problems/string-matching-in-an-array) | [](src/StringMatchingInAnArray.java) | | | 1413 | [Minimum Value To Get Positive Step By Step Sum](https://leetcode.com/problems/minimum-value-to-get-positive-step-by-step-sum) | [](src/MinimumValueToGetPositiveStepByStepSum.java) | | | 1417 | [Reformat The String](https://leetcode.com/problems/reformat-the-string) | [](src/ReformatTheString.java) | | | 1422 | [Maximum Score After Splitting A String](https://leetcode.com/problems/maximum-score-after-splitting-a-string) | [](src/MaximumScoreAfterSplittingAString.java) | | | 1426 | π [Counting Elements](https://leetcode.com/problems/counting-elements) | | | | 1427 | π [Performing String Shifts](https://leetcode.com/problems/perform-string-shifts) | | | | 1431 | [Kids With The Greatest Number Of Candies](https://leetcode.com/problems/kids-with-the-greatest-number-of-candies) | [](src/KidsWithTheGreatestNumberOfCandies.java) | | | 1436 | [Destination City](https://leetcode.com/problems/destination-city) | [](src/DestinationCity.java) | | | 1437 | [Check If All 1's Are at Least Length K Places Away](https://leetcode.com/problems/check-if-all-1s-are-at-least-length-k-places-away) | [](src/CheckIfAll1sAreAtLeastKPlacesAway.java) | | | 1441 | [Build An Array With Stack Operation](https://leetcode.com/problems/build-an-array-with-stack-operations) | [](src/BuildAnArrayWithStackOperations.java) | | | 1444 | [Number of Ways of Cutting a Pizza](https://leetcode.com/problems/number-of-ways-of-cutting-a-pizza) | [](python/number_of_ways_of_cutting_pizza.py) | | | 1446 | [Consecutive Characters](https://leetcode.com/problems/consecutive-characters) | [](src/ConsecutiveCharacters.java) | | | 1450 | [Number of Students Doing Homework at Given Time](https://leetcode.com/problems/number-of-students-doing-homework-at-a-given-time) | [](src/NumberOfStudentsDoingHomeworkAtGivenTime.java) | | | 1455 | [Check If Word Occurs as Prefix of any Word in Sentence](https://leetcode.com/problems/check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence) | [](src/CheckIfAWordOccursAsAPrefixOfAnyWordInASentence.java) | | | 1460 | [Make 2 Arrays Equal by Reversing Sub Arrays](https://leetcode.com/problems/make-two-arrays-equal-by-reversing-sub-arrays) | [](src/MakeTwoArraysEqualByReversingSubArrays.java) | | | 1464 | [Maximum Product of 2 Elements in Array](https://leetcode.com/problems/maximum-product-of-two-elements-in-an-array) | [](src/MaximumProductOfTwoElementsInArray.java) | | | 1466 | [Reorder Routes to Make All Paths Lead to the City Zero](https://leetcode.com/problems/reorder-routes-to-make-all-paths-lead-to-the-city-zero) | [](src/MaximumProductOfTwoElementsInArray.java) | | | 1469 | π [Find All Lonely Nodes](https://leetcode.com/problems/find-all-the-lonely-nodes) | [](python/reorder_routes_to_make_all_paths_lead_to_city_zero.py) | | | 1470 | [Shuffle The Array](https://leetcode.com/problems/shuffle-the-array) | [](src/ShuffleTheArray.java) | | | 1472 | [Design Browser History](https://leetcode.com/problems/design-browser-history) | [](src/DesignBrowserHistory.java) [](python/design_browser_history.py) | | | 1474 | [Delete N Nodes After M Nodes In A Linked List](https://leetcode.com/problems/delete-n-nodes-after-m-nodes-of-a-linked-list) | | | | 1475 | [Final Prices With Special Discount in a Shop](https://leetcode.com/problems/final-prices-with-a-special-discount-in-a-shop) | [](src/FinalPricesWithASpecialDiscountInAShop.java) | | | 1480 | [Running Sum of 1D Array](https://leetcode.com/problems/running-sum-of-1d-array) | [](src/RunningSumOf1DArray.java) | | | 1486 | [XOR Operations in An Array](https://leetcode.com/problems/xor-operation-in-an-array) | [](src/XOROperationInAnArray.java) | | | 1491 | [Average Salary Excluding the Minimum and Maximum Salary](https://leetcode.com/problems/average-salary-excluding-the-minimum-and-maximum-salary) | [](src/AverageSalaryExcludingTheMinimumAndMaximumSalary.java) | | | 1496 | [Path Crossing](https://leetcode.com/problems/path-crossing) | [](src/PathCrossing.java) | | | 1502 | [Can Make Arithmetic Progression From Sequence](https://leetcode.com/problems/can-make-arithmetic-progression-from-sequence) | [](src/CanMakeArithmeticProgressionFromSequence.java) | | | 1507 | [Reformat Date](https://leetcode.com/problems/reformat-date) | [](src/ReformatDate.java) | | | 1512 | [Number of Good Pairs](https://leetcode.com/problems/number-of-good-pairs) | [](src/NumberOfGoodPairs.java) | | | 1518 | [Water Bottles](https://leetcode.com/problems/water-bottles) | [](src/WaterBottles.java) | | | 1523 | [Count Odd Numbers In Interval Range](https://leetcode.com/problems/count-odd-numbers-in-an-interval-range) | [](src/CountOddNumbersInIntervalRange.java) | | | 1528 | [Shuffle Strings](https://leetcode.com/problems/shuffle-string) | [](src/ShuffleString.java) | | | 1534 | [Count Good Triplets](https://leetcode.com/problems/count-good-triplets) | [](src/CountGoodTriplets.java) | | | 1539 | [Kth Missing Positive Number](https://leetcode.com/problems/kth-missing-positive-number) | [](src/KthMissingPositiveNumber.java) | | | 1544 | [Make The String Great](https://leetcode.com/problems/make-the-string-great) | [](src/MakeTheStringGreat.java) | | | 1550 | [Three Consecutive Odds](https://leetcode.com/problems/three-consecutive-odds) | [](src/ThreeConsecutiveOdds.java) | | | 1556 | [Thousand Separator](https://leetcode.com/problems/thousand-separator) | [](src/ThousandSeparator.java) | | | 1560 | [Most Visited Sector in a Circular Track](https://leetcode.com/problems/most-visited-sector-in-a-circular-track) | [](src/MostVisitedSectorInACircularTrack.java) | | | 1566 | [Detect Pattern of Length M Repeated K or More Times](https://leetcode.com/problems/detect-pattern-of-length-m-repeated-k-or-more-times) | [](src/DetectPatternOfLengthMRepeatedKOrMoreTimes.java) | | | 1572 | [Matrix Diagonal Sum](https://leetcode.com/problems/matrix-diagonal-sum) | [](src/MatrixDiagonalSum.java) | | | 1576 | [Replace All ?'s to Avoid Consecutive Repeating Characters](https://leetcode.com/problems/replace-all-s-to-avoid-consecutive-repeating-characters) | [](src/ReplaceAllToAvoidConsecutiveRepeatingCharacters.java) | | | 1582 | [Special Positions in a Binary Matrix](https://leetcode.com/problems/special-positions-in-a-binary-matrix) | [](src/SpecialPositionInABinaryMatrix.java) | | | 1588 | [Sum of All Odd Length Subarrays](https://leetcode.com/problems/sum-of-all-odd-length-subarrays) | [](src/SumOfAllOddLengthSubArrays.java) | | | 1592 | [Rearrange Spaces Between Words](https://leetcode.com/problems/rearrange-spaces-between-words) | [](src/RearrangeSpacesBetweenWords.java) | | | 1598 | [Crawler Log Folder](https://leetcode.com/problems/crawler-log-folder) | [](src/CrawlerLogFolder.java) | | | 1600 | [Throne Inheritance](https://leetcode.com/problems/throne-inheritance) | [](src/ThroneInheritance.java) | | | 1603 | [Design Parking System](https://leetcode.com/problems/design-parking-system) | [](src/DesignParkingSystem.java) | | | 1608 | [Special Array With X Elements Greater Than or Equal X](https://leetcode.com/problems/special-array-with-x-elements-greater-than-or-equal-x) | [](src/SpecialArrayWithXElementsGreaterThanEqualToX.java) | | | 1614 | [Maximum Nesting Depth of the Parentheses](https://leetcode.com/problems/maximum-nesting-depth-of-the-parentheses) | [](src/MaximumNestingDepthOfTheParentheses.java) | | | 1619 | [Mean of Array After Removing Some Elements](https://leetcode.com/problems/mean-of-array-after-removing-some-elements) | [](src/MeanOfArrayAfterRemovingSomeElements.java) | | | 1624 | [Largest Substring Between Two Equal Characters](https://leetcode.com/problems/largest-substring-between-two-equal-characters) | [](src/LargestSubStringBetweenTwoEqualCharacters.java) | | | 1629 | [Slowest Key](https://leetcode.com/problems/slowest-key) | [](src/SlowestKey.java) | | | 1636 | [Sort Array by Increasing Frequency](https://leetcode.com/problems/sort-array-by-increasing-frequency) | [](src/SortArrayByIncreasingFrequency.java) | | | 1640 | [Check Array Formation Through Concatenation](https://leetcode.com/problems/check-array-formation-through-concatenation) | [](src/CheckArrayFormationThroughConcatenation.java) | | | 1646 | [Get Maximum in Generated Array](https://leetcode.com/problems/get-maximum-in-generated-array) | [](src/GetMaximumInGeneratedArray.java) | | | 1652 | [Defuse the Bomb](https://leetcode.com/problems/defuse-the-bomb) | [](src/DefuseTheBomb.java) | | | 1656 | [Design an Ordered Stream](https://leetcode.com/problems/design-an-ordered-stream) | [](src/DesignAnOrderedStream.java) | | | 1662 | [Check If Two String Arrays are Equivalent](https://leetcode.com/problems/check-if-two-string-arrays-are-equivalent) | [](src/CheckIfTwoStringArraysAreEquivalent.java) | | | 1668 | [Maximum Repeating Substring](https://leetcode.com/problems/maximum-repeating-substring) | [](src/MaximumRepeatingSubString.java) | | | 1672 | [Richest Customer Wealth](https://leetcode.com/problems/richest-customer-wealth) | [](src/RichestCustomerWealth.java) | | | 1678 | [Goal Parser Interpretation](https://leetcode.com/problems/goal-parser-interpretation) | [](src/GoalParserInterpretation.java) | | | 1684 | [Count the Number of Consistent Strings](https://leetcode.com/problems/count-the-number-of-consistent-strings) | [](src/CountTheNumberOfConsistentStrings.java) | | | 1688 | [Count of Matches in Tournament](https://leetcode.com/problems/count-of-matches-in-tournament) | [](src/CountOfMatchesInTournament.java) | | | 1694 | [Reformat Phone Number](https://leetcode.com/problems/reformat-phone-number) | [](src/ReformatPhoneNumber.java) | | | 1700 | [Number of Students Unable to Eat Lunch](https://leetcode.com/problems/number-of-students-unable-to-eat-lunch) | [](src/NumberOfStudentsUnableToEatLunch.java) | | | 1704 | [Determine if String Halves Are Alike](https://leetcode.com/problems/determine-if-string-halves-are-alike) | [](src/DetermineIfStringHalvesAreAlike.java) | | | 1708 | π [Largest Subarray Length K](https://leetcode.com/problems/largest-subarray-length-k/) | | | | 1710 | [Maximum Units on a Truck](https://leetcode.com/problems/maximum-units-on-a-truck/) | [](src/MaximumUnitsOnATruck.java) | | | 1716 | [Calculate Money in Leetcode Bank](https://leetcode.com/problems/calculate-money-in-leetcode-bank) | [](src/CalculateMoneyInLeetCodeBank.java) | | | 1720 | [Decode XORed Array](https://leetcode.com/problems/decode-xored-array) | [](src/DecodeXORedArray.java) | | | 1725 | [Number Of Rectangles That Can Form The Largest Square](https://leetcode.com/problems/number-of-rectangles-that-can-form-the-largest-square) | [](src/NumberOfRectanglesThatCanFormTheLargestSquare.java) | | | 1732 | [Find the Highest Altitude](https://leetcode.com/problems/find-the-highest-altitude) | [](src/FindTheHighestAltitude.java) | | | 1736 | [Latest Time by Replacing Hidden Digits](https://leetcode.com/problems/latest-time-by-replacing-hidden-digits) | [](src/LatestTimeByReplacingHiddenDigits.java) | | | 1742 | [Maximum Number of Balls in a Box](https://leetcode.com/problems/maximum-number-of-balls-in-a-box) | [](src/MaximumNumberOfBallsInABox.java) | | | 1748 | [Sum of Unique Elements](https://leetcode.com/problems/sum-of-unique-elements) | [](src/SumOfUniqueElements.java) | | | 1752 | [Check if Array Is Sorted and Rotated](https://leetcode.com/problems/check-if-array-is-sorted-and-rotated) | [](src/CheckIfArrayIsSortedAndRotated.java) | | | 1758 | [Minimum Changes To Make Alternating Binary String](https://leetcode.com/problems/minimum-changes-to-make-alternating-binary-string) | [](src/MinimumChangesToMakeAlternatingBinaryString.java) | | | 1763 | [Longest Nice Substring](https://leetcode.com/problems/longest-nice-substring) | [](src/LongestNiceSubstring.java) | | | 1768 | [Merge Strings Alternately](https://leetcode.com/problems/merge-strings-alternately) | [](src/MergeStringsAlternately.java) | | | 1773 | [Count Items Matching a Rule](https://leetcode.com/problems/count-items-matching-a-rule) | [](src/CountItemsMatchingARule.java) | | | 1779 | [Find Nearest Point That Has the Same X or Y Coordinate](https://leetcode.com/problems/find-nearest-point-that-has-the-same-x-or-y-coordinate) | [](src/FindNearestPointThatHasTheSameXOrYCoordinate.java) | | | 1784 | [Check if Binary String Has at Most One Segment of Ones](https://leetcode.com/problems/check-if-binary-string-has-at-most-one-segment-of-ones) | [](src/CheckIfBinaryStringHasAtMostOneSegmentOfOnes.java) | | | 1790 | [Check if One String Swap Can Make Strings Equal](https://leetcode.com/problems/check-if-one-string-swap-can-make-strings-equal) | [](src/CheckIfOneStringSwapCanMakeStringsEqual.java) | | | 1791 | [Find Center of Star Graph](https://leetcode.com/problems/find-center-of-star-graph) | [](src/FindCenterOfStarGraph.java) | | | 1796 | [Second Largest Digit in a String](https://leetcode.com/problems/second-largest-digit-in-a-string) | [](src/SecondLargestDigitInAString.java) | | | 1800 | [Maximum Ascending Subarray Sum](https://leetcode.com/problems/maximum-ascending-subarray-sum) | [](src/MaximumAscendingSubArraySum.java) | | | 1805 | [Number of Different Integers in a String](https://leetcode.com/problems/number-of-different-integers-in-a-string) | [](src/NumberOfDifferentIntegersInString.java) | | | 1812 | [Determine Color of a Chessboard Square](https://leetcode.com/problems/determine-color-of-a-chessboard-square) | [](src/DetermineColorOfChessboardSquare.java) | | | 1816 | [Truncate Sentence](https://leetcode.com/problems/truncate-sentence) | [](src/TruncateSentences.java) | | | 1822 | [Sign of the Product of an Array](https://leetcode.com/problems/sign-of-the-product-of-an-array) | [](src/SignOfTheProductOfAnArray.java) | | | 1826 | π [Faulty Sensor](https://leetcode.com/problems/faulty-sensor) | | | | 1827 | [Minimum Operations to Make the Array Increasing](https://leetcode.com/problems/minimum-operations-to-make-the-array-increasing) | [](src/MinimumOperationsToMakeTheArrayIncreasing.java) | | | 1832 | [Check if the Sentence Is Pangram](https://leetcode.com/problems/check-if-the-sentence-is-pangram) | [](src/CheckIfSentenceIsPangram.java) | | | 1837 | [Sum of Digits in Base K](https://leetcode.com/problems/sum-of-digits-in-base-k) | [](src/SumOfDigitsInBaseK.java) | | | 1844 | [Replace All Digits with Characters](https://leetcode.com/problems/replace-all-digits-with-characters) | [](src/ReplaceAllDigitsWithCharacters.java) | | | 1848 | [Minimum Distance to the Target Element](https://leetcode.com/problems/minimum-distance-to-the-target-element) | [](src/MinimumDistanceToTheTargetElement.java) | | | 1854 | [Maximum Population Year](https://leetcode.com/problems/maximum-population-year) | [](src/MaximumPopulationYear.java) | | | 1859 | [Sorting the Sentence](https://leetcode.com/problems/sorting-the-sentence) | [](src/SortingTheSentence.java) | | | 1863 | [Sum of All Subset XOR Totals](https://leetcode.com/problems/sum-of-all-subset-xor-totals) | [](src/SumOfAllSubsetXORTotals.java) | | | 1869 | [Longer Contiguous Segments of Ones than Zeros](https://leetcode.com/problems/longer-contiguous-segments-of-ones-than-zeros) | [](src/LongerContiguousSegmentOfOnesThanZeros.java) | | | 1876 | [Substrings of Size Three with Distinct Characters](https://leetcode.com/problems/substrings-of-size-three-with-distinct-characters) | [](src/SubstringsOfSizeThreeWithDistinctCharacters.java) | | | 1880 | [Check if Word Equals Summation of Two Words](https://leetcode.com/problems/check-if-word-equals-summation-of-two-words) | [](src/CheckIfWordEqualsSummationOfTwoWords.java) | | | 1886 | [Determine Whether Matrix Can Be Obtained By Rotation](https://leetcode.com/problems/determine-whether-matrix-can-be-obtained-by-rotation) | [](src/DetermineWhetherMatrixCanBeObtainedByRotation.java) | | | 1893 | [Check if All the Integers in a Range Are Covered](https://leetcode.com/problems/check-if-all-the-integers-in-a-range-are-covered) | [](src/CheckIfAllTheIntegersInARangeAreCovered.java) | | | 1897 | [Redistribute Characters to Make All Strings Equal](https://leetcode.com/problems/redistribute-characters-to-make-all-strings-equal) | [](src/RedistributeCharactersToMakeAllStringsEqual.java) | | | 1903 | [Largest Odd Number in String](https://leetcode.com/problems/largest-odd-number-in-string) | [](src/LargestOddNumberInString.java) | | | 1909 | [Remove One Element to Make the Array Strictly Increasing](https://leetcode.com/problems/remove-one-element-to-make-the-array-strictly-increasing) | [](src/RemoveOneElementToMakeTheArrayStrictlyIncreasing.java) | | | 1913 | [Maximum Product Difference Between Two Pairs](https://leetcode.com/problems/maximum-product-difference-between-two-pairs) | [](src/MaximumProductDifferenceBetweenTwoPairs.java) | | | 1920 | [Build Array from Permutation](https://leetcode.com/problems/build-array-from-permutation) | [](src/BuildArrayFromPermutation.java) | | | 1925 | [Count Square Sum Triples](https://leetcode.com/problems/count-square-sum-triples) | [](src/CountSquareSumTriplets.java) | | | 1929 | [Concatenation of Array](https://leetcode.com/problems/concatenation-of-array) | [](src/ConcatenationOfArray.java) | | | 1933 | π [Check If String Is Decomposable Into Value EqualSubstrings](https://leetcode.com/problems/check-if-string-is-decomposable-into-value-equal-substring) | | | | 1935 | [Maximum Number of Words You Can Type](https://leetcode.com/problems/maximum-number-of-words-you-can-type) | [](src/MaximumNumberOfWordsYouCanType.java) | | | 1941 | [Check if All Characters Have Equal Number of Occurrences](https://leetcode.com/problems/check-if-all-characters-have-equal-number-of-occurrences) | [](src/CheckIfAllCharactersHaveEqualNumberOfOccurrences.java) | | | 1945 | [Sum of Digits of String After Convert](https://leetcode.com/problems/sum-of-digits-of-string-after-convert) | [](src/SumOfDigitsOfStringAfterConvert.java) | | | 1952 | [Three Divisors](https://leetcode.com/problems/three-divisors) | [](src/ThreeDivisors.java) | | | 1957 | [Delete Characters to Make Fancy String](https://leetcode.com/problems/delete-characters-to-make-fancy-string) | [](src/DeleteCharactersToMakeFancyString.java) | | | 1961 | [Check If String Is a Prefix of Array](https://leetcode.com/problems/check-if-string-is-a-prefix-of-array) | [](src/CheckIfStringIsAPrefixOfArray.java) | | | 1967 | [Number of Strings That Appear as Substrings in Word](https://leetcode.com/problems/number-of-strings-that-appear-as-substrings-in-word) | [](src/NumberOfStringsThatAppearAsSubstringsInWord.java) | | | 1971 | [Find if Path Exists in Graph](https://leetcode.com/problems/find-if-path-exists-in-graph) | [](src/FindIfPathExistsInGraph.java) | | | 1974 | [Minimum Time to Type Word Using Special Typewriter](https://leetcode.com/problems/minimum-time-to-type-word-using-special-typewriter) | [](src/MinimumTimeToTypeWordUsingSpecialTypewriter.java) | | | 1979 | [Find Greatest Common Divisor of Array](https://leetcode.com/problems/find-greatest-common-divisor-of-array) | [](src/FindGreatestCommonDivisorOfArray.java) | | | 1984 | [Minimum Difference Between Highest and Lowest of K Scores](https://leetcode.com/problems/minimum-difference-between-highest-and-lowest-of-k-scores) | [](src/MinimumDifferenceBetweenHighestAndLowestOfKScores.java) | | | 1991 | [Find the Middle Index in Array](https://leetcode.com/problems/find-the-middle-index-in-array) | [](src/FindTheMiddleIndexInArray.java) | | | 1995 | [Count Special Quadruplets](https://leetcode.com/problems/count-special-quadruplets) | [](src/CountSpecialQuadruplets.java) | | | 2000 | [Reverse Prefix of Word](https://leetcode.com/problems/reverse-prefix-of-word) | [](src/ReversePrefixOfWord.java) | | | 2006 | [Count Number of Pairs With Absolute Difference K](https://leetcode.com/problems/count-number-of-pairs-with-absolute-difference-k) | [](src/CountNumberOfPairsWithAbsoluteDifferenceK.java) | | | 2011 | [Final Value of Variable After Performing Operations](https://leetcode.com/problems/final-value-of-variable-after-performing-operations) | [](src/FinalValueOfVariableAfterPerformingOperations.java) | | | 2016 | [Maximum Difference Between Increasing Elements](https://leetcode.com/problems/maximum-difference-between-increasing-elements) | [](src/MaximumDifferenceBetweenIncreasingElements.java) | | | 2022 | [Convert 1D Array Into 2D Array](https://leetcode.com/problems/convert-1d-array-into-2d-array) | [](src/Convert1DArrayInto2DArray.java) | | | 2027 | [Minimum Moves to Convert String](https://leetcode.com/problems/minimum-moves-to-convert-string) | [](src/MinimumMovesToConvertString.java) | | | 2032 | [Two Out of Three](https://leetcode.com/problems/two-out-of-three) | [](src/TwoOutOfThree.java) | | | 2037 | [Minimum Number of Moves to Seat Everyone](https://leetcode.com/problems/minimum-number-of-moves-to-seat-everyone) | [](src/MinimumNumberOfMovesToSeatEveryone.java) | | | 2042 | [Check if Numbers Are Ascending in a Sentence](https://leetcode.com/problems/check-if-numbers-are-ascending-in-a-sentence) | [](src/CheckIfNumbersAreAscendingInASentence.java) | | | 2047 | [Number of Valid Words in a Sentence](https://leetcode.com/problems/number-of-valid-words-in-a-sentence) | [](src/NumberOfValidWordsInASentence.java) | | | 2053 | [Kth Distinct String in an Array](https://leetcode.com/problems/kth-distinct-string-in-an-array) | [](src/KthDistinctStringInAnArray.java) | | | 2057 | [Smallest Index With Equal Value](https://leetcode.com/problems/smallest-index-with-equal-value) | [](src/SmallestIndexWithEqualValue.java) | | | 2062 | [Count Vowel Substrings of a String](https://leetcode.com/problems/count-vowel-substrings-of-a-string) | [](src/CountVowelSubstringsOfAString.java) | | | 2068 | [Check Whether Two Strings are Almost Equivalent](https://leetcode.com/problems/check-whether-two-strings-are-almost-equivalent) | [](src/CheckWhetherTwoStringsAreAlmostEquivalent.java) | | | 2073 | [Time Needed to Buy Tickets](https://leetcode.com/problems/time-needed-to-buy-tickets) | [](src/TimeNeededToBuyTickets.java) | | | 2078 | [Two Furthest Houses With Different Colors](https://leetcode.com/problems/two-furthest-houses-with-different-colors) | [](src/TwoFurthestHousesWithDifferentColors.java) | | | 2085 | [Count Common Words With One Occurrence](https://leetcode.com/problems/count-common-words-with-one-occurrence) | [](src/CountCommonWordsWithOneOccurrence.java) | | | 2089 | [Find Target Indices After Sorting Array](https://leetcode.com/problems/find-target-indices-after-sorting-array) | [](src/FindTargetIndicesAfterSortingArray.java) | | | 2094 | [Finding 3-Digit Even Numbers](https://leetcode.com/problems/finding-3-digit-even-numbers) | [](src/Finding3DigitEvenNumbers.java) | | | 2099 | [Find Subsequence of Length K With the Largest Sum](https://leetcode.com/problems/find-subsequence-of-length-k-with-the-largest-sum) | [](src/FindSubsequenceOfLengthKWithTheLargestSum.java) | | | 2103 | [Rings and Rods](https://leetcode.com/problems/rings-and-rods) | [](src/RingsAndRods.java) | | | 2108 | [Find First Palindromic String in the Array](https://leetcode.com/problems/find-first-palindromic-string-in-the-array) | [](src/FindFirstPalindromicStringInArray.java) | | | 2114 | [Maximum Number of Words Found in Sentences](https://leetcode.com/problems/maximum-number-of-words-found-in-sentences) | [](src/MaximumNumberOfWordsFoundInSentences.java) | | | 2119 | [A Number After a Double Reversal](https://leetcode.com/problems/a-number-after-a-double-reversal) | [](src/ANumberAfterADoubleReversal.java) | | | 2124 | [Check if All A's Appears Before All B's](https://leetcode.com/problems/check-if-all-as-appears-before-all-bs) | [](src/CheckIfAllTheAsAppearBeforeAllTheBs.java) | | | 2129 | [Capitalize the Title](https://leetcode.com/problems/capitalize-the-title) | [](src/CapitalizeTheTitle.java) | | | 2133 | [Check if Every Row and Column Contains All Numbers](https://leetcode.com/problems/check-if-every-row-and-column-contains-all-numbers) | [](src/CheckIfEveryRowAndEveryColumnContainAllNumbers.java) | | | 2138 | [Divide a String Into Groups of Size k](https://leetcode.com/problems/divide-a-string-into-groups-of-size-k) | [](src/DivideTheStringIntoGroupsOfSizeK.java) | | | 2144 | [Minimum Cost of Buying Candies With Discount](https://leetcode.com/problems/minimum-cost-of-buying-candies-with-discount) | [](src/MinimumCostOfBuyingCandiesWithDiscount.java) | | | 2148 | [Count Elements With Strictly Smaller and Greater Elements](https://leetcode.com/problems/count-elements-with-strictly-smaller-and-greater-elements) | [](src/CountElementsWithStrictlySmallerAndGreaterElements.java) | | | 2154 | [Keep Multiplying Found Values by Two](https://leetcode.com/problems/keep-multiplying-found-values-by-two) | [](src/KeepMultiplyingFoundValuesByTwo.java) | | | 2160 | [Minimum Sum of Four Digit Number After Splitting Digits](https://leetcode.com/problems/minimum-sum-of-four-digit-number-after-splitting-digits) | [](src/MinimumSumOfFourDigitNumberAfterSplittingDigits.java) | | | 2164 | [Sort Even and Odd Indices Independently](https://leetcode.com/problems/sort-even-and-odd-indices-independently) | [](src/SortEvenAndOddIndicesIndependently.java) | | | 2169 | [Count Operations to Obtain Zero](https://leetcode.com/problems/count-operations-to-obtain-zero) | [](src/CountOperationsToObtainZero.java) | | | 2176 | [Count Equal and Divisible Pairs in an Array](https://leetcode.com/problems/count-equal-and-divisible-pairs-in-an-array) | [](src/CountEqualAndDivisiblePairsInAnArray.java) | | | 2180 | [Count Integers With Even Digit Sum](https://leetcode.com/problems/count-integers-with-even-digit-sum) | [](src/CountIntegersWithEvenDigitSum.java) | | | 2185 | [Counting Words With a Given Prefix](https://leetcode.com/problems/counting-words-with-a-given-prefix) | [](src/CountingWordsWithAGivenPrefix.java) | | | 2190 | [Most Frequent Number Following Key In an Array](https://leetcode.com/problems/most-frequent-number-following-key-in-an-array) | [](src/MostFrequentNumberFollowingKeyInAnArray.java) | | | 2194 | [Cells in a Range on an Excel Sheet](https://leetcode.com/problems/cells-in-a-range-on-an-excel-sheet) | [](src/CellsInARangeOnAnExcelSheet.java) | | | 2200 | [Find All K-Distant Indices in an Array](https://leetcode.com/problems/find-all-k-distant-indices-in-an-array) | [](src/FindAllKDistantIndicesInAnArray.java) | | | 2206 | [Divide Array Into Equal Pairs](https://leetcode.com/problems/divide-array-into-equal-pairs) | [](src/DivideArrayIntoEqualPairs.java) | | | 2210 | [Count Hills and Valleys in an Array](https://leetcode.com/problems/count-hills-and-valleys-in-an-array) | [](src/CountHillsAndValleysInAnArray.java) | | | 2215 | [Find the Difference of Two Arrays](https://leetcode.com/problems/find-the-difference-of-two-arrays) | [](src/FindTheDifferenceOfTwoArrays.java) | | | 2220 | [Minimum Bit Flips to Convert Number](https://leetcode.com/problems/minimum-bit-flips-to-convert-number) | [](src/MinimumBitFlipsToConvertNumber.java) | | | 2224 | [Minimum Number of Operations to Convert Time](https://leetcode.com/problems/minimum-number-of-operations-to-convert-time) | [](src/MinimumNumberOfOperationsToConvertTime.java) | | | 2229 | π [Check if an array is consecutive](https://leetcode.com/problems/check-if-an-array-is-consecutive) | | | | 2231 | [Largest Number After Digit Swaps by Parity](https://leetcode.com/problems/largest-number-after-digit-swaps-by-parity) | [](src/LargestNumberAfterDigitSwapsByParity.java) | | | 2235 | [Add Two Integers](https://leetcode.com/problems/add-two-integers) | [](src/AddTwoIntegers.java) | | | 2236 | [Root Equals Sum of Children](https://leetcode.com/problems/root-equals-sum-of-children) | [](src/RootEqualsSumOfChildren.java) | | | 2239 | [Find Closest Number to Zero](https://leetcode.com/problems/find-closest-number-to-zero) | [](src/FindClosestNumberToZero.java) | | | 2243 | [Calculate Digit Sum of a String](https://leetcode.com/problems/calculate-digit-sum-of-a-string) | [](src/CalculateDigitSumOfAString.java) | | | 2248 | [Intersection of Multiple Arrays](https://leetcode.com/problems/intersection-of-multiple-arrays) | [](src/IntersectionOfMultipleArrays.java) | | | 2255 | [Count Prefixes of a Given String](https://leetcode.com/problems/count-prefixes-of-a-given-string) | [](src/CountPrefixesOfAGivenString.java) | | | 2259 | [Remove Digit From Number to Maximize Result](https://leetcode.com/problems/remove-digit-from-number-to-maximize-result) | [](src/RemoveDigitFromNumberToMaximizeResult.java) | | | 2264 | [Largest 3-Same-Digit Number in String](https://leetcode.com/problems/largest-3-same-digit-number-in-string) | [](src/Largest3SameDigitNumberInString.java) | | | 2269 | [Find the K-Beauty of a Number](https://leetcode.com/problems/find-the-k-beauty-of-a-number) | [](src/FindTheKBeautyOfANumber.java) | | | 2273 | [Find Resultant Array After Removing Anagrams](https://leetcode.com/problems/find-resultant-array-after-removing-anagrams) | [](src/FindResultantArrayAfterRemovingAnagrams.java) | | | 2278 | [Percentage of Letter in String](https://leetcode.com/problems/percentage-of-letter-in-string) | [](src/PercentageOfLetterInString.java) | | | 2283 | [Check if Number Has Equal Digit Count and Digit Value](https://leetcode.com/problems/check-if-number-has-equal-digit-count-and-digit-value) | [](src/CheckIfNumberHasEqualDigitCountAndDigitValue.java) | | | 2287 | [Rearrange Characters to Make Target String](https://leetcode.com/problems/rearrange-characters-to-make-target-string) | [](src/RearrangeCharactersToMakeTargetString.java) | | | 2293 | [Min Max Game](https://leetcode.com/problems/min-max-game) | [](src/MinMaxGame.java) | | | 2299 | [Strong Password Checker II](https://leetcode.com/problems/strong-password-checker-ii) | [](src/StrongPasswordCheckerII.java) | | | 2300 | [Successful Pairs of Spells and Potions](https://leetcode.com/problems/successful-pairs-of-spells-and-potions) | [](python/successfull_pairs_of_spells_and_potions.py) | | | 2303 | [Calculate Amount Paid in Taxes](https://leetcode.com/problems/calculate-amount-paid-in-taxes) | [](src/CalculateAmountPaidInTaxes.java) | | | 2309 | [Greatest English Letter in Upper and Lower Case](https://leetcode.com/problems/greatest-english-letter-in-upper-and-lower-case) | [](src/GreatestEnglishLetterInUpperAndLowerCase.java) | | | 2315 | [Count Asterisks](https://leetcode.com/problems/count-asterisks) | [](src/CountAsterisks.java) [](python/successfull_pairs_of_spells_and_potions.py) | | | 2316 | [Count Unreachable Pairs of Nodes in an Undirected Graph](https://leetcode.com/problems/count-unreachable-pairs-of-nodes-in-an-undirected-graph) | [](python/count_unreachable_pair_of_node_in_an_undirectable_graph.py) | | | 2319 | [Check if Matrix Is X-Matrix](https://leetcode.com/problems/check-if-matrix-is-x-matrix) | [](src/CountAsterisks.java) | | | 2325 | [Decode the Message](https://leetcode.com/problems/decode-the-message) | [](src/DecodeTheMessage.java) | | | 2331 | [Evaluate Boolean Binary Tree](https://leetcode.com/problems/evaluate-boolean-binary-tree) | [](src/EvaluateBooleanBinaryTree.java) | | | 2335 | [Minimum Amount of Time to Fill Cups](https://leetcode.com/problems/minimum-amount-of-time-to-fill-cups) | [](src/MinimumAmountOfTimeToFillCups.java) | | | 2439 | [Minimize Maximum of Array](https://leetcode.com/problems/minimize-maximum-of-array) | [](python/minimize_maximum_of_array.py) | | | 2341 | [Maximum Number of Pairs in Array](https://leetcode.com/problems/maximum-number-of-pairs-in-array) | [](src/MaximumNumberOfPairsInArray.java) | | | 2347 | [Best Poker Hand](https://leetcode.com/problems/best-poker-hand) | [](src/BestPokerHand.java) | | | 2348 | [Number of Zero-Filled Subarrays](https://leetcode.com/problems/number-of-zero-filled-subarrays) | [](python/number_of_zero_filled_subarrays.py) | | | 2351 | [First Letter to Appear Twice](https://leetcode.com/problems/first-letter-to-appear-twice) | [](src/FirstLetterToAppearTwice.java) | | | 2357 | [Make Array Zero by Subtracting Equal Amounts](https://leetcode.com/problems/make-array-zero-by-subtracting-equal-amounts) | [](src/MakeArrayZeroBySubtractingEqualAmounts.java) | | | 2360 | [Longest Cycle in a Graph](https://leetcode.com/problems/longest-cycle-in-a-graph) | [](python/longest_cycle_in_graph.py) | | | 2363 | [Merge Similar Items](https://leetcode.com/problems/merge-similar-items) | [](src/MergeSimilarItems.java) | | | 2367 | [Number of Arithmetic Triplets](https://leetcode.com/problems/number-of-arithmetic-triplets) | [](src/NumberOfArithmeticTriplets.java) | | | 2373 | [Largest Local Values in a Matrix](https://leetcode.com/problems/largest-local-values-in-a-matrix) | [](src/LargestLocalValuesInAMatrix.java) | | | 2379 | [Minimum Recolors to Get K Consecutive Black Blocks](https://leetcode.com/problems/minimum-recolors-to-get-k-consecutive-black-blocks) | [](src/MinimumRecolorsToGetKConsecutiveBlackBlocks.java) | | | 2383 | [Minimum Hours of Training to Win a Competition](https://leetcode.com/problems/minimum-hours-of-training-to-win-a-competition) | [](src/MinimumHoursOfTrainingToWinACompetition.java) | | | 2389 | [Longest Subsequence With Limited Sum](https://leetcode.com/problems/longest-subsequence-with-limited-sum) | [](src/LongestSubsequenceWithLimitedSum.java) | | | 2395 | [Find Subarrays With Equal Sum](https://leetcode.com/problems/find-subarrays-with-equal-sum) | [](src/FindSubarraysWithEqualSum.java) | | | 2399 | [Check Distances Between Same Letters](https://leetcode.com/problems/check-distances-between-same-letters) | [](src/CheckDistancesBetweenSameLetters.java) | | | 2404 | [Most Frequent Even Element](https://leetcode.com/problems/most-frequent-even-element) | [](src/MostFrequentEvenElement.java) | | | 2409 | [Count Days Spent Together](https://leetcode.com/problems/count-days-spent-together) | [](src/CountDaysSpentTogether.java) | | | 2413 | [Smallest Even Multiple](https://leetcode.com/problems/smallest-even-multiple) | [](src/SmallestEvenMultiple.java) | | | 2418 | [Sort the People](https://leetcode.com/problems/sort-the-people) | [](src/SortThePeople.java) | | | 2423 | [Remove Letter To Equalize Frequency](https://leetcode.com/problems/remove-letter-to-equalize-frequency) | [](src/RemoveLetterToEqualizeFrequency.java) | | | 2427 | [Number of Common Factors](https://leetcode.com/problems/number-of-common-factors) | [](src/NumberOfCommonFactors.java) | | | 2432 | [The Employee That Worked on the Longest Task](https://leetcode.com/problems/the-employee-that-worked-on-the-longest-task) | [](src/TheEmployeeThatWorkedOnTheLongestTask.java) | | | 2437 | [Number of Valid Clock Times](https://leetcode.com/problems/number-of-valid-clock-times) | [](src/NumberOfValidClockTimes.java) | | | 2441 | [Largest Positive Integer That Exists With Its Negative](https://leetcode.com/problems/largest-positive-integer-that-exists-with-its-negative) | [](src/LargestPositiveIntegerThatExistsWithItsNegative.java) | | | 2446 | [Determine if Two Events Have Conflict](https://leetcode.com/problems/determine-if-two-events-have-conflict) | [](src/DetermineIfTwoEventsHaveConflict.java) | | | 2451 | [Odd String Difference](https://leetcode.com/problems/odd-string-difference) | [](src/OddStringDifference.java) | | | 2455 | [Average Value of Even Numbers That Are Divisible by Three](https://leetcode.com/problems/average-value-of-even-numbers-that-are-divisible-by-three) | [](src/AverageValueOfEvenNumbersThatAreDivisibleByThree.java) | | | 2460 | [Apply Operations to an Array](https://leetcode.com/problems/apply-operations-to-an-array) | [](src/ApplyOperationsToAnArray.java) | | | 2465 | [Number of Distinct Averages](https://leetcode.com/problems/number-of-distinct-averages) | [](src/NumberOfDistinctAverages.java) | | | 2466 | [Count Ways To Build Good Strings](https://leetcode.com/problems/count-ways-to-build-good-strings) | | | | 2469 | [Convert the Temperature](https://leetcode.com/problems/convert-the-temperature) | [](src/ConvertTheTemperature.java) | | | 2475 | [Number of Unequal Triplets in Array](https://leetcode.com/problems/number-of-unequal-triplets-in-array) | [](src/NumberOfUnequalTripletsInArray.java) | | | 2481 | [Minimum Cuts to Divide a Circle](https://leetcode.com/problems/minimum-cuts-to-divide-a-circle) | [](src/MinimumCutsToDivideACircle.java) | | | 2485 | [Find the Pivot Integer](https://leetcode.com/problems/find-the-pivot-integer) | [](src/FindThePivotInteger.java) | | | 2490 | [Circular Sentence](https://leetcode.com/problems/circular-sentence) | [](src/CircularSentence.java) | | | 2492 | [Minimum Score of a Path Between Two Cities](https://leetcode.com/problems/minimum-score-of-a-path-between-two-cities) | [](python/minimum_score_of_a_path_between_two_cities.py) | | | 2496 | [Maximum Value of a String in an Array](https://leetcode.com/problems/maximum-value-of-a-string-in-an-array) | [](src/MaximumValueOfAStringInAnArray.java) | | | 2500 | [Delete Greatest Value in Each Row](https://leetcode.com/problems/delete-greatest-value-in-each-row) | [](src/DeleteGreatestValueInEachRow.java) | | | 2506 | [Count Pairs Of Similar Strings](https://leetcode.com/problems/count-pairs-of-similar-strings) | [](src/CountPairsOfSimilarStrings.java) | | | 2511 | [Maximum Enemy Forts That Can Be Captured](https://leetcode.com/problems/maximum-enemy-forts-that-can-be-captured) | [](src/MaximumEnemyFortsThatCanBeCaptured.java) | | | 2515 | [Shortest Distance to Target String in a Circular Array](https://leetcode.com/problems/shortest-distance-to-target-string-in-a-circular-array) | [](src/ShortestDistanceToTargetStringInACircularArray.java) | | | 2520 | [Count the Digits That Divide a Number](https://leetcode.com/problems/count-the-digits-that-divide-a-number) | [](src/CountTheDigitsThatDivideANumber.java) | | | 2525 | [Categorize Box According to Criteria](https://leetcode.com/problems/categorize-box-according-to-criteria) | [](src/CategorizeBoxAccordingToCriteria.java) | | | 2529 | [Maximum Count of Positive Integer and Negative Integer](https://leetcode.com/problems/maximum-count-of-positive-integer-and-negative-integer) | [](src/MaximumCountOfPositiveIntegerAndNegativeInteger.java) | | | 2535 | [Difference Between Element Sum and Digit Sum of an Array](https://leetcode.com/problems/difference-between-element-sum-and-digit-sum-of-an-array) | [](src/DifferenceBetweenElementSumAndDigitSumOfAnArray.java) | | | 2540 | [Minimum Common Value](https://leetcode.com/problems/minimum-common-value) | [](src/MinimumCommonValue.java) | | | 2544 | [Alternating Digit Sum](https://leetcode.com/problems/alternating-digit-sum) | [](src/AlternatingDigitSum.java) | | | 2549 | [Count Distinct Numbers on Board](https://leetcode.com/problems/count-distinct-numbers-on-board) | [](src/CountDistinctNumbersOnBoard.java) | | | 2553 | [Separate the Digits in an Array](https://leetcode.com/problems/separate-the-digits-in-an-array) | [](src/SeparateTheDigitsInAnArray.java) | | | 2558 | [Take Gifts From the Richest Pile](https://leetcode.com/problems/take-gifts-from-the-richest-pile) | [](src/TakeGiftsFromTheRichestPile.java) | | | 2562 | [Find the Array Concatenation Value](https://leetcode.com/problems/find-the-array-concatenation-value) | [](src/FindTheArrayConcatenationValue.java) | | | 2566 | [Maximum Difference by Remapping a Digit](https://leetcode.com/problems/maximum-difference-by-remapping-a-digit) | [](src/MaximumDifferenceByRemappingADigit.java) | | | 2570 | [Merge Two 2D Arrays by Summing Values](https://leetcode.com/problems/merge-two-2d-arrays-by-summing-values) | [](src/MergeTwo2DArraysBySummingValues.java) | | | 2574 | [Left and Right Sum Differences](https://leetcode.com/problems/left-and-right-sum-differences) | [](src/LeftAndRightSumDifferences.java) | | | 2578 | [Split With Minimum Sum](https://leetcode.com/problems/split-with-minimum-sum) | [](src/SplitWithMinimumSum.java) | | | 2582 | [Pass the Pillow](https://leetcode.com/problems/pass-the-pillow) | [](src/PassThePillow.java) | | | 2586 | [Count the Number of Vowel Strings in Range](https://leetcode.com/problems/count-the-number-of-vowel-strings-in-range) | [](src/CountTheNumberOfVowelStringsInRange.java) | | | 2591 | [Distribute Money to Maximum Children](https://leetcode.com/problems/distribute-money-to-maximum-children) | [](src/DistributeMoneyToMaximumChildren.java) | | | 2595 | [Number of Even and Odd Bits](https://leetcode.com/problems/number-of-even-and-odd-bits) | [](src/NumberOfEvenAndOddBits.java) | | | 2600 | [K Items With the Maximum Sum](https://leetcode.com/problems/k-items-with-the-maximum-sum) | [](src/KItemsWithTheMaximumSum.java) | | | 2605 | [Form Smallest Number From Two Digit Arrays](https://leetcode.com/problems/form-smallest-number-from-two-digit-arrays) | [](src/FormSmallestNumberFromTwoDigitArrays.java) | | | 2609 | [Find the Longest Balanced Substring of a Binary String](https://leetcode.com/problems/find-the-longest-balanced-substring-of-a-binary-string) | [](src/FindTheLongestBalancedSubstringOfABinaryString.java) | | | 2614 | [Prime In Diagonal](https://leetcode.com/problems/prime-in-diagonal) | [](src/PrimeInDiagonal.java) | | | 2639 | [Find the Width of Columns of a Grid](https://leetcode.com/problems/find-the-width-of-columns-of-a-grid) | [](src/FindTheWidthOfColumnsOfAGrid.java) | | | 2643 | [Row With Maximum Ones](https://leetcode.com/problems/row-with-maximum-ones) | [](src/RowWithMaximumOnes.java) | | | 2644 | [Find the Maximum Divisibility Score](https://leetcode.com/problems/find-the-maximum-divisibility-score) | [](src/FindTheMaximumDivisibilityScore.java) | | | 2651 | [Calculate Delayed Arrival Time](https://leetcode.com/problems/calculate-delayed-arrival-time) | [](src/CalculateDelayedArrivalTime.java) | | | 2652 | [Sum Multiples](https://leetcode.com/problems/sum-multiples) | [](src/SumMultiples.java) | | | 2656 | [Maximum Sum With Exactly K Elements](https://leetcode.com/problems/maximum-sum-with-exactly-k-elements) | [](src/MaximumSumWithExactlyKElements.java) | | | 2660 | [Determine the Winner of a Bowling Game](https://leetcode.com/problems/determine-the-winner-of-a-bowling-game) | [](src/DetermineTheWinnerOfABowlingGame.java) | | | 2670 | [Find the Distinct Difference Array](https://leetcode.com/problems/find-the-distinct-difference-array) | [](src/FindTheDistinctDifferenceArray.java) | | | 2678 | [Number of Senior Citizens](https://leetcode.com/problems/number-of-senior-citizens) | [](src/NumberOfSeniorCitizens.java) | | | 2682 | [Find the Losers of the Circular Game](https://leetcode.com/problems/find-the-losers-of-the-circular-game) | [](src/FindTheLosersOfTheCircularGame.java) | | | 2696 | [Minimum String Length After Removing Substrings](https://leetcode.com/problems/minimum-string-length-after-removing-substrings) | [](src/MinimumStringLengthAfterRemovingSubstrings.java) | | | 2697 | [Lexicographically Smallest Palindrome](https://leetcode.com/problems/lexicographically-smallest-palindrome) | [](src/LexicographicallySmallestPalindrome.java) | | | 2706 | [Buy Two Chocolates](https://leetcode.com/problems/buy-two-chocolates) | [](src/BuyTwoChocolates.java) | | | 2710 | [Remove Trailing Zeros From a String](https://leetcode.com/problems/remove-trailing-zeros-from-a-string) | | | | 2716 | [Minimize String Length](https://leetcode.com/problems/minimize-string-length) | | | | 2717 | [Semi-Ordered Permutation](https://leetcode.com/problems/semi-ordered-permutation) | | | | 2728 | [Count Houses in a Circular Street](https://leetcode.com/problems/count-houses-in-a-circular-street) | | | | 2729 | [Check if The Number is Fascinating](https://leetcode.com/problems/check-if-the-number-is-fascinating) | | | | 2733 | [Neither Minimum nor Maximum](https://leetcode.com/problems/neither-minimum-nor-maximum) | | | | 2739 | [Total Distance Traveled](https://leetcode.com/problems/total-distance-traveled) | | | | 2744 | [Find Maximum Number of String Pairs](https://leetcode.com/problems/find-maximum-number-of-string-pairs) | | | | 2748 | [Number of Beautiful Pairs](https://leetcode.com/problems/number-of-beautiful-pairs) | | | | 2760 | [Longest Even Odd Subarray With Threshold](https://leetcode.com/problems/longest-even-odd-subarray-with-threshold) | | | | 2765 | [Longest Alternating Subarray](https://leetcode.com/problems/longest-alternating-subarray) | | | | 2769 | [Find the Maximum Achievable Number](https://leetcode.com/problems/find-the-maximum-achievable-number) | | | | 2778 | [Sum of Squares of Special Elements](https://leetcode.com/problems/sum-of-squares-of-special-elements) | | | | 2784 | [Check if Array is Good](https://leetcode.com/problems/check-if-array-is-good) | | | | 2788 | [Split Strings by Separator](https://leetcode.com/problems/split-strings-by-separator) | | | | 2798 | [Number of Employees Who Met the Target](https://leetcode.com/problems/number-of-employees-who-met-the-target) | | | | 2806 | [Account Balance After Rounded Purchase](https://leetcode.com/problems/account-balance-after-rounded-purchase) | | | | 2810 | [Faulty Keyboard](https://leetcode.com/problems/faulty-keyboard) | | |
About
Solution to LeetCode π» Algorithms problems.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Java 83.6%
- Python 16.1%
- JavaScript 0.3%