文章
[LeetCode] 785. Is Graph Bipartite?
ProblemGivenanundirectedgraph,returntrueifandonlyifitisbipartite.Recallthatagraphisbipartiteifwecansplitit&39;ssetof
[LeetCode] 518. Coin Change 2
ProblemYouaregivencoinsofdifferentdenominationsandatotalamountofmoney.Writeafunctiontocomputethenumberofcombinationsthatm
[LeetCode] 254. Factor Combinations
ProblemNumberscanberegardedasproductofitsfactors.Forexample,82x2x2;2x4.Writeafunctionthattakesanintegernandretu
[LeetCode] 230. Kth Smallest Element in a BST
ProblemGivenabinarysearchtree,writeafunctionkthSmallesttofindthekthsmallestelementinit.Note:Youmayassumekisalwaysvalid,
[LeetCode] 529. Minesweeper
ProblemLet&39;splaytheminesweepergame(Wikipedia,onlinegame)!Youaregivena2Dcharmatrixrepresentingthegameboard.&39;M&39;re
[LeetCode] 526. Beautiful Arrangement
ProblemSupposeyouhaveNintegersfrom1toN.WedefineabeautifularrangementasanarraythatisconstructedbytheseNnumberssuccessfull
[LeetCode] 733. Flood Fill
ProblemAnimageisrepresentedbya2Darrayofintegers,eachintegerrepresentingthepixelvalueoftheimage(from0to65535).Givenaco
[LeetCode] 695. Max Area of Island
ProblemGivenanonempty2Darraygridof0&39;sand1&39;s,anislandisagroupof1&39;s(representingland)connected4directionally(ho
[LeetCode] 416. Partition Equal Subset Sum
ProblemGivenanonemptyarraycontainingonlypositiveintegers,findifthearraycanbepartitionedintotwosubsetssuchthatthesumofele
[LeetCode] 698. Partition to K Equal Sum Subsets
ProblemGivenanarrayofintegersnumsandapositiveintegerk,findwhetherit&39;spossibletodividethisarrayintoknonemptysubsetswh
已加载文章中没有匹配内容,试试其他关键词或清空搜索。