Backbase interview question

_ Explain your code and why you chose to implement it this way? _ RXJS based questions.