embedUR systems interview question

2. Pattern program