Valid Sudoku - O(1) time and O(1) space

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

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

  • @theindianrguy2285
    @theindianrguy2285 2 месяца назад

    How is it O(1)? You are initialising the dicts using 2 for loops which makes it O(m*n) or O(n^2)

  • @sathishj3052
    @sathishj3052 2 месяца назад

    👍