Pregunta de entrevista de ServiceNow

Hackerrank First round - Questions based on Leetcode Medium