1345. Jump Game IV || Leetcode 1345 || Leetcode Daily Challenge

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

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

  • @gauravparasar4571
    @gauravparasar4571 Год назад +3

    temp ke vector me & lagane se kya hua h ??

    • @techadorabynivedita
      @techadorabynivedita  Год назад +3

      if you won't use will give tle ,
      Instead, we used a reference to the vector in the map, which allows us to modify the vector in place and also saves the overhead of copying the vector.

  • @mohammadfaizal7741
    @mohammadfaizal7741 Год назад +1

    very well explained.

  • @prathammadhani4372
    @prathammadhani4372 Год назад

    Ma'am, your video explanations for every problem are superb but can you please let us know how did you came to this approach (best approach). For example, for this question how did you came to know that we have to apply bfs?.......And also wanted to ask for help regrading DP. Ma'am, can you please share how you started DP and how you practiced the same?. Thank you.

  • @ManojKrVerma-vw4dx
    @ManojKrVerma-vw4dx Год назад +1

    isme bfs kyun apply kiya gya ? hum 1 se 0 kyun nahi jaa sakte ??