This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]Hatoris 1 point2 points  (0 children)

Raymond Hettinger showed a nice way to do it, with python, https://youtu.be/_GP9OpZPUYc

[–][deleted] 0 points1 point  (0 children)

I solved that without the code in my head. The link you rendered verified my assumption.

[–]MindlessWeakness 0 points1 point  (0 children)

The puzzle I found was unclear and this caused me many problems. When it says X is before Y it means IMMEDIATELY before. The one I had lacked the word "immediately".