G家电面筋# JobHunting - 待字闺中
b*s
1 楼
1st phone:
1. Given two sorted array, return the intersection part.
follow-up: test cases ?
2. Suppose we are building a web browser that tell the user if a URL is
malware. Given a URL and a URL malware list, determine if the URL exists in
the
malware list. 1st follow-up question: what if the malware list is so big (
2GB) that can't
fits in the memory of the user's computer? 2nd follow-up: what if the
malware list is so big (2TB) that have to store on the server-side?
第二题的最后一问各位有什么好的解法?谢谢。
1. Given two sorted array, return the intersection part.
follow-up: test cases ?
2. Suppose we are building a web browser that tell the user if a URL is
malware. Given a URL and a URL malware list, determine if the URL exists in
the
malware list. 1st follow-up question: what if the malware list is so big (
2GB) that can't
fits in the memory of the user's computer? 2nd follow-up: what if the
malware list is so big (2TB) that have to store on the server-side?
第二题的最后一问各位有什么好的解法?谢谢。