System Design Interview: Design LeetCode w/ a Google Engineer

Поділитися
Вставка
  • Опубліковано 10 лис 2024

КОМЕНТАРІ • 21

  • @Hufsa
    @Hufsa 2 місяці тому +2

    this is so well detailed, I didn't expect so great material in less than 20 minutes, impressing

  • @michael_pio
    @michael_pio 3 місяці тому +3

    The quality of your content is Great , keep the good work up!

  • @amithgangarapu
    @amithgangarapu 3 місяці тому +2

    The video and your explanation is just perfect!
    I hope your channel grows.

  • @Bhaavgeete-ij2zs
    @Bhaavgeete-ij2zs 3 місяці тому +1

    Wow.......Simply amazing.
    The quality of content surely deserves a Million Followers. Keep going this way, eager to learn more from you.

  • @inventorokoth
    @inventorokoth 3 місяці тому +1

    keep going man. really helpful what you're doing

  • @christywang4012
    @christywang4012 Місяць тому +1

    if a submission requires 20 test cases to run, each of them requires 1s, then it requires to 20s to run? If we distribute it to different servers, then we need to run all of them then aggregate the results? I thought one failure would prevent remaining test cases to run.

    • @SystemDesignSchool
      @SystemDesignSchool  Місяць тому

      The implementation depends on the requirement of the platform. For example, LeetCode's implementation is one failure would prevent remaining test cases to run like you said. HackerRank and AlgoMonster actually run all the test cases even if some of them fail.

  • @elitegamer8008
    @elitegamer8008 3 місяці тому +1

    Ohh nice video all the best for future Endeavours and bring more system design videos like this

    • @SystemDesignSchool
      @SystemDesignSchool  3 місяці тому +2

      Yes, we will! Thank you for being our first comment!

  • @shivanshbhat1056
    @shivanshbhat1056 3 місяці тому

    This is really helpful. Thanks !

  • @lestrange-du-nil
    @lestrange-du-nil Місяць тому

    The document says 1KB for solution of each question, but you calculated it as 100KB per submission, is this a typo or am i missing something?

    • @SystemDesignSchool
      @SystemDesignSchool  Місяць тому

      1KB is the source code users submit, which is a bit low for verbose languages. I think 10KB is more appropriate. Thanks for the comment. We'll update the document.

  • @yosifsalim-nz3mp
    @yosifsalim-nz3mp 3 місяці тому

    what did you use for documenting the API ?

    • @SystemDesignSchool
      @SystemDesignSchool  3 місяці тому

      I used the tool here to document it and have AI grade it: systemdesignschool.io/problems/leetcode

  • @arshdeepkumar
    @arshdeepkumar 2 місяці тому

    using docker will still leak your code, message queue and db keys that you still will need to subscribe to queue and save results to DB
    maybe a way to disable file access and network for user programs

    • @SystemDesignSchool
      @SystemDesignSchool  2 місяці тому

      user code runs in docker container has separate filesystem namespace and cannot access other processes

    • @arshdeepkumar
      @arshdeepkumar 2 місяці тому

      I mean in the docket container you'll have source code ? For polling and executing code ?

  • @XxRazcxX
    @XxRazcxX 2 місяці тому

    On 4:37 u said 556 Read QPS and 5.56 write QPS. Then on 5:47 you say 556 Write QPS and 5.56 Read QPS.

    • @XxRazcxX
      @XxRazcxX 2 місяці тому

      I personally think its 556 WRITE QPS since submission are saved.

    • @SystemDesignSchool
      @SystemDesignSchool  2 місяці тому

      Oh oops, it should be read 556 since the assumption is read:write 100:1 (we requests info from the server a lot more than we submit solutions)