Infosys Interview Question

Design and implement dial history.