Add a license.
[wordplay-cdsw-solutions] / README.md
1
2 This repo contains worked solutions to the problems in the Wordplay section of the Fall Community Data Science Workshop
3 at the University of Washington, also identified by (https://openhatch.org/wiki/CDSW).
4
5 Here were the questions:
6 1) Find all words that start with 'a' and are 9 or more letters long.
7
8 2) What is the longest word that starts with a 'q'?
9
10 3) Find all words that end with 'nge'
11 4) You need a word to match the phrase "a**e*y". 
12
13 Are there any words that match?
14
15 5) Print *every other* word that matches the 
16 condition in (1) above.
17
18 6) Find the longest string where no character is used > 1 time.
19
20 Now we're going to start finding points! You can use scrabble.scores to get the scores for every letter.
21 But we're going to cheat: assume you have all the letters.
22
23 7) What is the most valuable word in the dictionary, and how much is it worth?
24
25 8) You want to match a word that starts with an 'a', has an 'e' in the 4th slot, and is no more than 7 characters long. What is the best word you can play?
26
27 (*) 9) Make a list that shows the most valuable word that starts with each letter.
28 Example:
29
30     a: apophthegmatize, 37
31     c: chiquichiquis, 41
32     b: bezzazzes, 47
33     e: embezzlements, 37
34     d: decitizenizing, 36
35     .....
36

Benjamin Mako Hill || Want to submit a patch?