According to Marissa Mayer, who was Google's 20th employee and its first female engineer, the key to success at the search giant was hard work. Specifically, the kind of hard work that required strategically planned trips to the toilet.