Question:https://www.geeksforgeeks.org/look-and-say-sequence/
My solution:https://ide.codingblocks.com/s/56263
Whats wrong in my solution…i am getting a werid output
Look and Say Sequence
check this https://ide.codingblocks.com/s/65086
you have put cnt=1 at wrong place u have to place whenever the temp is updated