摘要:
[抄题]: A sentence S is given, composed of words separated by spaces. Each word consists of lowercase and uppercase letters only. We would like to conve 阅读全文
posted @ 2018-04-30 22:39
苗妙苗
阅读(256)
评论(0)
推荐(0)
摘要:
[抄题]: Given a paragraph and a list of banned words, return the most frequent word that is not in the list of banned words. It is guaranteed there is a 阅读全文
posted @ 2018-04-30 17:02
苗妙苗
阅读(230)
评论(0)
推荐(0)
摘要:
[抄题]: Assume you are an awesome parent and want to give your children some cookies. But, you should give each child at most one cookie. Each child i h 阅读全文
posted @ 2018-04-30 15:36
苗妙苗
阅读(148)
评论(0)
推荐(0)
摘要:
[抄题]: Given a binary search tree (BST) with duplicates, find all the mode(s) (the most frequently occurred element) in the given BST. Assume a BST is 阅读全文
posted @ 2018-04-30 10:00
苗妙苗
阅读(150)
评论(0)
推荐(0)