Powers of two
You need to know the powers of two like the back of your hand.
The most imporant one that people test on are
2^10. Its generally safe to assume
1000 (instead of exact
- You will be asked to use it for stuff like
log2 (n). A thousand is
10a million is
20a billion is
- You will use it to get KB (
/1000) MB (
Note KB/MB/GB/TB are used for bytes. Its best to stick with this for napkin discussions.