Heaps Basic Idea Heaps:Storage Q-1:Why do we implement a heap with an array? 16 10 122345678910 1614108793241] (a)】 (b) 口卡+①,2生Q0 MA Jun (Institute of Computer Software) Problem Solving May7.20204/29. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Heaps Basic Idea Heaps: Storage Q-1: Why do we implement a heap with an array? Easy to index Save memory Better cache locality MA Jun (Institute of Computer Software) Problem Solving May 7, 2020 4 / 29