Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "ListType_Q2.h"
- ListType_Q2::ListType_Q2()
- {
- length = 0;
- }
- //Time complexity : O(1)
- void ListType_Q2::InsertAtLastPosition(ItemType item)
- {
- info[length] = item;
- length++;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement