PwC interview question

Difference between RxJava's flatmap & map