advent-of-code
advent-of-code copied to clipboard
ref(2016): constant time soln for day 19 part 2
Constant time solution based on analysis of smaller numbers
@fornwall Could you take a look at this? I checked with various inputs and its been outputting exactly as the current code which takes O(n) time
Thanks :)!