How print all numbers instead of streak count

Hey @kishoretaru
Just save starting position and streak count
And while maximising if other streak count is better than curr streak
Then update both starting posn as well as streak count

make changes in this code https://ide.codingblocks.com/s/345766

https://ide.codingblocks.com/s/347018 Here I updated ur code :slight_smile:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.