文章
6. ZigZag Conversion
Thestring&34;PAYPALISHIRING&34;iswritteninazigzagpatternonagivennumberofrowslikethis:(youmaywanttodisplaythispatterninafix
337. House Robber III
Thethiefhasfoundhimselfanewplaceforhisthieveryagain.Thereisonlyoneentrancetothisarea,calledthe&34;root.&34;Besidestheroot,
213. House Robber II
Youareaprofessionalrobberplanningtorobhousesalongastreet.Eachhousehasacertainamountofmoneystashed.Allhousesatthisplacearear
198. House Robber
Youareaprofessionalrobberplanningtorobhousesalongastreet.Eachhousehasacertainamountofmoneystashed,theonlyconstraintstoppingyo
211. Add and Search Word - Data structure design
Designadatastructurethatsupportsthefollowingtwooperations:voidaddWord(word)boolsearch(word)search(word)cansearchaliteralwordoraregu
Project-Euler第69题
大学的时候挺喜欢解ProjectEuler(https://link.segmentfault.com/?encmHdUr2I%2FUO96aMOGcKvxbA%3D%3D.zHmXTZ4ztVC9eLLFi47Cc4GNe6nC17GTXSMpm6L%2BO34%3D)上的题目的,尤其是它
983. Minimum Cost For Tickets
Inacountrypopularfortraintravel,youhaveplannedsometraintravellingoneyearinadvance.Thedaysoftheyearthatyouwilltravelisgiven
959. Regions Cut By Slashes
InaNxNgridcomposedof1x1squares,each1x1squareconsistsofa/,,orblankspace.Thesecharactersdividethesquareintocontiguousreg
513. Find Bottom Left Tree Value
Givenabinarytree,findtheleftmostvalueinthelastrowofthetree.<pre<codeExample1:Input:2/\13Output
542. 01 Matrix
Givenamatrixconsistsof0and1,findthedistanceofthenearest0foreachcell.Thedistancebetweentwoadjacentcellsis1.<pre<codeExam
已加载文章中没有匹配内容,试试其他关键词或清空搜索。