Given a string S consisting of N lowercase characters and character ‘?’ and a positive integer K, the task is to replace each character ‘?’… Read More
The post Lexicographically smallest string with period K possible by replacing ‘?’s from a given string appeared first on GeeksforGeeks.