Algorithmic Thinking will teach you how to solve challenging programming problems and design your own algorithms. Daniel Zingaro, a master teacher, draws his examples from world-class programming competitions like USACO and IOI. You’ll learn how to classify problems, choose data structures, and identify appropriate algorithms. You’ll also learn how your choice of data structure, whether a hash table, heap, or tree, can affect runtime and speed up your algorithms; and how to adopt powerful strategies like recursion, dynamic programming, and binary search to solve challenging problems.
Line-by-line breakdowns of the code will teach you how to use algorithms and data structures like:
The breadth-first search algorithm to find the optimal way to play a board game or find the best way to translate a book
Dijkstra’s algorithm to determine how many mice can exit a maze or the number of fastest routes between two locations
The union-find data structure to answer questions about connections in a social network or determine who are friends or enemies
The heap data structure to determine the amount of money given away in a promotion
The hash-table data structure to determine whether snowflakes are unique or identify compound words in a dictionary
NOTE: Each problem in this book is available on a programming-judge website. You’ll find the site’s URL and problem ID in the description. What’s better than a free correctness check?
Dr. Daniel Zingaro is an award-winning Assistant Professor of Mathematical and Computational Sciences at the University of Toronto Mississauga, where he is well known for his uniquely interactive approach to teaching, and internationally recognized for his expertise in Active Learning.
This2011volumearguesthatthecommitmenttojusticeisafundamentalmotiveandthat,althou...
钱自严,资深财务人,跨国公司首席全球财务官,浙江大学客座教授,前西门子半导体事业部中国区首席财务官。多次荣获国内外机构评选的年度中国奖项 CFO 奖项,融管理咨...
《七月与安生》是庆山最新短篇小说集,从安妮宝贝到庆山,20年来备受读者追捧和惦念的12个短篇故事,呈现青春、流浪和宿命,是那些你会放在枕边独自思量的故事。所选篇...
土家医方剂学 内容简介 《土家医方剂学》是阐明和研究方剂配伍及临床应用的学科,是土家医的基础学科之一。本书分上、下两篇及附录三部分。上篇总论,主要介绍土家医方剂...
弭氏妇科传薪录 本书特色 弭阳同志从事中医妇科专业五十余年,始终坚持学习国学、国医、国药;坚持研读《黄帝内经》《伤寒论》《金匮要略》《温病条辨》四大经典;坚持运...
赵冬梅,北京大学历史系副教授。主修宋史,并及晚唐五代,兴趣在官僚制度、官僚生态、社会生活等。著有《武道彷徨:中国古代的武举与武学》及论文若干,译著《中国转向内在...
成语小词典 内容简介 本书共收入成语词目3700余条,以学生常用并需作出解释的成语为主,也包括少量的常用熟语。兼及部分虽不很常用但学生也会接触到的成语。在形式上...
工程光学-第3版 本书特色 郁道银的《工程光学(第3版)》修订的指导思想仍然是坚持注重基本理论的论述,加强理论与工程实际的结合,突出现代光学与光学技术的发展。 ...
李书纬,原名李书伟,河南郑州人,毕业于北京语言大学汉语言文学专业。自2002年以来已在重量报刊、杂志上发表专题性文章、诗歌、散文等文学作品百余篇,代表诗作《大地...
比尔·布赖森(Bill Bryson),1951年生于美国衣阿华州,毕业于美国德雷克大学。他曾任职于伦敦《泰晤士报》与《独立报》,在英国居住长达二十年之久,同时...
Fromplayinghopscotchontheblackandwhitetilesofthekitchenfloor,attemptingastealthp...
化学反应工程-第五版 本书特色 朱炳辰主编的《化学反应工程(第5版)》共分九章。**章在回顾物理化学、化工热力学等学科有关内容的基础上,讨论化学反应工程有关加压...
白先勇(1937年7月11日~),回族,当代著名作家。广西桂林人。中国国民党高级将领白崇禧之子。白先勇7岁时,经医诊断患有肺结核,不能就学,因此他的童年时间多半...
55万粉丝翘首以盼的40种生活新主张帮你摆脱日常生活中的无力感,收获积极生活的勇气中国整理文化奠基人、整理文化传播领先自媒体平台“第1整理术Yi Organiz...
重订医学衷中参西录:下册 本书特色 本书为名医张锡纯所著。该书谈方论药、辨证施治均从实际出发,从不空谈。是书曾多次印行,行销全国,远及海外,曾被广大中医界同仁誉...
中国平遥王氏临床经验集 本书特色 《中国平遥王氏临床经验集》共三章,十余万言,分别讲述了王氏第26代传人王裕宽、27代传人王培昌、28代传人王金亮的学术风范。言...
《卡夫卡全集(插图本 套装全9卷)》共9卷,由著名学者、德语翻译家叶廷芳先生主编。全书创作部分主要依据卡夫卡生前好友马克斯·勃罗德的版本编纂的,而略作调整;书信...
作品目录第一章 緒論一、引言二、二十世紀國內外敦煌古靈寳經研究評述三、本課題研究的主要內容第二章 從敦煌本古靈寶經兩部佚經
杏林心语-一位中医骨伤医师的临证心得-第三辑 本书特色本书是《华夏中医论坛》中医畅销原创系列丛书的分册之一。 中医骨伤讲究内外兼治,强调七分手法三分药,故而对手...
这是一本告诉你为什么女人能理财、善理财的书。过去一块钱掰成两半儿花被赞誉为精明贤惠,但是在现代社会中花得省不如理得精,会