摘要:
Given an integer array, find three numbers whose product is maximum and output the maximum product.Example 1:Input: [1,2,3] Output: 6 Example 2:Input: [1,2,3,4] Output: 24 Note:The length of the given... 阅读全文
posted @ 2017-06-25 21:40
xiejunzhao
阅读(241)
评论(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 defined as follows:The left subtree of a node contains on... 阅读全文
posted @ 2017-06-25 16:35
xiejunzhao
阅读(706)
评论(0)
推荐(0)

浙公网安备 33010602011771号