Upstack interview question

Front-end part ( Observable, with use-case?)