I was battling a programming problem for nigh on 2 hours. Decided to paste the almost 14-line question on ChatGPT. It spat out a solution in seconds. Regenerated and it spat out an even more concise solution after a couple of blinks. I turned off my laptop and dove into bed.