Intern Engineer Interview Questions

15,346 intern engineer interview questions shared by candidates

Given a string and a pattern consisting of 'a's and 'b's check whether the string follows the pattern. Example: the string "catcatdogcatcat" follows the pattern "aabaa" bu substiting "a" as "cat" and "b' as "dog". Whereas the string "catdogcatcat" does not follow the pattern "aabaa" regardless of what is substituted for "a" and "b".
avatar

Software Engineer Intern

Interviewed at Microsoft

4
Dec 14, 2020

Given a string and a pattern consisting of 'a's and 'b's check whether the string follows the pattern. Example: the string "catcatdogcatcat" follows the pattern "aabaa" bu substiting "a" as "cat" and "b' as "dog". Whereas the string "catdogcatcat" does not follow the pattern "aabaa" regardless of what is substituted for "a" and "b".

Viewing 1061 - 1070 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 15,346 interview questions and reports from Intern engineer interviews. Prepare for your interview. Get hired. Love your job.