1. 2. 3. 4. Heap: array implementation13275648109Is it a good idea to store arbitrary binary trees as arrays? May have many empty spaces! 5. Array implementation1632514The…
* G64ADS Advanced Data Structures Sorting * Insertion sort 1) Initially p = 1 2) Let the first p elements be sorted. 3) Insert the (p+1)th element properly in the list so…
* G64ADS Advanced Data Structures Sorting * Insertion sort 1) Initially p = 1 2) Let the first p elements be sorted. 3) Insert the (p+1)th element properly in the list so…