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.
“中国漫画大师”张乐平任动画电影造型设计;《三毛流浪记》高清动画版首次与读者见面,中国唯一高科技数字原图制作,一个笑中带泪的流浪故事,一部让所有善良人共鸣的永恒...
《生活绘本:举止的礼仪与魅力》内容简介:在日常生活中、工作岗位上、社交场合里以及约会、旅行时,品位出众、举止修饰特别、注重
达恩•葛帕•穆克奇(1890—1936年),印度裔美国人,儿童文学作家。他出生在印度加尔各答市附近,祖上世代担任当地神庙的祭司。19岁时,他考上了美国的大学,就...
约翰·穆勒(1806-1873),英国心理学家、哲学家、逻辑学家和经济学家,古典自由主义最重要的代表人物之一,被称为“自由主义之圣”。有人将他的作品《论自由》的...
《像里兹饭店那样大的钻石》是美国著名作家菲茨杰拉德的代表作之一,它是一篇关于财富的魔幻小说。主人公昂格尔是个富家子弟,受邀到同学珀西家做客。珀西家住在一个神秘的...
《新中国美术家·宋源文》内容简介:本书能唤醒记忆的美丽图书,原野、北雁、疾风、新绿、飞雪……储存了不被打扰的故乡的安宁。画
苇岸,原名马建国,1960年1月生于北京市昌平县北小营村,1978年考入中国人民大学哲学系,毕业后在北京昌平成人教育学校任教。1982年在《丑小鸭》发表第一首诗...
经方临证指南-刘渡舟医书七种-第十辑 本书特色 刘渡舟编著的《经方临证指南》分上下两篇。上篇为经方临证治验录,从桂枝汤证、桂枝加葛根汤证等99个方证予以阐述,先...
★《第59街的画家》是以荷兰有名画家皮特?蒙德里安(Piet Mondrian)为原型创作的,讲述了这位画家如何用绘画艺术引领一个孩子进入一个全新的世界,开启他...
园林花卉实用手册 内容简介 本书编委会得到了华中科技大学出版社的大力支持,经与各编委和撰稿人协商,对原《园林植物造景》进行修订,以新版面市。这次出版的本书是在《...
LateoneeveningasJaneelayinbedthebeamofastarshinesinthroughthewindowandgrantshert...
凤歌,生于夔州古城,游学天府之国,而今寄居江城武汉,编稿为生,常自恨才拙,笔耕五载,未敢疏懒,然仅得《昆仑》一部,《曼育王朝》半部,科幻短篇若干。负登天之志,乏...
迟子建,1964 年生于漠河。1983 年开始写作,已发表以小说为主的文学作品六百余万字,出版有九十余部单行本。主要作品有:长篇小说《伪满洲国》《越过云层的晴朗...
卡琳·斯劳特(Karin Slaughter)出生于美国佐治亚州,目前定居亚特兰大市。她是世界上最受欢迎的悬疑小说作家之一,其作品在全球120个国家出版发行,热...
中国建筑.自然组曲 本书特色 我把故宫带回家孩子读得懂的紫禁城,全家一起看的中国文化历史送给现在的您和将来的大家*好的礼物。中国建筑.自然组曲 内容简介 本书为...
徐静波,出生于上海。现为复旦大学日本研究中心教授,副理事长。研究领域为中日文化关系、中日文化比较。出版著作有《梁实秋:传统的复归》(复旦大学出版社1992年)、...
1974年、三重県生まれ。イラストレーター。主な著書に『150cmライフ。1~3』『ひとりぐらし』シリーズ、『ひとりたび』シリーズ、『愛しのローカルごはん旅』シ...
Coveringover100featurefilmsincriticaldepthanddetail,thisreaderprovidesanexcellen...
消渴脾瘅卷-重订古今名医临证金鉴 本书特色 古今名医之临床实践经验,乃中医学术精华之*重要部分。《古今名医临证金鉴》丛书,旨在选取古今名医临床家于中医临证确有脾...
法律是什么-二十世纪英美法理学批判阅读 本书特色在本书中,作者以英美著名的案例为引,努力使读者在自己的知识状态下理解英美法理学,以批判阅读的思维,尽量用浅显易懂...