Hacker News new | ask | show | jobs
by fragmede 1288 days ago
It can pass easy leetcodes. Here's a transcript of it solving an easy leetcode problem, and I also asked it for additional test cases.

https://pastebin.com/BpdcuWEM

There was another problem I tried where it gave an almost correct answer. Fixing the answer from then was probably faster than if I had to do from scratch.

3 comments

Of course, the other thing is that there's a ton of effort that goes into writing that question so well. I think if jira tickets were that well written, I'd be able to go much faster too.
Past the edit window; https://leetcode.com/problems/two-sum/ is the problem I fed it.
That is O(n^2), when I believe it could have been O(n.log(n)).