Skip to content

Commit fe9bf4c

Browse files
committed
Add "Look and Say" hole
1 parent 9a39831 commit fe9bf4c

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

db/a-schema.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ CREATE TYPE hole AS ENUM (
66
'arabic-to-roman', 'brainfuck', 'christmas-trees', 'css-colors', 'cubes',
77
'diamonds', 'divisors', 'emirp-numbers', 'emojify', 'evil-numbers',
88
'fibonacci', 'fizz-buzz', 'happy-numbers', 'intersection', 'leap-years',
9-
'levenshtein-distance', 'leyland-numbers', 'lucky-tickets',
10-
'morse-decoder', 'morse-encoder', 'niven-numbers', 'odious-numbers',
11-
'ordinal-numbers', 'pangram-grep', 'pascals-triangle',
9+
'levenshtein-distance', 'leyland-numbers', 'look-and-say',
10+
'lucky-tickets', 'morse-decoder', 'morse-encoder', 'niven-numbers',
11+
'odious-numbers', 'ordinal-numbers', 'pangram-grep', 'pascals-triangle',
1212
'pernicious-numbers', 'poker', 'prime-numbers', 'quine',
1313
'rock-paper-scissors-spock-lizard', 'roman-to-arabic', 'rule-110',
1414
'seven-segment', 'sierpiński-triangle', 'spelling-numbers', 'sudoku',

holes.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -893,9 +893,9 @@ preamble = '''
893893

894894
['Look and Say']
895895
category = 'Sequence'
896-
experiment = -1
897896
links = [
898897
{ name = 'OEIS A005150', url = '//oeis.org/A005150' },
898+
{ name = 'Rosetta Code', url = '//www.rosettacode.org/wiki/Look-and-say_sequence' },
899899
{ name = 'Wikipedia', url = '//www.wikipedia.org/wiki/Look-and-say_sequence' },
900900
]
901901
preamble = '''
@@ -905,8 +905,7 @@ preamble = '''
905905
the length with the original number. For example the next element after
906906
111221 would be 312211 (three ones, two twos and one one).
907907
908-
<p>
909-
Print the first 20 elements of the Look and Say sequence.
908+
<p>Print the first 20 elements of the Look and Say sequence.
910909
'''
911910

912911
['Lucky Tickets']

0 commit comments

Comments
 (0)