Lava Interview QuestionFront-end Software Engineers
- 0of 0 votes
Given a Binary string of 0s and 1s, and k, Find the number of different ways to get longest continuous streak of 1s. You can flip any k number of 0s to 1s.
1)Stirng is S=1010101, K=1
1)Stirng is S=01010, K=3
Interview Type: Written Test