I've tested one of my submission 95709609 which works fine with the test cases where modulo operation is not mandatory/ not becomes overflow. But in case large string , overflow occurs. May be I don't know modulo operation well. I'm trying to learn it. But if u make my code fixed by making the modulo operation then I will be glad & learn from u too. Before downvoting , please leave at least a comment.