The son of a Ugandan academic of Indian origins and an Indian-American filmmaker, Mamdani was born and spent several years as a child in Uganda's capital Kampala.