Avati interview question

How to get the record with Max amount using Stream API