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.
中医经典必读释义 本书特色 《中医经典必读》由王庆其等编写,是在国家中医药管理局科技教育司2004年组织选编的《中医经典必读》一书的基础上,由原编写专家...
樊锦诗,浙江杭州人。1963年毕业于北京大学历史系考古专业,同年到敦煌文物研究所工作至今。现为敦煌文物研究院院长,研究馆员。著有:《莫高窟北朝洞窟分期》、《莫高...
李•艾柯卡,这是一位喜欢直言不讳的美国传奇商业巨子,正是他力挽狂澜,把一个即将宣告破产的克莱斯勒拯救过来,并在1984年使该公司赢得了24亿美元的利润,这比克莱...
关于生平,卡尔维诺写道:“我仍然属于和克罗齐一样的人,认为一个作者,只有作品有价值。因此我不提供传记资料。我会告诉你你想知道的东西。但从来不会告诉你真实。”19...
中国刑事诉讼法教程(第二版) 本书特色 《中国刑事诉讼法教程(第2版)》编辑推荐:中国政法大学出版社曾多次荣获国家良好出版社、先进高校出版社荣誉称号。在新时期,...
司法错误论(性质、来源与救济) 本书特色 《司法错误论》一书为当今社会的一些重大主题提供了重要的、坚实的分析框架,这些主题包括:错误的定罪裁决、恐怖主义犯罪侦查...
弗里德里希·尼采(Friedrich Nietzsche,1844-1900),他出生于勒肯的一个牧师之家,自幼性情孤僻,而且多愁善感,纤弱的身体使他总是有一种...
蜜蜂生生不息一亿年的奥秘-蜜蜂产品食疗养生话题 内容简介 《蜜蜂生生不息一亿年的奥秘——蜜蜂产品食疗养生话题》是一部蜂产品和蜂医学的食疗...
总主编:金冲及副总主编:郑师渠、张海鹏、陈晋、张树军、谢春涛、张宏志
中药炮制大全 内容简介 《中药炮制大全》共收载全国常用和较常用的中药828种。注明了药物首次收录的书籍,编排体例,以便于炮制加工人员阅读与操作运用。采用以药物*...
林徽因福建闽县(今福州)人,出生于浙江杭州。作家、诗人、中国第壹位女性建筑学家、人民英雄纪念碑和中华人民共和国国徽深化方案的设计者,传统景泰蓝工艺的拯救者,建筑...
李从嘉,本名付晓宇,河南郑州人,1981年生。自幼爱好历史以及各类社会科学,喜用逻辑思维探查历史细节之处的精彩与神秘。曾参与《秘密战3000年》的写作。
初小轨,山东水瓶女一枚,小说、随笔作者,新书《你可以哭,但不能怂》、《我不想阅人无数,只想爱一个人不输》温情上市。个人公号“初小轨”(ID:chuxiaogui...
作品目录自序:写在最前面“太傻”世界的一个童话序及导读前言第二版修订说明第一章 NO.1误区——留学申请的迷雾第二章 NO.2本质
威廉・贝内特(William J.Bennett)美国著名教育专家。里根政府时期任教育部长和全国慈善捐款委员会主席,布什政府时期任全国毒品控制政策办公室主任。他...
Architecture is a strange mixture of persistence and flux, an amalgamation of el...
空手,15年广告从业经验,先后就职于全球第三大广告集团阳狮广告,及国内第一家上市广告公司省广集团。历任文案、策划、策略总监、事业部副总经理、高级营销群总监等职。...
本书从广告公司的角度系统地阐述了媒介计划制定的思考步骤和具体的定量标准,并从市场营销的角度系统地阐述了媒介与市场的关系,对在媒介策划中涉及到的每个基本关键步骤进...
Dave Crane:英国资深Web开发人员,在智能家居、银行和金融系统领域应用DHTML和Ajax等客户端技术拥有丰富的经验。Eric Pascarello:...
她与灯:2018年入驻晋江文学城的古言频道,百亿积分高人气作者。笔名来自浪漫主义诗学著作《镜与灯》,以其潋滟的文笔、动人的情衷、绵密深远的历史风致、幽微深邃的思...