ABM Knowledgeware interview question

simple