文章
leetcode318. Maximum Product of Word Lengths
题目要求<pre<codeGivenastringarraywords,findthemaximumvalueoflength(wordi)length(wordj)wherethetwowordsdonotsharecommon
leetcode 22 Generate Parentheses
题目详情<blockquoteGivennpairsofparentheses,writeafunctiontogenerateallcombinationsofwellformedparentheses.<p输入一个正整数n。要求返回一个List&l
leetcode 319. Bulb Switcher
题目要求<pre<codeTherearenbulbsthatareinitiallyoff.Youfirstturnonallthebulbs.Then,youturnoffeverysecondbulb.Onthethirdro
leetcode 301. Remove Invalid Parentheses
题目要求<pre<codeRemovetheminimumnumberofinvalidparenthesesinordertomaketheinputstringvalid.Returnallpossibleresults.Note:Th
leetcode322. Coin Change
题目要求<pre<codeYouaregivencoinsofdifferentdenominationsandatotalamountofmoneyamount.Writeafunctiontocomputethefewestnumber
leetcode 19 Remove Nth Node From End of List
题目详情<blockquoteGivenalinkedlist,removethenthnodefromtheendoflistandreturnitshead.<p题目要求输入一个linkedlist和一个数字n。要求我们返回删掉了倒数第n个节
几道用异或运算符 (xor) 来解的题
题目来自leetcode,这是我的leetcode解题集(https://link.segmentfault.com/?enc86GkLgsthHAK0c2uOIsgbg%3D%3D.2fyIQQaaMM43%2FGVvRPkCFm1dC2rEz0WkR7kz2uA4c8rOOTLwbV
leetcode 17 Letter Combinations of a Phone Number
题目详情<blockquoteGivenadigitstring,returnallpossiblelettercombinationsthatthenumbercouldrepresent.<br/mappingofdigittoletters
leetcode307. Range Sum Query - Mutable
题目要求<pre<codeGivenanintegerarraynums,findthesumoftheelementsbetweenindicesiandj(i≤j),inclusive.Theupdate(i,val)functi
leetcode 12 Integer to Roman
题目详情<blockquoteGivenaninteger,convertittoaromannumeral.<br/Inputisguaranteedtobewithintherangefrom1to3999.<p题目的意思是:输入一个阿
已加载文章中没有匹配内容,试试其他关键词或清空搜索。