SciChart Interview Question

Coding challenge ( easy )