Texas Instruments Interview Question

About graphs, min heaps and basic c++ questions