Write a program that implements the Buddy System algorithm for memory management.
For input the program accepts:
1) the amount of total available memory and
2) the sequence of integers with allocation (+) or return (-) requests.
As output, the program must print the table showing the state of the memory ( after each allocation or return).
Test the program with the following input parameters: Two megabytes of available memory and the following sequence: (A: +20K), (B: +35K), (C: +90K), (D: +40K), (E: +240K), (D: -40K), (A: -20K), (C: -90K), (B: -35K), (E: -240K).
12 фрілансерів(-а) подали заявки на цю роботу; середня заявка - $76
Hello We are highly motivated young technocrats from IIT(ISM) Dhanbad, India. We are approachable, you can come to us if you have a struggle, we are happy to Team TiponTongue IIT(ISM) Dhanbad, India
I am interested in this job. I am experienced programmer with high C++ skills. You can read more about me on http://krystiand.net/ or check my GitHub projects: https://github.com/KrystianD