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.
医垒元戎-临证综合-22 本书特色 《医垒元戎》以十二经为纲,先述伤寒,后列杂病。其学术渊源以张仲景为本,酌参张元素、李东垣等法。选方多用《太平惠民和剂局方》等...
彭磊"新裤子"乐队核心人物,几乎承担所有的词曲创作,一个才华横溢的青年。非著名导演。代表作品《新裤子》,《野人也有爱》,《乐队》,《房间里的舞蹈》等。新裤子乐队...
张小娴,香港女作家。1995年推出第一部长篇小说《面包树上的女人》而走红文坛,继亦舒之后,成为香港最受欢迎的言情小说家。她的作品善于描写都市的男欢女爱,深受年轻...
中华人民共和国民法典物权编 本书特色 调整因物的归属和利用而产生的民事关系,是*重要的民事基本制度之一。明确规定了居住权;破解了业主维权与维修难题,强化小区业主...
1919.Togetherwitharepresentativeselectionofcriticalandbiographicalcomment.Willia...
制浆造纸分析与检测 本书特色 本书可作为制浆造纸工程(轻化工程)学科本、专科学生和研究生的教学实验教材,也可作为在制浆造纸工业及其相关领域从事生产、技术、科研、...
重型机械标准-(一) 内容简介 随着国家装备制造业的快速发展,在“十一五”发展规划中,国家把重型装备提到相当重要的位置。近几年由于标准的大量制修订,新标准不断出...
整脊技术学 内容简介 本书共分为10章。绪论主要论述整脊技术学的基本概念、内容、特点和发展概况,以及学习整脊技术的要求和方法。本书的核心内容是各种整脊技术的操作...
世界古建筑之谜 本书特色 纵观人类历史,地球上出现了许多伟大的建筑,以其独特的创意和无与伦比的魅力,赫然屹立于世界各地。这些由杰出建造者和天才艺术家们缔造的神奇...
赵广超,生于香港,早年留学法国,现从事艺术、设计教育及著述工作。2001 年成立设计及文化研究工作室。现任设计及文化研究工作室总监、故宫文化研发小组总监。曾任2...
★ 中國抗日戰爭與國共內戰時期,國民政府軍政史上的重要一頁。★ 揭露蔣介石「侍從室」的神祕面紗,還原歷史真相。★ 國府權力最高核心組織,如何影響現代中國歷史。隱...
豪夫在创作这些童话时模仿《一千零一夜》的叙述手法,以首篇《打扮成年鉴的童话》为引线,道出一个又一个惊险离奇的故事,它们语言风趣诙谐,情节怪诞浪漫,一会儿把你带到...
威廉·弗卢塞尔(Vilém Flusser),巴西籍哲学家、媒介理论家,1920年出生于布拉格的犹太家庭,第二次世界大战爆发后经英国流亡巴西,1961年后以葡萄...
我是一个充满想象力的魔法少年,无意中破坏了黑暗之神企图称霸世界的阴谋,遭到了黑暗之神的无情报复。黑暗之神把我的爸爸、舅舅变成了蜥蜴和怪物,把妈妈活活地封在镜子里...
职务船员培训教材:驾驶:未满30总吨渔业船舶 内容简介 本书主要内容包括:航海、船舶操纵、壁碰以及职务法规,全书共分为四大部分。职务船员培训教材:驾驶:未满30...
幾米,1998年开始绘本创作。开启成人绘本风潮,作品风靡海内外,已有美、法、德、西班牙、希腊、韩、日、泰等国译本。多部作品改编为音乐剧、电视剧或电影。根据《微笑...
Writing better software: 30 years of UNIX development wisdom In this book, five ...
✦網路點擊次數超過5000萬次!系列銷售突破50萬冊!✧廣大讀者好評推薦!日本AMAZON平均4.7星超高評價!✦獲獎不斷!「2020這本漫畫真厲害!」男性部門...
◎一代园林艺术宗师 陈从周 名文精选◎细解中国园林美学的内在机理,中国园林的精华在于“意境”二字叠山理水、栽花移木、借景漏景、动观静观“造园亦言境界。园林之诗情...
威廉·巴特勒·叶芝(1865-1939)诗人、剧作家,“爱尔兰文艺复兴运动”领袖,艾比剧院的创建者。1923年,叶芝获得诺贝尔文学奖罗池译者、诗人,1973年生...