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.

Answer

Interview Answer

2 Answers

1

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
0

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

    if (len == 0)
    return result;

    stack.push_back(str[0]);
    for (int i = 1; i

Eric on Nov 2, 2012

Add Answers or Comments

To comment on this, Sign In or Sign Up.