GitHub Copilot Solves Leetcode Questions With Ease - My Thoughts On Copilot

Поделиться
HTML-код
  • Опубликовано: 9 янв 2025

Комментарии • 8

  • @memoryfab
    @memoryfab 3 года назад +2

    Thanks for reviewing this 🙏

    • @BenjaminCarlson
      @BenjaminCarlson  3 года назад +1

      My pleasure!

    • @memoryfab
      @memoryfab 3 года назад

      @@BenjaminCarlson are you currently taking on any new projects?

    • @BenjaminCarlson
      @BenjaminCarlson  3 года назад +1

      The main project I'm working on right now is coffeeclass.io It is a programming tutorial website.

  • @ricardoamendoeira3800
    @ricardoamendoeira3800 3 года назад +3

    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
      @BenjaminCarlson  3 года назад

      yeah that is what I am thinking. It probably found a repo with the solutions in it and is regurgitating.

    • @nicksrub
      @nicksrub 3 года назад

      @@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

  • @tylerwillis4226
    @tylerwillis4226 2 года назад

    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.