You'll see certain powers of again and again in programming. Memorize these:
, , , , , .
Why do these matter? is the max signed -bit integer. is the max signed -bit integer. When a problem says , you know it fits in bits. When , you need bits.
Also useful: . This shortcut converts between powers of and powers of quickly.