sumit goyal 1
asked
Jan 12, 2018
1,995
views
solution : Let , , K = string with 4 consecutive A of length 6 => 4*1*1*1*1*4 + 4*4*1*1*1*1 + 1*1*1*1*4*4 + 1*4* ... is there any other approach because if question is like : 2 consecutive a then making cases will become tedious