Software Engineer Intern Interview Questions

9,750 software engineer intern 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 681 - 690 interview questions

Glassdoor has 9,750 interview questions and reports from Software engineer intern interviews. Prepare for your interview. Get hired. Love your job.