For the given conditions, which of the following is in the correct order of increasing space requirement?
i. Undirected, no weight
ii. Directed, no weight
iii. Directed, weighted
iv. Undirected, weighted
A. ii, iii, I, iv
B. I, iii, ii, iv
C. iv, iii, I, ii
D. I, ii, iii, iv
Answer: Option A

Join The Discussion