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.
东野圭吾 Keigo Higashino1958年生于日本大阪,大阪府立大学工学部电气工学科毕业。1985年以处女作《放学后》获得第31届江户川乱步奖,即辞职专...
科研卷-中国针灸交流通鉴 本书特色 由荣培晶主编的这本《中国针灸交流通鉴(科研卷)》以近年来国家自然基金委、“973”项目,以及国家科技成果的针灸项目为主要内容...
作品目录出版説明 前言 ▶詩選 ►甲、編年詩 訪戴天山道士不遇 登錦城散花樓 白頭吟 登峨眉山 峨眉山月歌 巴女詞 渡荆門送别 秋下
《增广贤文》原名《昔时贤文》,亦称《古今贤文》。书名最早见之于明朝万历年间汤显祖的戏曲《牡丹亭》。自清朝后期以来,这部书就风靡全国,影响极大。《增广贤文》里的语...
作者简介:Eric Reiss现任丹麦FatDUX集团的CEO,长期致力于信息架构、可用性、用户体验和服务设计等领域。2010年被评为“欧洲十大内容策略专家之一...
FundamentallyCrazyisabookofparodies,compilingseveralinsanelettersfromtheravingmi...
精彩摘录無奈被些名利縛,無奈被它情耽擱。可惜風流總閑卻。當初謾留華表語,而今誤我秦樓約。——引自第37页
金匮要略三家注 本书特色 “中医经典三家注系列”8种同步震撼上市,该系列由“灵兰书院”联合文献专家团队10余人倾力打造,堪称学习中医经典的“**神器”与“传世之...
《UNIX环境高级编程》(简称APUE)几乎是Linux领域程序员人手必备的一本书。但在掌握和理解APUE的内容后,又该如何继续提高自己的技能,如何更深入地理解...
作者丹尼尔·M.海布伦美国圣路易斯大学哲学副教授,罗格斯大学哲学博士,在心理学、道德伦理、人类福祉等领域深耕多年。著有《追求不幸:难以实现的福祉》(牛津大学出版...
TRANSLATEDBYCOLONELJ.J.GRAHAM,NEWANDREVISEDEDITIONWITHANINTRODUCTIONANDNOTESBYCO...
作品目录作者的话1第一章 礼仪分类2世俗世界与神圣世界;个体人生阶段;礼仪研究;泛灵论学派与感染论学派;动力论学派;礼仪之
精彩摘录各位聽講佛法已很多,知道的也一定很多。我想就自己的經驗,分幾個階段來講:各位如果問我知道多少?可以坦白地告訴諸位
費蘭度為斯里蘭卡人,自1976年起在斯里蘭卡Youth for Christ擔任全國總幹事。他認為信徒應帶著憐憫心腸、尊重別人的態度、敏感及有智慧地回應非基督徒...
阿加莎·克里斯蒂被誉为举世公认的侦探推理小说女王。她的著作英文版销售量逾10亿册,而且还被译成百余种文字,销售量亦逾10亿册
作品目录总序 凡例 前言 序章 “道教”的构造 一、“道教”的形成 二、“道教”的构造 三、“道教”与天师道 第一章 神仙道的形
Thisbookprovidesadefinitivesourceofinformationonthechemicalreactionengineeringas...
Dramatically updating and extending the first edition, published in 1995, the se...
本书是唯慈的三卷本《现代中国佛教丛书》中的第二部。第一部着重探讨了现代中国佛教的体系制度、教会组织体制和制度;第三部将从制度和历史两个方面论述在共产党统治下中国...
曾国藩(1811-1872)初名子城,字伯涵,号涤生,谥文正。晚清第一中兴名臣,湘军的创立者和最高统帅。官至两江总督、直隶总督、武英殿大学士、一等毅勇侯。是清朝...