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.
自18世纪以来,纸币成为可自由兑换金银的流通货币,银行吸收存款并将其转换为长期风险投资,由此带来的流动性让全球经济保持了数百年的增长。从这个意义上来说,货币和银...
本草原始 内容简介 明李中立纂辑于万历四十年(1612)。.本书12卷,收载药物470种,药图420幅,其中360佘幅是作者据实物亲临写生所绘,附方369个。本...
周陟,字节跳动ES体验设计负责人、前华为CBG首席体验架构师、前腾讯移动互联网设计中心总监、光华龙腾奖?中国设计业十大杰出青年、IXDC国际体验设计委员会部长、...
宋坤,青岛姑娘,开朗乐观、真诚善良,典型的邻家小妹。她是知名帆船比赛解说人、主持人,曾获得“RYA (英国皇家游艇协会)Yachtmaster”资格证书。201...
阿耐女,著名作家,1990年弃政从商,经营管理多年。商场争雄写得气势恢宏,家长里短讲得有滋有味。经典代表作《大江东去》,被誉为“描写中国改革开放的奇书”,荣获中...
儒尔·凡尔纳(1828-1905),法国科幻小学家。他最初学法律,1863年出版了他的第一部小说《气球上的五星期》,获得巨大成功,从此一发不可收。他一生共出版了...
中国百年百名临床家丛书杨甲三/百年百名针推专家 本书特色 杨甲三教授是当代著名针灸学家,在针灸理论方面有极深的造诣。 本书对杨甲三教授的临证经验及学术思想进行全...
人民法院执行工作规范全集-分解.提示.适用-(上下册)-(第二版) 本书特色 《人民法院执行工作规范全集(第二版)》图书简介 《人民法院执行工作规范全集》上下册...
《基耶斯洛夫斯基&皮耶谢维奇电影剧本集》系首次以中文本形式出版,三本单册,函套装。《基耶斯洛夫斯基&皮耶谢维奇电影剧本集》两位合著者基耶斯洛夫斯基和皮耶谢维奇是...
作品目录故事引子(来信刊登)第一章 考场上老师的暗示第二章 爸爸妈妈的骄傲自大第三章 老师评说“好生”、“差生”第四章 “帮助
精彩摘录当然,命运往往另有安排,可是,我总不能趴在地上听天由命,总得努力一番。——引自第9页“你把一生都安排好了。”开明微笑,“尽力而为。有用吗?”张小姐有弦外...
张立宪,人称老六,坛子脸
《MySQL是怎样运行的:从根儿上理解 MySQL》采用诙谐幽默的表达方式,对MySQL的底层运行原理进行了介绍,内容涵盖了使用MySQL的同学在求职面试和工作...
Investigatingtherelationshipbetweenhealthandbehaviorinadolescents,thisvolumepres...
★一部吊足读者胃口的明治文学杰作日本版《呼啸山庄》★《读卖新闻》连载数年,风靡全日本,一经出版长年位居畅销榜第一★与夏目漱石齐名,受三岛由纪夫、谷崎润一郎、森鸥...
檬羽,现就读于上海东华大学服装设计专业。最向往的生活方式:自由自在,不受约束最喜欢的一句话:当别人说“绝对不行”的时候,我就是要行!创作日志:为了给大家带来最新...
腹部疾病影像诊断图谱 内容简介 编写《腹部疾病影像诊断图谱》的主要目的在于,通过图谱的形式,反映腹部影像诊断的新进展,介绍国内外腹部影像检查及诊断的经验,尤其是...
今天,象征着某种国际正义的“人权”正为无数理想主义者们所青睐。它为我们带来了一幅更美好的人道主义社会的图景。尽管人权通常被认为是一种植根于历史与文化深处的普适价...
《成功男人背后的女人》内容简介:世间的万物原本就是相辅相成的,没有好女人,何来好男人。好女人是男人的学校,是男人的教师,
《关外团体与民众呈文(上)》内容简介:本册文件集编纂收录的资料均来自于日内瓦的“国联和联合国档案馆”(League of Nations an