A trainee doctor allegedly died by suicide by jumping from the 21st floor of a building in Uttar Pradesh's Greater Noida.