摘要:
I user Trie to store the products. For every Trie node, it has the links to the next character and a PriorityQueue. The PriorityQueue is used to store 阅读全文
摘要:
This is a problem which check whether you know how to user Arrays.sort(). Time complexity: O(n*log(n)) Solution 1: Using comparator class Solution { p 阅读全文