Giter Site home page Giter Site logo

design_of_computer_programs's Introduction

design_of_computer_programs

Design of Computer Programs by Peter Norvig

catalog

Winning Poker Hands

  • Steps of the design process and developing for clarity and generality.

  • Arguments for program correctness and exprimentation and simulation.

  • Design trade-offs; Simplicity and clarity; Decomposition and composability.

Back of the Envolope

  • Back of envolope calculations: When to use brute force and when to be clever.

  • The Zebra puzzle: Generator expressions.

  • Permutations and combinations.

  • Cryptarithmetic; Recursive and wishful thinking; Longest palindrome substring algorithm;

Regular Expressions, other languages and intepreters

  • Defining the language of regular expressions and interpreting the language.

  • Defining the set of strings matched by regular expression

  • Other languages.

Dealing with complexity through search

  • Search: finding your way with a flashlight or boat.

  • Analying the efficiency of algorithm.

  • Recurrence relations and matching data types with algorithms.

Dealing with uncertainty through probability

  • Probability: the game of Pig.

  • Maximizing expected utility to optimize strategy.

Word Games

  • Managing complexity

  • Large sets of words

  • Appropriate data structures

design_of_computer_programs's People

Contributors

yueleng avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.