ChatGPT - Two Sum Problem Solution