Blogger

Delete comment from: Javarevisited

Anonymous said...

hI I'm james, please answer my question


write pseudo code to print the words followed by vowels(a,e,i,o,u) in the word, only if the word have 't' occurring in them?


1example:all the best

output: the(1)

best(1)

2example: touch the thunder

output: touch(2)

the(1)

thunder(2)

3example: all is well

output: (0)


it must contain 't' with vowels in word. even it contain vowels if 't' not there i won't consider.

please tell me answer in c,java and beanshell

Dec 11, 2019, 5:40:09 AM


Posted to Top 20 String Algorithm Questions from Coding Interviews

Google apps
Main menu