You are viewing a single comment's thread. Return to all comments →
Yes, this should be O(1). She didn't take it constant. The given question has provided a constant max size of 100 for the linked list.
Seems like cookies are disabled on this browser, please enable them to open this website
Cycle Detection
You are viewing a single comment's thread. Return to all comments →
Yes, this should be O(1). She didn't take it constant. The given question has provided a constant max size of 100 for the linked list.