LOGGER RATE LIMITER | LEETCODE # 359 | PYTHON SOLUTION

Поділитися
Вставка
  • Опубліковано 9 лис 2024
  • In this video we are going to be solving an Easy Google interview question: Logger Rate Limiter (Leetcode # 359).
    This question is really simple and is going to test whether you know how to use a dictionary. Pretty much that's all you need to know for this one, some simple dictionary key look ups.

КОМЕНТАРІ • 11

  • @kb-ru4md
    @kb-ru4md 5 місяців тому +1

    They usually dont ask just for simple boolean, might have multiple messages which needs to be parsed and displayed and probably not show messages if received in 10 secs etc, with multithreaded or huge data stream constraints

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

    I did this question recently at Deliveroo, and a similar solution was implemented using Ruby; however, only 6 out of 15 tests passed. Tried to log & debug the issues, but I couldn't see the problem and the time elapsed

  • @sahilsaxena8374
    @sahilsaxena8374 10 місяців тому

    I think
    T.C = O(L)
    S.C = O(N * L)
    where L = average message length
    We are storing strings not int or long.

  • @subee128
    @subee128 9 місяців тому

    Thanks

  • @nishanksoni8964
    @nishanksoni8964 2 роки тому

    Plz make some videos on backtracking questions.....

    • @crackfaang
      @crackfaang  2 роки тому

      Any question in particular you’d like to see? Let me know and then subscribe to the channel so you don’t miss the upload

    • @nishanksoni8964
      @nishanksoni8964 2 роки тому

      @@crackfaang u can start with permutation, combination sum etc...

  • @LuisMorales-yx8di
    @LuisMorales-yx8di 2 роки тому +3

    ofc you dont know why google asks this questions, you dont work there. Jeje