The defence college building in Uttarakhand's Maldevta collapsed on Monday as torrential rains pounded the state, flooding major rivers and their tributaries and causing landslides along the national highways to Badrinath, Kedarnath and Gangotri shrines, officials said.