2 votes 2 votes closed with the note: got it sumit goyal 1 asked Jan 12, 2018 • closed Jan 12, 2018 by sumit goyal 1 sumit goyal 1 473 views comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes A = String starting with 5 consecutive A of length 6 => 1*1*1*1*1*2 => 2 B = String starting with 6 consecutive A of length 6 => 1*1*1*1*1*1 => 1 is answer = 3 ?? sumit goyal 1 answered Jan 12, 2018 sumit goyal 1 comment Share Follow See all 4 Comments See all 4 4 Comments reply joshi_nitish commented Jan 12, 2018 reply Follow Share it will be $5$ 0 votes 0 votes sumit goyal 1 commented Jan 12, 2018 reply Follow Share A = String starting with 5 consecutive A of length 6 => 2*1*1*1*1*1 + 1*1*1*1*1*2 = 4 @ joshi_nitish now 5 will come B = String starting with 6 consecutive A of length 6 => 1*1*1*1*1*1 => 1 4+1 =5 {what is your approach } 0 votes 0 votes joshi_nitish commented Jan 12, 2018 reply Follow Share same as yours(later one), former one is wrong 1 votes 1 votes sumit goyal 1 commented Jan 12, 2018 reply Follow Share thanks yes i missed one case previously 0 votes 0 votes Please log in or register to add a comment.