Recursion Problem.....:)

Правка en1, от wish_me, 2017-08-28 19:16:31

Given 3 characters a, b, c, find the number of strings of length n that can be formed from these 3 characters given that; we can use ‘a’ as many times as we want, ‘b’ maximum once, and ‘c’ maximum twice

Теги recursion, #dp

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский wish_me 2017-08-28 19:16:31 231 Initial revision (published)