Hi,
I came across a problem to find out the longest sequence of same characters in a string. for example "food" would return "oo" and "rttrrrttttoooooo" would return "ooooo". Its feels disgusting when after developing large applications I am struggling on a basic programming question I guess I havent come across these type of problems in recent past.
Can someone help? Also it would be great if someone can point me where I can find more questions like this to practice.
I came across a problem to find out the longest sequence of same characters in a string. for example "food" would return "oo" and "rttrrrttttoooooo" would return "ooooo". Its feels disgusting when after developing large applications I am struggling on a basic programming question I guess I havent come across these type of problems in recent past.
Can someone help? Also it would be great if someone can point me where I can find more questions like this to practice.