由买买提看人间百态

topics

全部话题 - 话题: revome
(共0页)
p*********b
发帖数: 47
1
来自主题: JobHunting版 - 收到G家拒信,发面经
9,Unix file path化简,写code
例如 /a/./b/../../c/ ,化简为 /c/
用stack或者d-queue,有些细节需要考虑,例如 /..//.. 还是输出 /
这题不需要额外的数据结构,从尾部向前反过来做。
我之前写的代码
/* The algorithm runs in O(n) time and O(n) space
* It works backwards so that no stack or other buffer is
* needed to skip the parents folder if a "../" is encountered.
* "//" is preserved as is, and "/./" is changed to "/
* I was able to do a inplace version, but string cut and cat are
* essentially array element revomal, which will make running time
* O(n^2).
*
* My ... 阅读全帖
S**I
发帖数: 15689
2
来自主题: JobHunting版 - [合集] 收到G家拒信,发面经
☆─────────────────────────────────────☆
recursive (递归) 于 (Mon Apr 11 10:56:49 2011, 美东) 提到:
大半夜收到HR的thank you note。不用管什么NDA了
本人ECE fresh PhD,背景是电路/EDA,跟G业务基本没什么关系
同学内部推荐的,很简单的一次电面就给了onsite
题都不难,但是自己没把握好机会,出了一些小bug。
总的感觉,出错就是硬伤,宁可从最简单的算法写起,也不能出错。
电面:
1,Skip list, http://en.wikipedia.org/wiki/Skip_list
写code实现struct skip_list * find(struct skip_list *head, int value)
2,sorted array with repeated elements
for given element, find out its range.
e.g. A A B B B B B C C D D E F G, given B, the out... 阅读全帖
p****t
发帖数: 5814
3
来自主题: Windows版 - How to revome windows xp's log on window
windows 开机后登陆的问题
原来我的电脑要输入密码才能进入windows xp, 现在我想把登陆要求输入用户名和密码
的界面去掉(就是开机直接能够进入windows xp), 不知如何操作?
B*******e
发帖数: 3882
4
来自主题: Windows版 - How to revome windows xp's log on window
start/run, "Control userpasswords2", then u will see.
p****t
发帖数: 5814
5
来自主题: Windows版 - How to revome windows xp's log on window
thanks
p****t
发帖数: 5814
6
来自主题: Windows版 - How to revome windows xp's log on window
it works, thanks again
(共0页)