EvaluatethevalueofanarithmeticexpressioninReversePolishNotation.
Designanalgorithmtoencodealistofstringstoastring.Theencodedstringisthensentoverthenetworkandisdecodedbacktotheoriginallistofstrings.
[Leetcode] Edit Distance 最小编辑距离
2024-01-19Giventwowordsword1andword2,findtheminimumnumberofstepsrequiredtoconvertword1toword2.(eachoperationiscountedas1step.
[Leetcode] Dungeon Game 地牢游戏
2024-01-19DungeonGameThedemonshadcapturedtheprincess(P)andimprisonedherinthebottom-rightcornerofadungeon.ThedungeonconsistsofMxNroomslaidoutina2Dgrid.
[Leetcode] Divide Two Integers 整数整除
2024-01-19Dividetwointegerswithoutusingmultiplication,divisionandmodoperator.
[Leetcode] Distinct Subsequences 不同顺序字串
2024-01-19GivenastringSandastringT,countthenumberofdistinctsubsequencesofTinS.
Writeafunctiontodeleteanode(exceptthetail)inasinglylinkedlist,givenonlyaccesstothatnode.
[Leetcode] Decode Ways 解码方式
2024-01-18AmessagecontaininglettersfromA-Zisbeingencodedtonumbersusingthefollowingmapping:
[Leetcode] Course Schedule 课程计划
2024-01-18Thereareatotalofncoursesyouhavetotake,labeledfrom0ton-1.
[Leetcode] Count Primes 数素数
2024-01-18Description: