Q.
Assume there is a free list which contains nodes and is filled with a value if it is already assigned and the value will be the size of requested block else will be 0.
z = startpoint;
while ((z < end) && \\ didn't reach end
(*z <= len)) \\ too small to satisfy request
{
assign this block
}The below code represents what ?
Similar Questions
1.
In linked lists there are no NULL links in
2. Can we read a data item at any location of a list within a constant time (i.e.
O(1))?
3. node.next -> node.next.next; will make
4. A circular linked list can be used for
5. In doubly linked lists
6. The advantage of …………….. is that they solve the problem if sequential storage representation. But disadvantage in that is they are sequential lists.
7. There is an extra element at the head of the list called a ……….
8. Each node in a linked list has two pairs of ………….. and ……………….
9. The disadvantage in using a circular linked list is …………………….
10. A linear list in which each node has pointers to point to the predecessor and successors nodes is called as
DATA STRUCTURE TOPICS