Redian新闻
>
【分享】最新出炉的微软面试题
avatar
【分享】最新出炉的微软面试题# JobHunting - 待字闺中
q*g
1
1。 Given a value and a binary search tree.
Print all the paths(if there exists more than one) which sum up to that
value. It can be any path in the tree. It doesn't have to be from the root.
2。Implement 3 stacks in a single array as efficiently as possible.
3。 Write the code to print a Binary tree level by level STARTING FROM THE
LEAF LEVEL and then give exhaustive test cases.
eg: 1
2 3
4 5 6 7
Output: 4567231
这道题我用了一个queue和stack,他说不是最优。
4。Whenever you open a file, describe all the steps that th
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。