Software Intern Interview Questions

17,717 software 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 1341 - 1350 interview questions

Glassdoor has 17,717 interview questions and reports from Software intern interviews. Prepare for your interview. Get hired. Love your job.