由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 一道题
相关主题
phone interviewA classic interview question
问个Unix的问题看一道面试题
Linux 面试题目(付答案)收集分享怀疑我opt 申请上的姓和名颠倒了,,怎么查啊?
分享T家电面经再讨论一个面试难题
{0xFACEB00C>>2 in decimal}@fb.com到底是啥?请教一个数论的问题
[合集] capital one 居然说不给办H-1B了yahoo面试题
Google电话面试题目题目来啦
报个微软的Offer再来题目
相关话题的讨论汇总
话题: dir4话题: dir3话题: dir1话题: given话题: means
进入JobHunting版参与讨论
1 (共1页)
d********e
发帖数: 132
1
在网上看到这个题:
given a path like: dir1/dir2/../dir3/./dir4, where ‘..’ means parent
directory and ‘.’ Means current directory, condense the given path. For
example, for the given string, the result should be: dir1/dir3/dir4
这道题是编程题还是用UNIX 命令?
h********0
发帖数: 440
2
你可以都try一下。。。
In fact, this question was asked by Microsoft as coding questions.
May I know where you found this question (can you give me a link?)

【在 d********e 的大作中提到】
: 在网上看到这个题:
: given a path like: dir1/dir2/../dir3/./dir4, where ‘..’ means parent
: directory and ‘.’ Means current directory, condense the given path. For
: example, for the given string, the result should be: dir1/dir3/dir4
: 这道题是编程题还是用UNIX 命令?

B*****t
发帖数: 335
3
估计是编程题, use stack

【在 d********e 的大作中提到】
: 在网上看到这个题:
: given a path like: dir1/dir2/../dir3/./dir4, where ‘..’ means parent
: directory and ‘.’ Means current directory, condense the given path. For
: example, for the given string, the result should be: dir1/dir3/dir4
: 这道题是编程题还是用UNIX 命令?

1 (共1页)
进入JobHunting版参与讨论
相关主题
再来题目{0xFACEB00C>>2 in decimal}@fb.com到底是啥?
another google interview question:[合集] capital one 居然说不给办H-1B了
请教一道题目Google电话面试题目
请教一道题报个微软的Offer
phone interviewA classic interview question
问个Unix的问题看一道面试题
Linux 面试题目(付答案)收集分享怀疑我opt 申请上的姓和名颠倒了,,怎么查啊?
分享T家电面经再讨论一个面试难题
相关话题的讨论汇总
话题: dir4话题: dir3话题: dir1话题: given话题: means