Apple interview question

How to save to memory without holes