Optym Interview Question

Two questions are about spanning tree.