Nutanix Interview Question

class implementation for a custom array iterator.