ABC interview question

generic question related to previous work