The answers l chose was wrong, so if you know the answer pleaseprovide. Thank You!!!
Assuming you have a list that is implemented with linked nodes, what is the worst case complexity of the remove(index) method? O(1) O(n) O(n∧2) O(logn)
Excluding the temp node that points to the object C, how many references have to be changed to remove the node that contains element C ? 1 2 3 4
Select all operations should be considered when evaluating the efficiency of an algorithm. Method calls Assignments Comparisons Math functions Loops None of the above
Given the double-linked list shown, how many pointers are updated if you remove the last item in the list (not including the temp pointer to the element E )?
The answers l chose was wrong, so if you know the answer please provide. Thank You!!!
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
The answers l chose was wrong, so if you know the answer please provide. Thank You!!!
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!