ServiceNow interview question

Computer Science concepts and some problem solving