retagged by
327 views

Please log in or register to answer this question.

Related questions

2.0k
views
1 answers
4 votes
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