Varonis Systems Interview Question

Was a technical code question which I was given an option to write in the language i feel comfort with. something basic about structures