ServiceNow interview question

DS and Algorithms