Blog articles/Exercises
From HaskellWiki
(Difference between revisions)
(→Chris' Puzzle) |
(→Word numbers) |
||
| Line 57: | Line 57: | ||
=== Word numbers === | === Word numbers === | ||
| - | *[http://conway.rutgers.edu/~ccshan/wiki/blog/posts/WordNumbers1/ | + | * Solving the word numbers problem: |
| + | **[http://conway.rutgers.edu/~ccshan/wiki/blog/posts/WordNumbers1/ Part 1: Billion approaches] | ||
| + | **[http://conway.rutgers.edu/~ccshan/wiki/blog/posts/WordNumbers2/ Part 2] | ||
| + | **[http://conway.rutgers.edu/~ccshan/wiki/blog/posts/WordNumbers3/ Part 3: Binary Search] | ||
=== Games === | === Games === | ||
Revision as of 16:13, 23 September 2007
Contents |
1 Programming exercises in Haskell
- Diff in Haskell
- Introductory Haskell: Solving the Sorting-It-Out Kata
- The "perfect shuffles" puzzle (solved in Haskell)
- A Simple RPN Calculator in Haskell
- Software Cipher
- Dot matrix printer
- Overlap function in Haskell for rectangles
- Tying Knots Generically
- A quick and dirty theorem prover in Haskell
- Brainf*k interpreter in Haskell
- FourFours in Haskell
- Using Bayesian filtering instead of 'if' in Haskell
- Counting fibonaccis
- Decision making
- Solving an arithmetic puzzle with Haskell
2 Particular exercises
2.1 Prime sieves
2.2 Supermarket Pricing
2.3 The Google Code Jam "countPaths" problem
2.4 Secret Santas in Haskell
2.5 Run length encoding
2.6 The bowling puzzle
- The Bowling Game Kata in Haskell
- Bowling in Haskell
2.7 Norvig's spell checker
2.8 Chris' Puzzle
2.9 Word numbers
- Solving the word numbers problem:
