Design Cancellable Function - DSA Problem | Talentd