I bet it has memorized the leetcode solution from people that made repos with their solutions. I would try the same experiment but instead of copying the problem statement just add a comment like "a function that solves leetcode problem 'search-insert-position'. If it is able to do it that means it probably just memorized a ton of code and is giving you a fancy fuzzy search to it.
@@BenjaminCarlson Much more interesting question is if you slightly modified the problem, if it could modify the solution accordingly... in the end that's what all programming is
It would be interesting to give it some problems that it couldn't possibly have seen before. I doubt it'll be able to auto complete C code for embedded drivers or kernel modules (or something similar). Not a lot of "googleable" examples on that stuff.
Thanks for reviewing this 🙏
My pleasure!
@@BenjaminCarlson are you currently taking on any new projects?
The main project I'm working on right now is coffeeclass.io It is a programming tutorial website.
I bet it has memorized the leetcode solution from people that made repos with their solutions.
I would try the same experiment but instead of copying the problem statement just add a comment like "a function that solves leetcode problem 'search-insert-position'.
If it is able to do it that means it probably just memorized a ton of code and is giving you a fancy fuzzy search to it.
yeah that is what I am thinking. It probably found a repo with the solutions in it and is regurgitating.
@@BenjaminCarlson Much more interesting question is if you slightly modified the problem, if it could modify the solution accordingly... in the end that's what all programming is
It would be interesting to give it some problems that it couldn't possibly have seen before. I doubt it'll be able to auto complete C code for embedded drivers or kernel modules (or something similar). Not a lot of "googleable" examples on that stuff.