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.
北宋熙宁二年,公元纪年为1069年,著名的王安石变法开始。这是中国历史上一次真正意义上的全方位改革,从政治、军事,到农业、商贸,它触及了几乎所有的社会问题。与此...
钢结构工程施工技巧与常见问题分析处理 本书特色 黄渊等编著的《钢结构工程施工技巧与常见问题分析处理》是“建筑工程施工技巧与常见问题分析处理系列手册”之一。主要内...
罗纳德·德沃金(Ronald Dworkin),美国法哲学家、政治哲学家、道德哲学家,自由平等主义代表人物。主要著作有:《至上的美德》、《原则问题》、《认真对待...
眼科学住院医师手册 内容简介 随着现代医学的发展,眼科作为一门独立的临床医学专科得到了飞速发展。本书以住院医师日常工作程序为线索,帮助医学生完成从学习教科书到规...
◎内容简介“我要从世界看中国,再从中国看世界。”围绕着这一发端,著名历史学家许倬云以九十高龄迎难而上,八易其稿,结撰出一部华夏文明从成长到成型的传记。作者跳脱出...
水利水电工程移民监测评估 内容简介 本书内容包括:移民监测评估的原则和依据、移民监测评估的范围及程序、组织机构与管理、移民监测评估的内容等。水利水电工程移民监测...
森下典子(1956— ),日本散文家。曾为《朝日周刊》专栏作者,擅长朴实无华,轻松明快的写作风格。2002年出版茶道随想《日日是好日——茶教给我的15种幸福》,...
The conflict between science and religion seems indelible, even eternal. Surely ...
许烺光(FrancisL. K. Hsu),心理人类学开创者之一,第62届(1977-1978)美国人类学会主席、第12届(1978)中央研究院院士、美国西北大...
葛飞1995年毕业于南京师范大学美术系,1999-2006年就读于北京大学中文系,先后获文学硕士、博士学位。现就职于南京大学文学院,为教育部人文社会科学重点研究...
哈利波特 1-7 套装 英文版(美版,硬皮盒装)Harry Potter Series 1-7 Boxed SetISBN-10: 0545044251ISBN...
坂本五郎,现年95岁,日本当今最具影响的古董商号“不言堂”的创始人。他是二战后日本新崛起的一代国际古董商,曾把搜罗的稀世藏品捐献给各地艺术馆。
塞尔努达(Luis Cernuda,1902-1963),西班牙诗人。他出生于南方的塞维利亚,从小对诗歌有浓厚兴趣。在塞维利亚大学获法学学士学位,但从未做过律师...
安哲罗普洛斯,希腊国宝级电影导演,位于欧洲最后一道大师之堤的电影诗哲。沉默的长镜头与360度的全景构成了一帧帧辩证而诗意的画面。安哲游走于真实、虚幻与超现实之间...
罗曼·罗兰(Romain Rolland,1866—1944),法国作家、音乐评论家、社会活动家,1915 年获诺贝尔文学奖。代表作有《约翰·克里斯朵夫》《母与...
中国法院2020年度案例【1】?婚姻家庭与继承纠纷 本书特色 本书是《中国法院2020年度案例系列》(全23册)的一个分册,婚姻家庭与继承纠纷。内容包含离婚纠纷...
急救医学-(供临床.基础.预防.护理.口腔.药学等专业用) 目录 **篇急救医学总论**章绪论第二章急救医疗服务体系第三章急救护理及其模式**节院前急救护理第二...
希尔顿·鲁特 美国乔治梅森大学教授,国际政治经济和发展政策研究专家。他经常担任《华尔街日报》、《国际先驱论坛报》、《洛杉矶时报》和《华盛顿邮报》的撰稿人。主要研...
《Unity 3D\2D手机游戏开发》内容简介:本书以实例教学为主线,循序渐进地介绍了Unity 2018在手机游戏开发方面的不同功能。第1章,
相傳遠古時代有一種怪獸名叫「檮杌」。這種怪獸外表怪誕,好鬥不懈,且有預知吉凶的能力。隨著時間流變,檮杌的形象逐漸由怪獸轉為有魔性的惡人。更耐人尋思的是,檮杌也被...