Q1) Express given five loosely described problems carefully in { Instance, Question } form as utilized in "Computers and Intractability". For each problem discuss the best time and space complexity you are aware of for solving the problem (from scratch) along with a few words naming or describing the method.
(i) Determine the median of n = 2 k + 1 integers.
(ii) Determine the 2 largest and 2 smallest of n integers.
(iii) Determine that a graph is not a forest (not acyclic).
(iv) Determine that a list of n numbers has no duplicates.
(v) Determine that maximum number of edge disjoint paths between vertices v and w in a graph is less than k.