摘要:
题目: This is a follow up of Shortest Word Distance. The only difference is now you are given the list of words and your method will be called repeatedl 阅读全文
摘要:
题目: Given a list of words and two words word1 and word2, return the shortest distance between these two words in the list. For example,Assume that wor 阅读全文
摘要:
题目: Given two strings s and t, write a function to determine if t is an anagram of s. For example,s = "anagram", t = "nagaram", return true.s = "rat", 阅读全文
摘要:
题目: Given a string of numbers and operators, return all possible results from computing all the different possible ways to group numbers and operators 阅读全文