Number of Islands | BFS | Breadth First Search | Programming Tutorials

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

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

  • @gnanamanikandavelu1168
    @gnanamanikandavelu1168 4 года назад +3

    Really helpful keep adding more stuffs !!!

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

    Cheers, very good explanation. Quick question about time and space complexity... I believe time complexity is going to be O(NM) and space the same no?

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

    How to solve this problem using uniform cost search? I tried it but it was difficult. Thank you

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

      hello are you from tdtu

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

      @@JEmpTt yes. :v i finished it

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

      @@simplecode7035 can u give me some help :((

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

      oh tối nay bác cũng deadline à :)

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

      @@quochoang32b haha. Tui mới nộp hôm qua rồi

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

    Was expecting c++ really disappointed bro

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

      I have tried my best to explain the approach, Try to write c++ code yourself and share the code in the comment section so that other people who are watching this video get the benefit from your code.

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

      @@ProgrammingTutorials1M bro do in c++ you can get more views because many of cp beginners do in c++.

    • @aadi.p4159
      @aadi.p4159 3 года назад

      dude mit teaches algos in java.. y the hate

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

      @@movvamanish1467 if u want to learn then to do it yourself