Syncfusion Interview Question

Basic programming question quite logic thinking needed