Gate Data Structure Questions