Space complexity explination

i didn’t understand space complexity explination for dynamic array allocation in while loop in webinar of 28 feb