Sopra Steria interview question

oops concepts