problem on dynamic programming

Правка en1, от daiict, 2016-07-01 20:17:27

Can anyone help me in dp problem. problem statement is as following. Find how many numbers of length n are there such that each number is at least 4 smaller/greater than the number before and after it.

E.g. if n = 5, such numbers are 39518, 15951, etc.

Теги #dp

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский daiict 2016-07-01 20:17:27 290 Initial revision (published)