ServiceNow Interview Question

Basic coding and algorithms