ADP interview question

Convert hashmap to list using java 8