ChatGPT able to solve leetcode is like how I can solve it too if I can google and access leetcode site's solution page. Underneath, it's doing almost the same thing, just that ChatGPT has better memory than me and able to tap into many more sources baked into that memory.