scratch

§ For a Given Recurrence, What Base Cases Do I Need to Implement?

created 2021-07-30
  • For a linear recurrence, we need to defie base cases for as many steps as we go back.
  • For combinations, we step n by 1, r by 1. So we need to define what happens for n=0 OR r=0.
❦
Newer ৪ Blog ৪ Older