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.
袖珍心电图手册 本书特色 本书是由长期从事心电图诊断和教学工作的专家所编写的实用型参考书。全书共23章,简明扼要地介绍了心电图基础理论知识、各系统疾病心电图特征...
日本著名漫画家伊藤润二代表作一份来自深海的“馈赠”挑战读者的感官极限!探讨人与自然、反思战争与和平的先锋艺术无数人的“童年阴影”,超级经典的“伊藤式”展开与日版...
有些事,你现在不做一辈子都不会做了只要你想做成一件事全世界都会来帮你这是豆瓣有史以来评分最高的中国公路纪录片,这是旅游卫视《行者》栏目创下最高收视率的纪录片;这...
《你的误区》是一本咨询心理学的大众读物。戴埃在这本书里,把人们日常生活中所暴露的性格缺陷(如自暴自弃、崇拜、依赖)和不良情绪(如悔恨、忧虑、抱怨、愤怒)进行逐条...
《天子的食单》是“故宫悦读”系列丛书之一。宫廷饮食所呈现的不仅是皇帝一人的味觉追求,其背后涉及政治集权、朝贡体系、经济活动、社会风尚等诸多层面问题。《天子的食单...
Virginia Woolf (1882–1941) was one of the major literary figures of the twentiet...
A much-needed guide on how to apply patterns in user interface designWhile the s...
刑法哲学 内容简介 书摘总之,问题不在于在罪过的概念中要不要规范评价的因素,而在于如何认识规范评价与心理事实的关系。李斯特以及苏联刑法学家乌切夫斯基主张区分狭义...
水野弘元(1901年11月19日 - 2006年1月1日),佐贺县人。1928年毕业于东京大学印度哲学科。曾从学于木村泰贤、长井真琴等人。为日本巴利语系佛教的权...
滋賀縣出身,現居崎玉縣。工作範圍主要是漫畫和插畫。以月刊漫畫電擊大王2014年10月號「さよならオルタ」出道,並以該作品榮獲第二十一屆電撃漫畫大賞「金賞」!
原五星酒店大厨,精研传统菜肴,爱较真;爱摄影,烧老镜头;爱唱歌,粉beyond。
《离婚》是老舍本人最满意的作品。故事简单精巧,围绕北京财政所的几名科员及家眷展开。描述民国时期小官僚的日常,温和地讽刺了他们对生活的敷衍。《离婚》看似鸡毛蒜皮,...
羊乃书,90年生,中文系文艺青年,北京大学研究生,曾任荷兰莱顿大学汉学系客座教师,博奕中天重点签约作家。
“无国界医生”创始人、法兰西学院院士900公里徒步朝圣之旅圣地亚哥-德孔波斯特拉(西班牙语:Santiago de Compostela;意为“繁星原野的圣地亚...
金玉明,中国科学技术大学教授、博导。1977-1992为创建我国**台同步輻射加速器而工作。任“国家同步輻射实验室工程”(这是由国家计委命名的我国**个国家实验...
电焊工 内容简介 任务1了解焊接人门知识与焊接图样1.焊接入门知识简介2.焊接接头及焊接坡口图样任务2认识金属材料与热处理工艺1.认识金属材料2.钢的热处理工艺...
王小圈,旅美作家。台湾大学MBA,曾任职于大型传媒集团、一线互联网公司。亚马逊中国新锐作家奖获得者。
栖见,晋江人气作者,文章风格轻松甜暖活泼逗趣。德语系,历史宅,次元游离病;甜食控,麻辣火锅拥护者。人生终极目标是能过上猫狗双全的日子,也想把所有的少女心都写出来...
菲利普·斯蒂德(Philip C. Stead) & 埃琳·斯蒂德(Erin E. Stead),这对年轻的夫妇先后毕业于美国密歇根州的一所私立中学,妻子埃琳毕...
Scott Meyers世界顶级的C++软件开发技术权威之一。他是两本畅销书Effective C++和More Effective C++的作者,以前曾经是C...