Try out the programming feature in ChatGPT if you haven't already. Here's me testing it on a codechef question. I ballsed up the formatting and it still managed to get it right. You can pretty much learn programming from it, ask it any question, about any topic on programming.