文章
[LeetCode] 289. Game of Life
ProblemAccordingtotheWikipedia&39;sarticle:&34;TheGameofLife,alsoknownsimplyasLife,isacellularautomatondevisedbytheBritis
[LintCode] Toeplitz Matrix
ProblemAmatrixisToeplitzifeverydiagonalfromtoplefttobottomrighthasthesameelement.NowgivenanMxNmatrix,returnTrueifan
[HackerRank] Diagonal Difference
ProblemGivenasquarematrixofsizeNxN,calculatetheabsolutedifferencebetweenthesumsofitsdiagonals.InputFormatThefirstli
[LintCode] Kth Smallest Number in Sorted Matrix
ProblemFindthe<codek</codethsmallestnumberinatrowandcolumnsortedmatrix.ExampleGiven<codek4</codeandamatrix:<pr
[LintCode/LeetCode] Minimum Path Sum
ProblemGivena<codemxn</codegridfilledwithnonnegativenumbers,findapathfromtoplefttobottomrightwhichminimizesthesumo
[LintCode] Submatrix Sum
ProblemGivenanintegermatrix,findasubmatrixwherethesumofnumbersiszero.Yourcodeshouldreturnthecoordinateoftheleftupandrig
[LintCode/LeetCode] Rotate Image
ProblemYouaregivenannxn2Dmatrixrepresentinganimage.Rotatetheimageby90degrees(clockwise).ExampleGivenamatrix<pre<
[LintCode/LeetCode/CC] Set Matrix Zeroes
ProblemGivenamxnmatrix,ifanelementis0,setitsentirerowandcolumnto0.Doitinplace.ExampleGivenamatrix<pre<code
[LintCode] Matrix Zigzag Traversal
ProblemGivenamatrixofmxnelements(mrows,ncolumns),returnallelementsofthematrixinZigZagorder.ExampleGivenamatrix:
[LintCode] Spiral Matrix I & Spiral Matrix II
SpiralMatrixIProblemGivenamatrixofmxnelements(mrows,ncolumns),returnallelementsofthematrixinspiralorder.E
已加载文章中没有匹配内容,试试其他关键词或清空搜索。