Discussion

Tell HN: OpenAI can solve Leetcode problems

I gave OpenAI the following LC prompt:

https://leetcode.com/problems/determine-if-two-strings-are-close

https://gist.github.com/autotune/e6345fab54f6acab0ba95c45ec15f22a#file-openai_test_prompt-txt

It returned the following result that matched 3/3 test cases:

https://gist.github.com/autotune/e6345fab54f6acab0ba95c45ec15f22a#file-openai_test_result-txt

I didn't even have to do any manual formatting, it just generated the solution right where it needed to. Now that LC has been automated can we move onto trying something else in the standard software dev interview process?

55 points autotune 3 years ago 56 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton