Ask HN: Extra puzzle for day 10 of Advent of Code
What is the minimum number of brackets to add to fix every line of the input? (I think it is 81 for the example input.)
And what is an efficient algorithm for find this number?
And what is an efficient algorithm for find this number?
3 comments
[ 4.4 ms ] story [ 17.6 ms ] thread