Leetcode #77 | Combinations | Backtracking #2

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

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

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

    Can you please explain that pop() statement. why we need to do that?

    • @prepfortech
      @prepfortech  3 года назад +3

      Hi, This is done so that before we move try out a different combination, we have removed the previously added item.