Nutanix interview question

Online interview Stack Based Array Question