Faced with a historic housing crisis fuelled by decades of under-investment in new homes, New Yorkers cast their ballots Tuesday in a mayoral race that has seen democratic socialist Zohran Mamdani surge ahead to seize the lead on a platform of rent freezes and tripling state investment in subsidised housing.