Pergunta de entrevista da empresa Flipkart

There was a coding question to input a binary number string and find all possible substrings that are multiples of 5 when converted to decimal.