EPAM Systems Interview Question

Asked about a coding question related to linked lisg