Avati Interview Question

How to get the record with Max amount using Stream API