摘要:
题目描述 Given an array of n positive integers and a positive integer s, find the minimal length of a contiguous subarray of which the sum ≥ s. If there i 阅读全文
摘要:
题目描述 Implement a trie with insert, search, and startsWith methods. 题目大意 实现对一棵树的插入、搜索以及前序查找操作。 (树的每个节点代表一个小写字母,从根节点到叶节点代表一个完整的单词) 示例 E Trie trie = new 阅读全文