Question 1
What is the worst-case time complexity of searching for an element in a singly linked list of size 'n'?
In a singly linked list, elements are not stored contiguously and there is no direct indexing; searching requires traversing up to n nodes sequentially. Even if the target is absent, every node may need to be examined before the search can conclude. The best case is O(1) when the head node matches, but the worst case is O(n).