You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#Distinct strings with odd and even changes allowed
#Given an array of lower case strings, the task is to find the number of strings that are distinct. Two strings are distinct if, on applying the following operations on one string, the second string cannot be formed.
#A character on the odd index can be swapped with another character on the odd index only.
#A character on even index can be swapped with another character on even index only.