Menu

[solved] – Question 91189

Given a list of strings, return the count of the number of
strings where the string length is 2 or more and the first
and last chars of the string are the same.
Word1= [‘aba’, ‘xyz’, ‘aa’, ‘x’, ‘bbb’]
Word2 = [”, ‘x’, ‘xy’, ‘xyx’, ‘xx’]
Word3 = [‘aaa’, ‘be’, ‘abc’, ‘hello’]

Expert Answer


OR


Leave a Reply

Your email address will not be published. Required fields are marked *