出版时间:2006-11 出版社:人民邮电出版社 作者:Jon Bentley 页数:239
Tag标签:无
内容概要
本书针对程序设计人员探讨了一系列的实际问题,这些问题是对现实中常见问题的归纳总结。作者虽然没有给出解决这些问题的具体代码,但始终非常富有洞察力和创造力地围绕着这些折磨程序员的实际问题展开讨论,从而引导读者理解问题并学会解决问题的技能,这些都是程序员实际编程生涯中的基本技能。为此,本书给出了一些精心设计的有趣而且颇具指导意义的程序,这些程序能够为那些复杂的编程问题提供清晰而且完备的解决思路,书中还充满了对实用程序设计技巧及基本设计原则的清晰而睿智的描述。 本书在第一版的基础上增加了3个方面的新内容:测试、调试和计量,集合表示,字符串问题,并对第一版的所有程序都进行了改写,生成了等量的新代码。 作者简介: Jon Bentley是位于新泽西州Murray Hill的朗讯贝尔实验室计算机科学研究中心的技术委员会委员,Jon自1998年就成为Dr. Dobbs Joumal杂志的特约编辑,他的“编程珠玑”专栏多年来一直是顶级学术杂志Communications of the ACM最风行的特色专栏之一,而本书正是建立在这些专栏的基础之上。
作者简介
Jon Bentley是位于新泽西州Murray Hill的朗讯贝尔实验室计算机科学研究中心的技术委员会委员,Jon自1998年就成为Dr. Dobbs Joumal杂志的特约编辑,他的“编程珠玑”专栏多年来一直是顶级学术杂志Communications of the ACM最风行的特色专栏之一,而本书正是建立在这些专栏的基础之上。
书籍目录
Part I:PRELIMINARIESColumn 1:Cracking the OysterA Friendly Conversation·Precise Problem Statement·Program Design·Implementation Sketch·Principles·Problems·Further ReadingColumn 2:Aha! AlgorithmsThree Problems·Ubiquitous Binary Search·The Power of Primitives·Getting It Together: Sorting·Principles · Problems·Further Reading·Implementing an Anagram ProgramColumn 3:Data Structures ProgramsA Survey Program·Form-Letter Programming·An Array of Examples·Structuring Data·Powerful Tools for Specialized Data·Principles·Problems·Further ReadingColumn 4:Writing Correct ProgramsThe Challenge of Binary Search·Writing the Program·Understanding the Program·Principles·The Roles of Program Verification·Problems·Further ReadingColumn 5:A Small Matter of ProgrammingFrom Pseudocode to C·A Test Harness·The Art of Assertion·Automated Testing·Timing·The Complete Program·Principles·Problems·Further Reading·DebuggingPart II:PERFORMANCEColumn 6:Perspective on PerformanceA Case Study·Design Levels·Principles·Problems·Further ReadingColumn 7:The Back of the EnvelopeBasic Skills·Performance Estimates·Safety Factors·Littles Law·Principles·Problems·Further Reading·Quick Calculations in Everyday LifeColumn 8:Algorithm Design TechniquesThe Problem and a Simple Algorithm·Two Quadratic Algorithms·A Divide-and-Conquer Algorithm·A Scanning Algorithm·What Does It Matter?·Principles·Problems·Further ReadingColumn 9:Code TuningA Typical Story·A First Aid Sampler·Major Surgery—Binary Search·Principles·Problems·Further ReadingColumn 10:Squeezing SpaceThe Key—Simplicity·An Illustrative Problem·Techniques for Data Space·Techniques for Code Space·Principles·Problems·Further Reading·A Big SqueezePart III:THE PRODUCTColumn 11:SortingInsertion Sort·A Simple Quicksort·Better Quicksorts·Principles·Problems·Further ReadingColumn 12:A Sample ProblemThe Problem·One Solution·The Design Space·Principles·Problems·Further ReadingColumn 13:SearchingThe Interface·Linear Structures·Binary Search Trees·Structures for Integers·Principles·Problems·Further Reading·A Real Searching ProblemColumn 14:HeapsThe Data Structure·Two Critical Functions·Priority Queues·A Sorting Algorithm·Principles·Problems·Further ReadingColumn 15:Strings of PearlsWords·Phrases·Generating Text·Principles·Problems·Further ReadingEpilog to the First EditionEpilog to the Second EditionAppendix 1:a Catalog of AlgorithmsAppendix 2:An Second EditionAppendix 3:Cost Models for Time and SpaceAppendix 4:Rules for Code TuningAppendix 5:C++Classes for SearchingHints for Selected ProblemsSolutions to Setected ProblemsIndex
编辑推荐
《编程珠玑》第一版是我早期职业生涯中阅读过的对我影响较大的书籍之一,在书中首次接触到的很多观点都让我长期受益。作者在这一版本中做了重要更新。新增加的很多例子让我耳目一新。 ——Steve McConnell,《代码大全》作者 如果让程序员们列举他们喜欢的书籍,Jon Bentley的《编程珠玑》一定可以归于经典之列。如同精美的珍珠出自饱受沙砾折磨的牡蛎,程序员们的精彩设计也来源于曾经折磨他们的实际问题。Bentley的“珍珠”基于坚实的工程学基础,为那些麻烦的问题提供了富于智慧性和创造性的解决方案。本书通过一些有趣的具有指导意义的程序,对程序设计技巧和基本设计原理进行了清晰而睿智的描述。因此本书对各个层次的程序员都具有很高的价值。 在这一版本中,作者对第一版本中的大多数素材进行了彻底更新,以反映现在的程序设计方法和环境。此外还增加了三方面的新内容:测试、调试和计时,集合表示,字符串问题。所有原始程序都重新进行了改写,并生成了等量的新代码。读者可以从本书网站获取所有程序的C或C++实现。 在新版本中,作者对于程序设计问题本质仍然保持了极大的关注,并针对这些问题给出了实用的解决方案。不论您是第一次阅读这本经典读物,还是已经阅读过第一版,这本书都会成为您最喜爱的图书之一。
图书封面
图书标签Tags
无
评论、评分、阅读与下载