Ultra Mobile Interview Question

Question about processing events and data structures. Optimizing the event handler to use less and less memory.