Nutanix interview question

Min Stack implementaion with O1