Capital Numbers interview question

questions on RxJs, 2 3 questions from RxJs.