7 To ensure security, a valid passphrase must contain no duplicate words.
11 - aa bb cc dd ee is valid.
12 - aa bb cc dd aa is not valid - the word aa appears more than once.
13 - aa bb cc dd aaa is valid - aa and aaa count as different words.
15 The system's full passphrase list is available as your puzzle input. How
16 many passphrases are valid?
20 from notebook_preamble import J, V, define
22 I'll assume the input is a Joy sequence of sequences of integers.
30 So, obviously, the initial form will be a ``step`` function:
34 AoC2017.4 == 0 swap [F +] step
38 F == [size] [unique size] cleave =
40 The ``step_zero`` combinator includes the ``0 swap`` that would normally
41 open one of these definitions:
51 ==== Help on step_zero ====
62 AoC2017.4 == [F +] step_zero
66 define('AoC2017.4 [[size] [unique size] cleave = +] step_zero')