[CSES][Dynamic Programming] Counting Tilings: A Visual Guide to DP with Bitmasking.

Поділитися
Вставка
  • Опубліковано 25 сер 2024

КОМЕНТАРІ • 8

  • @user-sp1hs3jh9c
    @user-sp1hs3jh9c 5 місяців тому

    your effort was amazing thanks

  • @KarthikKarthik-el5hh
    @KarthikKarthik-el5hh 6 місяців тому

    Thank you for the explanation.

  • @KushAgrawal-or4oh
    @KushAgrawal-or4oh 25 днів тому

    what is your codeforces ?

  • @felipesantiagogama2833
    @felipesantiagogama2833 2 місяці тому

    Really good explanation! Could anyone tell me why the time complexity is O(n*m *2^n) though? I understood that m* 2^n comes from the estate configuration, but isn't the transition also 2^n since the recursive fill_column function can branch out?

  • @user-wf4zp2hf5s
    @user-wf4zp2hf5s 8 місяців тому

    this one is tough

    • @neatlystructured
      @neatlystructured  8 місяців тому

      Indeed, that's why i thought the visualisation was necessary.

  • @kiwirafe
    @kiwirafe 8 місяців тому

    The explaination is great, but when I copied your code and it doesn't seem to work. I wonder if you could share the link of your working code? Thanks.

    • @neatlystructured
      @neatlystructured  8 місяців тому +4

      Do you really think that i would fake getting an ac???!!! The point of these editorials is to enpower you to come up with your own working solution. Show me your submission to point out where you went wrong