LEETCODE POTD LEETCODE 862 SHORTEST SUBARRAY WITH SUM ATLEAST K LEETCODE POTD EXPLANATION

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

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

  • @devsumitg
    @devsumitg 6 дней назад +1

    Great explanation 👍

  • @rsaisiddhu
    @rsaisiddhu  7 дней назад +1

    Remember to initialise preSum with long long datatype
    To avoid runtime error
    As the sum would be greater

  • @dipanshu_0199
    @dipanshu_0199 7 дней назад +1

    giving runtime or compile time error at some places , also presum should be long long datatype.

    • @rsaisiddhu
      @rsaisiddhu  7 дней назад

      @@dipanshu_0199 yes brother