文件名称:LeetCode:LeetCode问题练习
文件大小:30KB
文件格式:ZIP
更新时间:2024-03-03 21:29:29
Java
解决问题的方法: 数组的动态编程方法 线性方法-LeetCode 239`算法 该算法非常简单: 沿数组的方向从左到右进行迭代,并向左构建一个数组。 沿数组的方向从右向>左迭代,并向右构建一个数组。 为范围为(0,n-k + 1)的i建立一个max(right [i],left [i + k-1])的输出数组。 ` 需要修订: 123 15 //待办事项:9 19 62 63 67 160 234 252 647 1268
【文件预览】:
LeetCode-master
----gameOfLife.java(2KB)
----7_ReverseInteger.java(833B)
----23_MergeKSortedLists.java(895B)
----Remember.md(308B)
----11_ContainerWithMostWater.java(495B)
----91_DecodeWays.java(614B)
----829_ConsecutiveNumbersSum.java(280B)
----4_MedianOfSortedArrays.java(3KB)
----102_BinaryTreeLevelOrderTraversal.java(1KB)
----215_KLargestElementsInArray.java(447B)
----515_Find Largest Value in Each Tree Row.java(778B)
----415_AddStrings.java(841B)
----973_KClosestPointsToOrigin.java(785B)
----560_SubarraySumEqualsK.java(442B)
----199_RightSideViewOfTree.java(1013B)
----199_BinaryTreeRightSideView.java(3KB)
----21_Merge2SortedList.java(903B)
----122_StockBuyAndSellMultipleTimes.java(777B)
----9_PalindromNumber.java(464B)
----88_MergeSortedArray.java(714B)
----138_DeepCopyOfLinkedList.java(1KB)
----42_TrappingRainWater.java(797B)
----226_InvertBinaryTree.java(700B)
----994_RottingOranges.java(2KB)
----1_TwoSum.java(473B)
----123_2StockBuy&Sell.java(562B)
----31_NextPermutation.java(0B)
----2_AddTwoLinkedlList.java(934B)
----937_ReorderLogsInFile.java(1KB)
----3_LongestSubstringWithoutRepeatingCharacters.java(447B)
----59_SpiralMatrixWithNumbers.java(835B)
----239_SlidingWindowMaximum.java(1KB)
----56_MergeIntervals.java(793B)
----20_ValidParenthesis.java(816B)
----208_Trie.java(2KB)
----snakeTraversalOf2DArray.java(754B)
----572_SubtreeOfAnotherTree.java(839B)
----15_3Sum.java(863B)
----1161_MaximumLevelSumOfBinaryTree.java(983B)
----692_TopKFrequentWords.java(730B)
----637_AverageOfLevelsInBinaryTree.java(1016B)
----.gitignore(50B)
----200_NumberOfIslands.java(872B)
----53_MaximumSubarray.java(350B)
----54_SpiralMatrix.java(865B)
----142_StartOfLLcycle.java(766B)
----146_LRUCache.java(3KB)
----121_StockBuySell.java(518B)
----README.md(511B)
----DataStructures()
--------LinkedList.java(38B)
--------HashMap.java(2KB)
----238_ProductOfArraysExceptSelf.java(736B)
----5_LongestPalindromicSubstring.java(1KB)
----953_VerifyAlienDictionary.java(812B)
----Main.java(2KB)
----101_SymmetricTree.java(934B)
----819_MostCommonWord.java(815B)
----167_2SumII.java(526B)
----206_ReverseLinkedList.java(600B)