4 ms·
OpenAI chat could probably pass leetcode.
by aswanson 4y ago
OpenAI chat could probably pass leetcode.
- fragmede 4y agoIt 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 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.
- MaximumYComb 4y agoThat is O(n^2), when I believe it could have been O(n.log(n)).
- fragmede 4y agoPast the edit window; https://leetcode.com/problems/two-sum/ https://leetcode.com/problems/two-sum/ is the problem I fed it.
- fragmede 4y agoOf 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.