4 ms·
Assuming unspecified resources are infinite without confirming? This is not good problem solving. You should not be impressed.
by smackmybishop 14y ago
Assuming unspecified resources are infinite without confirming? This is not good problem solving. You should not be impressed.
- jakejake 14y agoThat's how brain-teaser questions usually stump me - because I impose some limitation that doesn't exist. The question had pretty specific limitations, but the amount of resources wasn't one of them. To me the answer is valid. If the interviewer wanted to see an implementation of a division function they could have just said "please implement a division function"