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.
孔庆东,男,汉族,学者,中共党员,1964年生于黑龙江哈尔滨市,祖籍山东费县。孔子第73代传人,北京大学中文系博士,现任北京大学中文系教授,主攻中国现当代文学,...
18岁的风景太美好,18岁的故事也太多情。风筱绮,毒舌女学霸,个子娇小,可软萌可高冷,怼得赢全世界,也能凭武力制服敌人。景骁,桀骜打架王,对待其他女生不解风情,...
刑事责任的一般理论 内容简介 本书内容包括:刑事责任的历史透视、刑事责任的概念、近现代西方刑事责任理论述评等。刑事责任的一般理论 目录 前言**章刑事责任的历史...
金针菇高产栽培技术-(第2版) 本书特色 《金针菇高产栽培技术(第2版)》是由金盾出版社出版的。金针菇高产栽培技术-(第2版) 目录 **章 概述一、金针菇的分...
Thoughtheschismofvaluingspiritualitywithrespecttosocialworkpracticehaslessenedov...
焦虑是我们生活中最常见的感受之一,总有些事情让我们担忧、烦恼或者恐惧。有时,即使我们明明从理性上知道自己的担忧毫无根据,也仍然控制不住自己的焦虑行为。那么,焦虑...
设计师在从事设计工作的过程中,被问及较多的问题应该是:“为什么我的客户不尊重我的设计?”而答案集中的是客户不懂审美。本书试图从设计背后的逻辑层面回答这个问题,设...
古方今用:泻下、祛湿、化痰、治燥剂 内容简介 《古方今用》丛书精选了190余种至今仍经常应用的古方,在介绍了每种方的组成、功用、主治、方解等基本信息的基础上,重...
太古是个地方,它位于宇宙的中心。倘若步子迈得快,从北至南走过太古,大概需要一个钟头的时间,从东至西需要的时间也一样。但是,倘若有人迈着徐缓的步子,仔细观察沿途所...
作者简介Stephen Ludin,Akamai公司Web性能部门CAO,带领Akamai公司的Foundry团队,负责研发下一代Web技术。 Javie...
伊藤润二 Junji Ito日本著名漫画家。一九六三年出生,小学便开始尝试画漫画,一九八六年入选第一届“楳图奖”佳作奖,次年开始连载《富江》,以职业漫画家身份出...
解读伊尹汤液 本书特色 《伊尹汤液经》以传统经学考证研究经方传承,其功底之深厚,其观点之鲜明,其见解之独到,在中医史上是独树一帜的,本书以胡希恕老师经方学观点,...
托马斯·曼(Thomas Mann),是20世纪德国文坛最耀眼的巨星,他的作品具有广泛的世界影响;他于1929年获得诺贝尔文学奖。托马斯·曼于一八七五年六月六日...
国际刑事法院研究 本书特色 张贵玲编著的《国际刑事法院研究》以国际刑事法院的管辖权问题为中心,共分五章对“国际刑事法院的诞生”、“国际刑事法院遵循的刑法原则和适...
雨果(1802-1885),法国著名小说家、诗人。《笑面人》是他的主要长篇小说之一。
For millions of years, mankinds place on Earth was unchallenged - until five you...
在线阅读本书The unique, gripping account of the perilous showdown between the United S...
文字最底层;汉语最前沿;两大专业网站数万次点击;广告江湖百转轮回颂与毁;深入中国广告风土第一课;史上惟一汉语角度广告实操工具。一只杯子在不同色底的眼睛里都是一只...
电影伴读中国文学文库。本书精选了鲁迅小说、杂文数十篇。鲁迅(1881-1936),现代文学家、思想家和革命家。原名周树人,字豫才,浙江绍兴人。1918年5月,首...
凤歌,生于夔州古城,游学天府之国,而今寄居江城武汉,编稿为生,常自恨才拙,笔耕五载,未敢疏懒,然仅得《昆仑》一部,《曼育王朝》半部,科幻短篇若干。负登天之志,乏...