Enova interview question

write code