摘要: 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 define 阅读全文
posted @ 2019-11-28 09:49 Schwifty 阅读(143) 评论(0) 推荐(0)
摘要: Given a List of words, return the words that can be typed using letters of alphabet on only one row's of American keyboard like the image below. Examp 阅读全文
posted @ 2019-11-28 09:41 Schwifty 阅读(99) 评论(0) 推荐(0)
摘要: Given an array of strings products and a string searchWord. We want to design a system that suggests at most three product names from products after e 阅读全文
posted @ 2019-11-28 07:29 Schwifty 阅读(295) 评论(0) 推荐(0)