由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - one alg from amazon
相关主题
问10个老题一道C/C++的面试题
请教几个电面题一道面试题
请教一道题:Remove adjacent duplicate char recursively fro请教一个C++的题目,谢谢
问一道Career Cup里面的题问一道关于字符串的面试题
leetcode: Remove Duplicates from Sorted Array问一道面世题
面试题求解:remove first duplicate number from an array问个题: 找read-only array中duplicate的数
一个教训提醒大家一下问个构造函数的问题
find first nonduplicate unicode questions问一个构建二叉树的问题
相关话题的讨论汇总
话题: alg话题: duplicates话题: remove话题: amazon话题: large
进入JobHunting版参与讨论
1 (共1页)
b********e
发帖数: 693
1
You are a given a very large line delimited file. With a phone number on
each line. How would you remove all duplicates?
1. Can you remove duplicates in less than O (n)?
2. How about the file is too large, out of memory limit?
g*******y
发帖数: 2114
2
第一个咋做到 第二个可以用bit array吧

【在 b********e 的大作中提到】
: You are a given a very large line delimited file. With a phone number on
: each line. How would you remove all duplicates?
: 1. Can you remove duplicates in less than O (n)?
: 2. How about the file is too large, out of memory limit?

b********e
发帖数: 693
3
I don't know how to do it:(

【在 g*******y 的大作中提到】
: 第一个咋做到 : 第二个可以用bit array吧
j*******a
发帖数: 61
4
For the first question, I guess the interviewer want to get a firm answer
of "no, it is impossible!". :)

【在 b********e 的大作中提到】
: I don't know how to do it:(
1 (共1页)
进入JobHunting版参与讨论
相关主题
问一个构建二叉树的问题leetcode: Remove Duplicates from Sorted Array
弱问,BST到底能不能有重复值?面试题求解:remove first duplicate number from an array
为什么加个结束符leetcode就run time error呢?一个教训提醒大家一下
问一个search in rotated array的问题find first nonduplicate unicode questions
问10个老题一道C/C++的面试题
请教几个电面题一道面试题
请教一道题:Remove adjacent duplicate char recursively fro请教一个C++的题目,谢谢
问一道Career Cup里面的题问一道关于字符串的面试题
相关话题的讨论汇总
话题: alg话题: duplicates话题: remove话题: amazon话题: large