Yatra.com Interview Experience | Set 7

Question 1
Given a list of strings, where each string is composed of different combinations of (, ), {, }, [, ]. Verify the validity of the arrangement. ()[]{} Is valid, ())({} is not valid.

Question 2
Given two strings return the value of least number of manipulations needed to ensure both strings have identical characters. For input aab aba it’s 0, for input abc cdd it is 2

Question 3
Given a string return all possible subsequences which start with vowel and end with consonant.

For input abc – ab, ac, abc
For input aab – ab, aab

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

Write your Interview Experience or mail it to contribute@geeksforgeeks.org

My Personal Notes arrow_drop_up

Recommended Posts: