Find the smallest window that contains all characters of string itself

1 min read

https://practice.geeksforgeeks.org/problems/smallest-distant-window/0

Program to generate all possible valid IP addresses from given string
Rearrange characters in a string such that no two adjacent are same