摘要: 1333. Filter Restaurants by Vegan-Friendly, Price and Distance 这道题做的过程中,由于语法不熟悉,花费了大量时间,需要掌握comparator自定义写法。 本题可以 1.用HashMap来存过滤后的数据,然后用自定义的比较器,在list中 阅读全文
posted @ 2020-05-31 21:09 yawenw 阅读(948) 评论(0) 推荐(0) 编辑