question about linked list
-
hi to all! would like to ask.. can priority be implemented using linked list? if yes, can you please show me how? thanks a lot! newbie :)
Yea It can be. The main logic change will be while "Inserting" a new item. While Inserting a new "Item" of say "n" priority you have to check that it should be inserted at last item of the same priority but before a low priority item.
Manoj Never Give up
-
hi to all! would like to ask.. can priority be implemented using linked list? if yes, can you please show me how? thanks a lot! newbie :)
-
Yea It can be. The main logic change will be while "Inserting" a new item. While Inserting a new "Item" of say "n" priority you have to check that it should be inserted at last item of the same priority but before a low priority item.
Manoj Never Give up