Computer Science, asked by harinirajendran1980, 1 month ago

Example-1
input1:3
input2: {"oreo","sirish","apple"}
output: oreoapple
Example - 2
input1: 2
input2: {"Mango", "banana")
output: no matches found
Explanation: None of the strings has first and last
character as vowel.
Hence the output is no matches found.
Example -3
input1:3
input2:{"Ate","Ace","Girl"}
output:ateace​

Answers

Answered by saijignesh
0

Answer:

input1:3 input2: ["oreo", "sirish", "apple") output: oreoapple. Example - 2 input1:2 input2: " Mango" "banana") output: no matches found. Explanation: None of the strings has first and last character as vowel ...hope u like it!

Similar questions