0 0 votes What is the worst-case time complexity to search for an element in a Singly Linked List of $n$ elements if the list is already sorted?$O(n)$ $O(\log n)$ $O(n \log n)$ $O(1)$ Programming in Python goclasses python-&-dsa goclasses-da-dpp goclasses-da-dpp-day-101 goclasses-python-&-dsa-practice-questions + – GO Classes 152 views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
1 1 vote In a singly linkedlist, random access is not possible That's why worst case searching leads to $O(n)$ GO Classes answered Feb 10 GO Classes comment Share Follow 0 reply Please log in or register to add a comment.