Avature interview question

Average programming challenge in an online platform.