Given a string S of length N consisting of digits and an integer K, Reduce the string by performing the following operation till the length… Read More
The post Reduce string by performing repeated digit sum in group of K appeared first on GeeksforGeeks.