摘要:
题目:There are a total ofncourses you have to take, labeled from0ton - 1.Some courses may have prerequisites, for example to take course 0 you have to f... 阅读全文
摘要:
题目:Given an array ofnpositive integers and a positive integers, find the minimal length of a subarray of which the sum ≥s. If there isn't one, return ... 阅读全文
摘要:
题目:Given two stringssandt, determine if they are isomorphic.Two strings are isomorphic if the characters inscan be replaced to gett.All occurrences of... 阅读全文
摘要:
题目:Implement a trie withinsert,search, andstartsWithmethods.// Your Trie object will be instantiated and called as such:// Trie trie = new Trie();// t... 阅读全文