4 "cell_type": "markdown",
11 "cell_type": "markdown",
14 "## Monotone substrings\n",
15 "Find the Longest monotonic substring in a list of numbers (words?)\n",
17 "Extension: longest non-decreasing (or non-increasing) substring.\n",
19 "Extension: longest monotonic subsequence"
23 "cell_type": "markdown",
26 "## Product in grid\n",
27 "Given a grid of numbers, find the largest product of five numbers in a row (totally Project Euler no. 11: https://projecteuler.net/problem=11 ).\n",
29 "Extension: largest product of five adjacent numbers, no necessarily colinear, but can't loop back to same number twice."
33 "cell_type": "markdown",
37 "Given a grid of letters and a list of words, how many words are in the grid?\n",
39 "Extension: what's the longest word you can make from the leftover letters?"
43 "cell_type": "markdown",
47 "Given some letters and a list of words, what's the longest word you can make from the letters.\n",
49 "Extension: you're actually playing scrabble. What's the highest-scoring word you can make?"
53 "cell_type": "markdown",
57 "Given a grid size and a list of moves, who won? Input is a list of games, result is number of games that went to completion\n",
59 "Extension: how many games would be won by on the next go? (At least one of the puzzles has to have a game that would be \"won\" by placing a piece above an already-full column."
63 "cell_type": "markdown",
66 "Travelling salesman: given a network, find the shortest route between them, without visiting the same spot twice.\n",
67 "Extension: find the longest travelling salesman route.\n",
68 "Extension: relax the constraint, and allow repeated visits to the same place. What's the shortest route now?"
72 "cell_type": "markdown",
75 "Virtual machine: run the assembly program, what's the result?\n",
76 "Extension: run it again on different input."
80 "cell_type": "markdown",
83 "Given a boolean expression, how many variables are in it?\n",
84 "Extension: is it satisfiable?"
88 "cell_type": "markdown",
91 "Battleships: given a grid of hits and misses, where could be battleship be? (count how many positions it could be in) Assume the battleship is unhit.\n",
92 "Extension: the battleship might have been hit, but not sunk. Now how many places could it be?"
96 "cell_type": "markdown",
99 "How many ways can you fill a bunch of knapsacks (e.g. Advent 2015 days 17, 24)"
103 "cell_type": "markdown",
106 "Phone number puzzle: words that fit a phone number.\n",
107 "Extension: non-ascii unicode in input"
111 "cell_type": "markdown",
114 "Rainfall problem:\n",
115 "http://dl.acm.org.libezproxy.open.ac.uk/citation.cfm?doid=6592.6594"
119 "cell_type": "markdown",
122 "Ten-pin bowling scores. Given a sequence of number of pins knocked down, calculate total score."
126 "cell_type": "markdown",
129 "Pack and justify text into paragraphs."
133 "cell_type": "markdown",
140 "cell_type": "markdown",
143 "Derangement network simulation.\n",
144 "Extension: sum several networks"
148 "cell_type": "markdown",
151 "Machine code execution: Collatz sequence, count steps."
155 "cell_type": "markdown",
158 "Parcel pricing, by weight and volumetric weight. Find total postage cost of list of parcels. Each parcel given as w, h, l, mass."
162 "cell_type": "markdown",
165 "Parcel wrapping: first, find area, then find width of 1m strip to wrap. Include extra for wriggle room."
169 "cell_type": "markdown",
172 "Mastermind: how many valid solutions remain after the scores you've seen\n",
173 "How many scores are possible for this attempt?~"
177 "cell_type": "markdown",
180 "# More problems:\n",
181 "* https://books.google.co.uk/books?id=85NsAHJjTJ0C&pg=PA390&lpg=PA390&dq=phone+number+problem+programming+names&source=bl&ots=c7oC9JvpZz&sig=aNnW6t_nmGK7SyAKchK0MaxqbkA&hl=en&sa=X&ved=0ahUKEwjnzcbbgs7RAhWKKcAKHQiFCDAQ6AEIJDAC#v=onepage&q=phone%20number%20problem%20programming%20names&f=false\n",
182 "* https://www.cs.uoregon.edu/Activities/Luks_Programming_Contest/\n",
183 "* https://www.reddit.com/r/dailyprogrammer/"
187 "cell_type": "markdown",
190 "# Related research\n",
191 "* https://computinged.wordpress.com/2016/12/16/graduating-dr-briana-morrison-posing-new-puzzles-for-computing-education-research/\n",
192 "* https://computinged.wordpress.com/2010/08/16/a-challenge-to-computing-education-research-make-measurable-progress/\n",
193 "* http://dl.acm.org.libezproxy.open.ac.uk/citation.cfm?doid=6592.6594\n",
194 "* https://computinged.wordpress.com/2017/01/18/power-law-of-practice-in-software-implementation-does-this-explain-the-w-going-away/\n",
195 "* https://www.cs.utexas.edu/users/mckinley/305j/pair-hcs-2006.pdf"
200 "execution_count": null,
210 "display_name": "Python 3",
211 "language": "python",
219 "file_extension": ".py",
220 "mimetype": "text/x-python",
222 "nbconvert_exporter": "python",
223 "pygments_lexer": "ipython3",