I wrote a ticttactoe AI for a CS course thingy, and I decided to make the board 4x4 so it'd be less annoying. Now either my code is filled with bugs or it really does take like a year to process that many states. The AI won't make its move.
I just had an easy math problem followed by another problem with the exact same answers. I think they were just testing us to see if we know that its the same problem just presented differently. ¯\_(ツ)_/¯ Free points for me.
Do you ever think of a creative method of solving a programming problem that you're really happy with, and then you realize there's a one-liner that does the same thing if you bother to import a few libraries?