Algorithms For Interviews

Algorithms For Interviews

作者:Adnan Aziz

出版社:CreateSpace

出版年:2010-09-14

评分:7.4

ISBN:9781453792995

所属分类:行业好书

书刊介绍

精彩摘录

1,Divide-and-conquerCanyoudividetheproblemintotwoormoresmallerindependentsubproblemsandsolvetheoriginalproblemusingsolutionstothesubproblems?2,Recursion,dynamicprogrammmgIfyouhaveaccesstosolutionsforsmallerinstancesofagivenproblem,canyoueasilyconstructasolutiontotheproblem?3,CaseanalysisCanyousplittheinput/executionintoanumberofcasesandsolveeachcaseinisolation?4,GeneralizationIsthereaproblemthatsubsumesyourproblemandiseasiertosolve?5,Data-structuresIsthereadata-structurethatdirectlymapstothegivenproblem?6,IterativerefinementMostproblemscanbesolvedusingabruteforceapproach.Canyouformalizesuchasolutionandimproveuponit?7,Smallexample...

——引自章节:ProblemSolvingTechnique

相关推荐

微信二维码