Agreed - that's why the correct response is to look for more details. My point is just that if you have no choice but to make an assumption, then when asked for an integer square root on an embedded system, you should look for an integer-only solution. The best integer-only solution, of course, depends entirely on the other constraints you don't know. In a good interview situation, this would lead to the candidate demonstrating a knowledge of what might be important in an embedded system, rather than any integer square root algorithm.