InterviewBit Problems   Length of longest consecutive ones : Solved