Day 11 and I've hit the wall. Written a recursive function, that was looping infinitely, now it will only loop twice. Neither are correct!
Oh...just read simultaneously in the description...have another go
edit: counting occurences of '#' i was including the seat itself, but not using >= 5 instead of >= 4. really annoyed at myself today. messy slow code using deepcopy too
Day 11 and I've hit the wall. Written a recursive function, that was looping infinitely, now it will only loop twice. Neither are correct!
Oh...just read simultaneously in the description...have another go
edit: counting occurences of '#' i was including the seat itself, but not using >= 5 instead of >= 4. really annoyed at myself today. messy slow code using deepcopy too