1.

Which of the following is a sub string of “SANFOUNDRY”?(a) SANO(b) FOUND(c) SAND(d) FONDThe question was posed to me in an online quiz.The doubt is from Searching topic in division Searching of Data Structures & Algorithms II

Answer»

Correct OPTION is (b) FOUND

Explanation: A sub string is a subset of another string. So “FOUND” is the only POSSIBLE sub string out of the given OPTIONS.



Discussion

No Comment Found

Related InterviewSolutions