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.
《华为时间管理法(第四版)》内容简介:本书介绍了华为时间管理七大法则——自省法则、目标法则、方圆法则、四象限法则、精简法则
这是关于她、她、她……的故事。一代代“她”,被透明的绳索束缚,被悲剧的螺旋围困。亲爱的姑娘,别困在悲剧的循环里,快逃,快逃,快逃!———————————————...
田中芳树,1952年生于熊本县,日本著名作家。其作品涉及科幻、冒险、悬疑、历史等多个领域,主要代表作有《银河英雄传说》、《创龙传》、《亚斯兰战记》等。《银河英雄...
本书较为系统地讲解了用户体验设计师的职能及价值体现的方法,由点到面地分析了用户体验设计的方法与技巧,目的是让读者能够全方位地进行学习,使自己在互联网行业变化如此...
TheCinemaofTonyRichardsonexaminesforthefirsttimethestageandscreenachievementsofA...
★太宰治的反“失格”的少年青春小说★日本第六届新潮社文艺奖提名作品★《人间失格》台版译者高詹灿再度翻译太宰治作品★真实再现太宰治逆行于人世的少年意气★无赖派”旗...
作品目录序言彼得·格罗尼克内容简介吉姆·奥尼尔01 佐治亚汤姆·多尔西吉姆·奥尼尔埃米·范辛格尔02 “困倦的”约翰·埃斯特斯
监修简介:木所未贵生于东京,服装作家。曾在时装公司任职,后以制作个人作品为目标,担任其恩师的助手,开始了自己的缝纫制作之路。不拘泥于流行趋势和种类的限制,以展现...
“透过这颗猫眼弹珠,我看到了我的整个人生。”画家伊莱恩从来没有想过,时隔多年会再次回到家乡。等待着她的不是故地重游的喜悦,而是挥之不去的“童年的鬼魂”——科迪莉...
It is now universally accepted that we are experiencing a profound mental health...
阿加莎·克里斯蒂被誉为举世公认的侦探推理小说女王。她的著作英文版销售量逾10亿册,而且还被译成百余种文字,销售量亦逾10亿册
重庆人,中国作协成员,热爱幻想、推理类文学,对西东方神话都有涉猎,多以此为材料创作。主要作品有小说《天鹅奏鸣曲》《七重纱舞》《异乡人》, 最近出版小说 《重庆迷...
《Python大数据分析与应用实战》内容简介:本书主要介绍大数据分析、人工智能的实战应用。全书共9章,通过8个大型的数据分析案例,
新编西方法律思想史-(现代.当代部分) 本书特色 高鸿钧、赵晓力主编的《新编西方法律思想史》 是一本富有新意的西方法律思想史教材。作者阵容强 大,均是该领域的专...
内容简介:在首相连任竞选中功不可没的党鞭长弗朗西斯·厄克特本以为自己会入内阁任职,不料未能如愿。于是他暗中发誓要取代背叛自己的首相,搞垮所有的对手。他利用自己能...
赵琛法学论著选 本书特色 本书选录了赵琛的著名判决七篇,收录了赵琛的主要论文十余篇,选录了赵琛的重要著作《监狱学》、《保险法要纲》、《少年犯罪之刑事政策》三部。...
王夫之早年致力于反清复明,明亡后披发入山,隐身、授徒、著书凡四十余年。隐居期间,先生以“述往以为来者师”(《读通鉴论》卷六)的态度,以“六经责我开生面”的创新精...
心岱,成都人。集书痴,花痴,吃货,煮妇于一身。热爱生活中那些美好的事物。出版有《闲花帖》。
哈孝贤临床随笔-第二版 本书特色 《哈孝贤临床随笔(第2版)》是作者哈孝贤自 1963年以来根据临床研究陆续发表的近百篇文章中精选出来并重新校订汇编而...
《忍不住的"关怀":1949年前后的书生与政治》内容简介:对于20世纪中国的知识分子来说,一个最大的历史悲剧就是,他们是最早投身于救国救民的一群人,自认为最了解...