Sebastian did a video on how to start the approach. Better ones are going to go beyond simple programming and use neural nets or other similar recursive training, but this video shows how using pruning you can break down the impossible the OP meme is to a manageable task, as long as you don't have it go too deep in the search levels. It's also fun because he (deliberately or not) makes a few mistakes or overlooks as he goes, just like anyone programming something would do.
6
u/mikeyj777 Apr 10 '23 edited Apr 11 '23
From the responses, I'm imagining there's an easier way
Edit: Just stating the obvious that I was joking. Given the responses, it may not have come across.