Convert Callback Based Function to Promise Based Function - DSA Problem | Talentd