Q101: The traveling salesman problem involves n cities with paths connecting the cities. The time taken for traversing through all the cities, without knowing in advance the length of a minimum tour, is
(A) O(n)
(B) O(n2)
(C) O(n!)
(D) O(n/2)
(E) O(2n)
Q102: What data structure would you mostly likely see in a non-recursive implementation of a recursive algorithm?
(A) Stack
(B) Linked list
(C) Queue
(D) Trees
Q103: A node in a linked list must contain at least
(A) Three fields
(B) Two fields
(C) Four fields
(D) One field
Q104: The data structure required to evaluate a postfix expression is
(A) Queue
(B) Stack
(C) Array
(D) Linked-list
Q105: The postfix expression AB + CD – * can be evaluated using a