好未来笔试


#笔试题目##好未来#
全部评论
第二题被输入搞了好久,人傻了
2 回复 分享
发布于 2020-09-20 15:06
第一题 http://cppblog.com/baby-fly/archive/2009/10/24/99362.html
点赞 回复 分享
发布于 2020-09-20 15:21
第二题,哪个大佬分享一下源码
点赞 回复 分享
发布于 2020-09-20 15:06
Java开发岗,第一题怎么回事,string搞不好,总是编译错误,哪里有错啊,求大佬解读 string notReCuPreOrder(TreeNode* root) {         // write code here         string str;        TreeNode *stack[10010];         int top = -1;         TreeNode *temp;         stack[++top]=root;         while(top!=-1){             temp = stack[top--];             str = str + temp->val; //总报这行有错             if(root->right!=NULL){                 stack[++top]=root->right;             }             if(root->left!=NULL){                 stack[++top]=root->left;             }         }           return str;                       }
点赞 回复 分享
发布于 2020-09-20 15:05
不是七个编程题吗?
点赞 回复 分享
发布于 2020-09-20 15:03
第二题输出字符串全排列,本地没问题,在线7%点多咋回事啊
点赞 回复 分享
发布于 2020-09-20 15:03

相关推荐

评论
点赞
1
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务