All Questions
Numbers To Know hard

How much RAM is needed to store 1 Billion 64-bit Integers *naively* in a Java `ArrayList<Long>` (Object overhead)?

  1. A 8 GB
  2. B approximately 32 to 40 GB
  3. C approximately 1 TB
  4. D approximately 100 GB

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions