Given two strings string1 and string2 of equal length, and an integer k, check if string1 can be converted to string2 by shifting characters using each integer i from 1 to k exactly once.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.