文章
螺旋矩阵 I、II、III
螺旋矩阵I来源:https://leetcodecn.com/probl...(https://link.segmentfault.com/?enc%2BEL1uSf7Dq5XbXXfFcNKRw%3D%3D.h%2FQNXmUxCXMdgMMJUDnPUTkkqiOJTO2e
[LeetCode] 59. Spiral Matrix II
ProblemGivenapositiveintegern,generateasquarematrixfilledwithelementsfrom1ton2inspiralorder.Example:Input:3Output:1,
[LeetCode] 867. Transpose Matrix
ProblemGivenamatrixA,returnthetransposeofA.Thetransposeofamatrixisthematrixflippedoverit&39;smaindiagonal,switchingthe
[LeetCode] 51. N-Queens
ProblemThenqueenspuzzleistheproblemofplacingnqueensonann×nchessboardsuchthatnotwoqueensattackeachother.Givenaninteger
[LeetCode] 48. Rotate Image
ProblemYouaregivenannxn2Dmatrixrepresentinganimage.Rotatetheimageby90degrees(clockwise).Note:Youhavetorotatetheimage
[LeetCode] 562. Longest Line of Consecutive One in Matrix
ProblemGivena01matrixM,findthelongestlineofconsecutiveoneinthematrix.Thelinecouldbehorizontal,vertical,diagonalorantidia
[LeetCode] 348. Design Tic-Tac-Toe
ProblemDesignaTictactoegamethatisplayedbetweentwoplayersonanxngrid.Youmayassumethefollowingrules:Amoveisguaranteed
[LeetCode] 695. Max Area of Island
ProblemGivenanonempty2Darraygridof0&39;sand1&39;s,anislandisagroupof1&39;s(representingland)connected4directionally(ho
[LeetCode] 212. Word Search II
ProblemGivena2Dboardandalistofwordsfromthedictionary,findallwordsintheboard.Eachwordmustbeconstructedfromlettersofseq
[LeetCode] 329. Longest Increasing Path in a Matrix
ProblemGivenanintegermatrix,findthelengthofthelongestincreasingpath.Fromeachcell,youcaneithermovetofourdirections:left,r
已加载文章中没有匹配内容,试试其他关键词或清空搜索。