Software Engineer Summer Intern Interview Questions

12,238 software engineer summer 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 821 - 830 interview questions

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