由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - find sum of three number in array
相关主题
divide array into two, sum of difference is min in O(N)优步面试,哎。。。
求教 合并两数组 并排除重复merge k个数组怎样的方法好?
问一个merge k sorted array的问题问个微软面试题
请问两道题再问一道题
Amazon 面试题一道M$算法题。
CS algorithm question问一道题(5)
一FG家常见题G电面
问个面试题Longest Consecutive Sequence 问题释疑
相关话题的讨论汇总
话题: sum话题: array话题: nlogn话题: find话题: number
进入JobHunting版参与讨论
1 (共1页)
t*****e
发帖数: 53
1
Can we design an algorithm that can find the triplet in an unsorted array (
including both positive and negative numbers) that sum up to a defined
number? Requirement: the runtime should be o(nlogn).
I can think about alot of O(n^2) way. Do you think this problem has a
solution with O(nlogn).
thanks in advance.
1 (共1页)
进入JobHunting版参与讨论
相关主题
Longest Consecutive Sequence 问题释疑Amazon 面试题
fb + google 电面面经CS algorithm question
2SUM, unsorted, print all index including duplicates 能O(nlogn)解决么一FG家常见题
昨天有人讲过的啥de啥的是怎么回事有人知道么问个面试题
divide array into two, sum of difference is min in O(N)优步面试,哎。。。
求教 合并两数组 并排除重复merge k个数组怎样的方法好?
问一个merge k sorted array的问题问个微软面试题
请问两道题再问一道题
相关话题的讨论汇总
话题: sum话题: array话题: nlogn话题: find话题: number