SendMe Mobile
4.0 of 5 7 reviews San Francisco, CA 50 to 149 Employees

SendMe Mobile Software Engineer Interview Question

I interviewed in San Francisco, CA and was asked:
"rewrite the get() method so it does not use an if statement. abstract class <T> { private bool computed; private T value; abstract T get() { if (!computed) { value = computed(); computed = true; } return value; } abstract public T computed(); }"
Add Tags [?]
Answer Flag Question

Part of a Software Engineer Interview Review - one of 3 SendMe Mobile Interview Reviews

To comment on this question, Sign In with Facebook or Sign Up

Tags are like keywords that help categorize interview questions that have something in common.

Glassdoor is your free inside look at SendMe Mobile interview questions and advice. All interview reviews posted anonymously by SendMe Mobile employees and interview candidates.