Allscripts Interview Question

OOPS in advance.