Q13 Task Scheduling Problem | Swiggy and Uber Frontend Interview Question 🔥

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

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

  • @akshay-kumar-007
    @akshay-kumar-007 Год назад

    Complexity for self reference: The complexity of the algorithm could have been reduced to O(m+n) if we had got the dependency as a DAG. We just then keep a list of in-degrees of each vertex and once its zero, we consider it processed.

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

    Nicely explained

  • @kalyanking1080
    @kalyanking1080 2 месяца назад

    just use topological sort don't make it complex man

  • @NitinKumar-gv4hs
    @NitinKumar-gv4hs 2 года назад +1

    Hi Vedant, the entire playlist was good, one feedback would be where you;re writing lengthy code like in the above video , try to use debugger and run through one testcase for better understanding

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

    Nice explanation...keep uploading such video.

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

    Great video 😊

  • @jainlokesh318
    @jainlokesh318 11 месяцев назад

    What if in the initial List there is no task which have empty dependency but there are no cycles formed?

  • @DeepakKumar-ym1gx
    @DeepakKumar-ym1gx 11 месяцев назад

    This is not for fresher level . Right?