leetcode 2702. Minimum Operations to Make Numbers Non-positive - binary search and notes [hard]

Поделиться
HTML-код
  • Опубликовано: 6 фев 2025
  • Follow up at my channel @Code-Yao and corresponding playlists.

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

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

    Nice. Thanks for sharing. I have subscribed to your channel.

  • @HimanshuDagar-kr7ct
    @HimanshuDagar-kr7ct Год назад +1

    Absolute beauty!

  • @spamlettuce
    @spamlettuce 3 дня назад

    defining the for loop variable as y is confusing

    • @codeyao9796
      @codeyao9796  3 дня назад

      You are right: though the logic is easy to digest, using a different var name would be even better.

    • @spamlettuce
      @spamlettuce 3 дня назад

      @@codeyao9796 either way, great video. Explained well, understood the solution right away