All Questions
2 questions
3
votes
3
answers
165
views
Filter out strings that are short or that are outside the alphabet of a language
I wrote this function to remove from the array those words that are less than n values. More precisely, I updated my old function and added some functionality. Since I am a beginner in this ...
0
votes
1
answer
80
views
Interchange all occurrences of a character and its predecessor
Given a string like "abcdbcfbc" , I want all the occurrences of 'b' to be interchanged with their previous character.
The output should be: ...