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.
新编药性歌括400味 内容简介 《药性歌括四百味》是明代医家龚廷贤撰写的学习中医的启蒙读物,数百年来广泛流传,家喻户晓,深受初学者的欢迎。但因年代久远,语言蹇涩...
Aldo Rossi, a practicing architect and leader of the Italian architectural movem...
"FundamentalsofMicroelectronics,2ndEdition"isdesignedtobuildastrongfoundationinb...
李翔(作者)资深媒体人,得到App总编辑,《李翔商业内参》《李翔知识内参》《巨富之路》等系列课程主理人。曾任《经济观察报》主笔、《彭博商业周刊》中文版副主编、《...
《 神曲选》内容简介:1951年,我在印度国际大学和蒲那大学分别取得相应的哲学学位。次年——1952年,我从孟买乘法国邮船回国。在北京,我先后在北京大学和商务印...
新海诚:著名动画导演,被誉为日本新锐动画大师。2002年,凭借几乎独自完成的短篇动画《星之声》赢得人气,之后相继发表了《云之彼岸,约定的地方》《秒速五厘米》《追...
Stephen R. Bokenkamp is Professor in the Department of East Asian Languages and ...
W.S.毛姆(William Somerset Maugham),1874—1965,英国著名小说家,剧作家,散文家。曾先后就读于坎特伯雷的国王学校和德国海德堡...
泰德·威廉姆斯,美国著名幻想大师,1957年3月14日生于加利福尼亚州。他偏好奇幻与科幻写作,因为这两种体裁能自由地讲述许许多多各种各样的故事。威廉姆斯是托尔金...
In Making a Metaverse That Matters: From Snow Crash & Second Life to A Virtual W...
◎本書獲法國在台協會《胡品清出版補助計畫》支持出版Cet ouvrage, publié dans le cadre du Programme d’Aide á...
2013-第二分册 建筑结构-一级注册建筑师考试辅导教材-(第九版) 本书特色 曹纬浚主编的《一级注册建筑师考试辅导教材(第2分册建筑结构第9版)》由北...
本书是一部讲述从先知穆罕默德直至现代的伊斯兰世界文明史的恢宏巨著,含意深邃、深入浅出、生动流畅的文字表达,配以繁富的插图和史料,引领读者感受穆斯林文明的巨大魅力...
AnyoneinterestedinmodernphilosophyisfamiliarwiththenameofMartinHeidegger,butther...
吉尔 巴克莲,出生在英国埃塞克郡的埃平市。埃平丰富的自然环境,是吉尔最留恋的,所以从小到后来结婚成家,她都没有离开此地。 埃平的一草一木是吉尔创造《野蔷薇村的故...
本书由资深产品经理、中国最大的产品经理沙龙Pmcaff创始人费杰亲自执笔,微软、腾讯、百度、新浪、搜狐、奇虎、阿里云、Evernote等国内外20余家大型互联网...
王安,1982年毕业于中国人民大学,学统计,分配到煤炭系统。后创办《中国青年报·经济蓝讯》,供职《中国保险报》《财经时报》《证券市场周刊》等。几十年散淡游走,写...
弗兰辛•瑞福尔(Francine Rivers)美国历史言情小说著名作家。1976年步入文坛,此后,她的许多作品都登上了畅销书榜,获得很多奖项:·美国言情小说奖...
罗纳德·德沃金(Ronald Dworkin,1931-2013),美国当代著名法学家、政治哲学家,师从英国著名法哲学家H.L.A.哈特(H.L.A.Hart)...
100元就能打造一个新家累计超过1000万人狂赞的创意收纳新招数亚洲第一超人气收纳和装饰达人7个常见家庭改造方案全公开房间重置、家具改造、杂物收纳、衣物折叠一看...