ML

ML ML

Niner since 2004

System Developer in the financial risk industry. Used to do consulting and training(MCT). Now days I work for a small specialized financial company (having fun). You could call me a geek, but then again, I’m proud :-)

Comments

  • Gary Daniels and Evan Goldring - Mock whiteboard problem

    I think this one is a good candidate (threats space as an ordinary char). Feel free to use it Wink


    public static bool IsPalindrome(string s)
    {
        if(null == s)
            return false;

        for(int f=0, b = s.Length - 1; f < b; f++, b--)
        {
            if(s[f] != s[b])
                return false;
        }
        return true;
    }

    Cheers Martin, with a phone number in palindrome...cool huh?