Write a program that simulates the heap using a linked list


This program is in C++

Write a program that simulates the "heap" using a linked list. This program should start off by taking one node of size 9096 KB. You can assume that all request to the heap are in KB.

The user should request a size of memory from the system, then the system should find memory that can be allocated based on the user's request. If memory cannot be allocated based on user's request, send the appropriate message. Memory should be returned back to teh system after it is freed.

Things to remember, you should write a user interface that has menu commands to request memory, free memory and display used memory.

Request for Solution File

Ask an Expert for Answer!!
Data Structure & Algorithms: Write a program that simulates the heap using a linked list
Reference No:- TGS02899736

Expected delivery within 24 Hours