R Systems Interview Question

nothing is diffficult