Microsoft Interview Question: finad all plaindromes ina str... | Glassdoor

Interview Question

Senior Software Development Engineer In Test (SDET) Interview Seattle, WA

finad all plaindromes ina string.


Interview Answer

2 Answers


i couldn't really come up with decent code for this, and i think this was the turning point in the interview which otherwise was going alright.

Interview Candidate on Aug 14, 2012

vector findAllPalindrome ( string str)
    vector stack;
    vector result;
    string buff = "";
    int len = str.length();

    if (len == 0)
    return result;

    for (int i = 1; i

Eric on Nov 2, 2012

Add Answers or Comments

To comment on this, Sign In or Sign Up.