Tera Software interview question

Normal question and project background