MCQOPTIONS
Saved Bookmarks
| 1. |
Consider the Singly linked list having n elements. What will be the time taken to add an node at the end of linked list if Pointer is initially pointing to first node of the list. |
| A. | O(1) |
| B. | O(n-1) |
| C. | O(n) |
| D. | O(n^2) |
| Answer» C. O(n) | |