Redian新闻
>
outlook当机也太频繁了吧
avatar
outlook当机也太频繁了吧# PDA - 掌中宝
j*2
1
1. You are given the source to a application which is crashing when run.
After running it 10 times in a debugger, you find it never crashes in the
same place. The application is single threaded, and uses only the C standard
library. What programming errors could be causing this crash? How would you
test each one?
有人说
* time related events
* un-intialized memory, or array index overflow? or invalid pointer.
However, I can see those will lead to random crashes (i.e., sometimes it
crashes), but how can they lead to crashes at random places?
2. How to add a counter to www.google.com to track the billionth user.
望指教
avatar
j*o
2
今天又一次
avatar
g*e
3
Q1. 每次得到的mem的addr可以不一样。还可以是访问register或者其他硬件相关信息
,不只timer
Q2. 这个写过web app应该都知道,在server side不能存太多东西,server会崩溃的;
简单地存basic user info。主要实在你的browser的cookie上存东西,track visiting
history等。实际上不管是google还是bing都会上传一些user behavior data,但都是
匿名的,否则法律麻烦大了

standard
you

【在 j********2 的大作中提到】
: 1. You are given the source to a application which is crashing when run.
: After running it 10 times in a debugger, you find it never crashes in the
: same place. The application is single threaded, and uses only the C standard
: library. What programming errors could be causing this crash? How would you
: test each one?
: 有人说
: * time related events
: * un-intialized memory, or array index overflow? or invalid pointer.
: However, I can see those will lead to random crashes (i.e., sometimes it
: crashes), but how can they lead to crashes at random places?

avatar
k*h
4
我发现老邮箱就完全没问题。新注册的邮箱我已经遇到2次了。
可能新注册的邮箱用的新服务器,还不够稳定
avatar
c*t
5
ding

standard
you

【在 j********2 的大作中提到】
: 1. You are given the source to a application which is crashing when run.
: After running it 10 times in a debugger, you find it never crashes in the
: same place. The application is single threaded, and uses only the C standard
: library. What programming errors could be causing this crash? How would you
: test each one?
: 有人说
: * time related events
: * un-intialized memory, or array index overflow? or invalid pointer.
: However, I can see those will lead to random crashes (i.e., sometimes it
: crashes), but how can they lead to crashes at random places?

avatar
l*l
6
my two hotmail acounts (created back to 1997) dont' work...
avatar
H*s
7
也许有多个 uninitialized variable 造成的random failure.

standard
you

【在 j********2 的大作中提到】
: 1. You are given the source to a application which is crashing when run.
: After running it 10 times in a debugger, you find it never crashes in the
: same place. The application is single threaded, and uses only the C standard
: library. What programming errors could be causing this crash? How would you
: test each one?
: 有人说
: * time related events
: * un-intialized memory, or array index overflow? or invalid pointer.
: However, I can see those will lead to random crashes (i.e., sometimes it
: crashes), but how can they lead to crashes at random places?

avatar
b*c
8
我跟你正好相反。
新注册的@outlook的完全没有问题。一个n年前就注册的现在进不去了。

【在 k*h 的大作中提到】
: 我发现老邮箱就完全没问题。新注册的邮箱我已经遇到2次了。
: 可能新注册的邮箱用的新服务器,还不够稳定

avatar
g*e
9
1. compiling arguments
2. 跟getUniqueID类似,每个新用户获取一个unique ID。n台机器每个step 1..n,第
1B个用户一定在 1b % n那台机器上

standard
you

【在 j********2 的大作中提到】
: 1. You are given the source to a application which is crashing when run.
: After running it 10 times in a debugger, you find it never crashes in the
: same place. The application is single threaded, and uses only the C standard
: library. What programming errors could be causing this crash? How would you
: test each one?
: 有人说
: * time related events
: * un-intialized memory, or array index overflow? or invalid pointer.
: However, I can see those will lead to random crashes (i.e., sometimes it
: crashes), but how can they lead to crashes at random places?

avatar
h*k
10
2.没有考虑多个用户共享一台机器或者一个用户用多台机器访问
首先要和面试官确定怎么定义用户,这个用户是指unique user还是包括returning
user
个人感觉这道题在问你多个服务器如何同时写一个变量,如果用lock的话,速度太慢。

【在 g**e 的大作中提到】
: 1. compiling arguments
: 2. 跟getUniqueID类似,每个新用户获取一个unique ID。n台机器每个step 1..n,第
: 1B个用户一定在 1b % n那台机器上
:
: standard
: you

avatar
s*k
11
最简单的程序中引入了random variable,比如timer,比如backoff?或者memory地址
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。