DIY: Reorganizing a String
Problem statement
In this challenge, you will be given a string as input. Your task is to check whether the letters in this string can be reorganized such that the adjacent letters are not ...
Create a free account to view this lesson.
By signing up, you agree to Educative's Terms of Service and Privacy Policy