Your Command [i d p f g s]? Here is the Record Pool: Record Memory Pool Content: Memory: [ 0]: Record( 0): Key= 0 Next= 0 MM=Free Memory: [ 3]: Record( 1): Key=3605112 Next=3608664 MM=Free Memory: [ 6]: Record( 2): Key= 56 Next=1244894 MM=Free Memory: [ 9]: Record( 3): Key=3605312 Next= 56 MM=Free Memory: [12]: Record( 4): Key=3608472 Next=3604480 MM=Free Memory: [15]: Record( 5): Key=33554433 Next=1244836 MM=Free Memory: [18]: Record( 6): Key=2012665312 Next= -1 MM=Free Memory: [21]: Record( 7): Key=4247602 Next=3604480 MM=Free Memory: [24]: Record( 8): Key= 48 Next= 31 MM=Free Memory: [27]: Record( 9): Key= 33 Next=4239569 MM=Free Your Command [i d p f g s]? After: 0 Operations: content of myList-List: Head(-1) Your Command [i d p f g s]? Please enter integers to be inserted (-1 to stop) Your Command [i d p f g s]? After: 7 Operations: content of myList-List: Head(18) RecordAdddress(18) Key=( 5000) NextRecordAddress= 15 RecordAdddress(15) Key=( 3000) NextRecordAddress= 12 RecordAdddress(12) Key=( 7000) NextRecordAddress= 9 RecordAdddress( 9) Key=( 9000) NextRecordAddress= 6 RecordAdddress( 6) Key=( 6000) NextRecordAddress= 3 RecordAdddress( 3) Key=( 4000) NextRecordAddress= 0 RecordAdddress( 0) Key=( 8000) NextRecordAddress= -1 Your Command [i d p f g s]? Here is the Record Pool: Record Memory Pool Content: Memory: [ 0]: Record( 0): Key= 8000 Next= -1 MM=InUse Memory: [ 3]: Record( 1): Key= 4000 Next= 0 MM=InUse Memory: [ 6]: Record( 2): Key= 6000 Next= 3 MM=InUse Memory: [ 9]: Record( 3): Key= 9000 Next= 6 MM=InUse Memory: [12]: Record( 4): Key= 7000 Next= 9 MM=InUse Memory: [15]: Record( 5): Key= 3000 Next= 12 MM=InUse Memory: [18]: Record( 6): Key= 5000 Next= 15 MM=InUse Memory: [21]: Record( 7): Key=4247602 Next=3604480 MM=Free Memory: [24]: Record( 8): Key= 48 Next= 31 MM=Free Memory: [27]: Record( 9): Key= 33 Next=4239569 MM=Free Your Command [i d p f g s]? Please enter the key to delete: Deleted Key(8000) Your Command [i d p f g s]? Please enter the key to delete: Deleted Key(5000) Your Command [i d p f g s]? Please enter the key to delete: Deleted Key(9000) Your Command [i d p f g s]? After: 10 Operations: content of myList-List: Head(15) RecordAdddress(15) Key=( 3000) NextRecordAddress= 12 RecordAdddress(12) Key=( 7000) NextRecordAddress= 6 RecordAdddress( 6) Key=( 6000) NextRecordAddress= 3 RecordAdddress( 3) Key=( 4000) NextRecordAddress= -1 Your Command [i d p f g s]? Here is the Record Pool: Record Memory Pool Content: Memory: [ 0]: Record( 0): Key= 8000 Next= -1 MM=InUse Memory: [ 3]: Record( 1): Key= 4000 Next= -1 MM=InUse Memory: [ 6]: Record( 2): Key= 6000 Next= 3 MM=InUse Memory: [ 9]: Record( 3): Key= 9000 Next= 6 MM=InUse Memory: [12]: Record( 4): Key= 7000 Next= 6 MM=InUse Memory: [15]: Record( 5): Key= 3000 Next= 12 MM=InUse Memory: [18]: Record( 6): Key= 5000 Next= 15 MM=InUse Memory: [21]: Record( 7): Key=4247602 Next=3604480 MM=Free Memory: [24]: Record( 8): Key= 48 Next= 31 MM=Free Memory: [27]: Record( 9): Key= 33 Next=4239569 MM=Free Your Command [i d p f g s]? Forcing a garbage collection! Your Command [i d p f g s]? Here is the Record Pool: Record Memory Pool Content: Memory: [ 0]: Record( 0): Key= 8000 Next= -1 MM=Free Memory: [ 3]: Record( 1): Key= 4000 Next= -1 MM=InUse Memory: [ 6]: Record( 2): Key= 6000 Next= 3 MM=InUse Memory: [ 9]: Record( 3): Key= 9000 Next= 6 MM=Free Memory: [12]: Record( 4): Key= 7000 Next= 6 MM=InUse Memory: [15]: Record( 5): Key= 3000 Next= 12 MM=InUse Memory: [18]: Record( 6): Key= 5000 Next= 15 MM=Free Memory: [21]: Record( 7): Key=4247602 Next=3604480 MM=Free Memory: [24]: Record( 8): Key= 48 Next= 31 MM=Free Memory: [27]: Record( 9): Key= 33 Next=4239569 MM=Free Your Command [i d p f g s]? Sorting of list based on id-field After: 10 Operations: content of myList (after sorting)-List: Head(15) RecordAdddress(15) Key=( 3000) NextRecordAddress= 3 RecordAdddress( 3) Key=( 4000) NextRecordAddress= 6 RecordAdddress( 6) Key=( 6000) NextRecordAddress= 12 RecordAdddress(12) Key=( 7000) NextRecordAddress= -1 Your Command [i d p f g s]? After: 10 Operations: content of myList-List: Head(15) RecordAdddress(15) Key=( 3000) NextRecordAddress= 3 RecordAdddress( 3) Key=( 4000) NextRecordAddress= 6 RecordAdddress( 6) Key=( 6000) NextRecordAddress= 12 RecordAdddress(12) Key=( 7000) NextRecordAddress= -1 Your Command [i d p f g s]? Please enter the key to delete: Input: [2000] is not in the list! Your Command [i d p f g s]? Please enter integers to be inserted (-1 to stop) Your Command [i d p f g s]? After: 12 Operations: content of myList-List: Head(0) RecordAdddress( 0) Key=( 2000) NextRecordAddress= 15 RecordAdddress(15) Key=( 3000) NextRecordAddress= 3 RecordAdddress( 3) Key=( 4000) NextRecordAddress= 6 RecordAdddress( 6) Key=( 6000) NextRecordAddress= 12 RecordAdddress(12) Key=( 7000) NextRecordAddress= -1 Your Command [i d p f g s]? Here is the Record Pool: Record Memory Pool Content: Memory: [ 0]: Record( 0): Key= 2000 Next= 15 MM=InUse Memory: [ 3]: Record( 1): Key= 4000 Next= 6 MM=InUse Memory: [ 6]: Record( 2): Key= 6000 Next= 12 MM=InUse Memory: [ 9]: Record( 3): Key= 9000 Next= 6 MM=Free Memory: [12]: Record( 4): Key= 7000 Next= -1 MM=InUse Memory: [15]: Record( 5): Key= 3000 Next= 3 MM=InUse Memory: [18]: Record( 6): Key= 5000 Next= 15 MM=Free Memory: [21]: Record( 7): Key=4247602 Next=3604480 MM=Free Memory: [24]: Record( 8): Key= 48 Next= 31 MM=Free Memory: [27]: Record( 9): Key= 33 Next=4239569 MM=Free Your Command [i d p f g s]? Forcing a garbage collection! Your Command [i d p f g s]? Sorting of list based on id-field After: 12 Operations: content of myList (after sorting)-List: Head(0) RecordAdddress( 0) Key=( 2000) NextRecordAddress= 15 RecordAdddress(15) Key=( 3000) NextRecordAddress= 3 RecordAdddress( 3) Key=( 4000) NextRecordAddress= 6 RecordAdddress( 6) Key=( 6000) NextRecordAddress= 12 RecordAdddress(12) Key=( 7000) NextRecordAddress= -1 Your Command [i d p f g s]?