由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 再来问题
相关主题
请教一个面试题一个NxN矩阵每行每列都sort好,如何排序?
问道题一个特别的inplace merge two sorted arrays
刚完的amazon电话面试问个经典问题的improvement
urgent help: What does this line of bash script do?一个小公司面经
amazon phone interview请教bloomberg 问题, 有关sorting
二分查找真的不容易写对anybody remember this question?? (about sorting)
array a1,a2,... ,an, b1,b2,..., bn算法问题,m*m matrix
A家面试题有A[i]
相关话题的讨论汇总
话题: sorted话题: phone话题: files话题: repeating话题: number
进入JobHunting版参与讨论
1 (共1页)
P*******b
发帖数: 1001
1
Suppose I have 2 files having phone numbers, find the repeating phone number
s. (I said sort and grep). Then he asked what if the lines cannot be sorted.
I**A
发帖数: 2345
2
repeating phone numbers between two files?
how large are the files? can one of them fit into the available memory?
if so, are we allowed use hashtable?
if not,use bitmap?

number
sorted.

【在 P*******b 的大作中提到】
: Suppose I have 2 files having phone numbers, find the repeating phone number
: s. (I said sort and grep). Then he asked what if the lines cannot be sorted.

s*********t
发帖数: 1663
3
hashtable

number
sorted.

【在 P*******b 的大作中提到】
: Suppose I have 2 files having phone numbers, find the repeating phone number
: s. (I said sort and grep). Then he asked what if the lines cannot be sorted.

l****5
发帖数: 95
4
我觉得是用hash table的思想,这个在programming pearl中好像提到。排序非常没必
要,而且你拍完序剩下的工作也很麻烦。
s*********t
发帖数: 1663
5
我感觉实际应用中这些电话本都是有序的

【在 l****5 的大作中提到】
: 我觉得是用hash table的思想,这个在programming pearl中好像提到。排序非常没必
: 要,而且你拍完序剩下的工作也很麻烦。

1 (共1页)
进入JobHunting版参与讨论
相关主题
有A[i]amazon phone interview
[算法] unsorted array二分查找真的不容易写对
c/c++ qsort/sort 来 sort array of stringarray a1,a2,... ,an, b1,b2,..., bn
电面了个公司,感觉很不好A家面试题
请教一个面试题一个NxN矩阵每行每列都sort好,如何排序?
问道题一个特别的inplace merge two sorted arrays
刚完的amazon电话面试问个经典问题的improvement
urgent help: What does this line of bash script do?一个小公司面经
相关话题的讨论汇总
话题: sorted话题: phone话题: files话题: repeating话题: number