一个211学生找实习遇到的问题

我本科是普通211的智能科学与技术专业 已保研至北京航空航天大学 现大四
想找一段算法岗的实习 cv nlp llm的都可以
但是问题就是很多企业在招聘的时候都会有代码能力测试
我之前有刷过一些算法题。但是没有坚持下来 所以以现在的能力很难通过编程测试
发这篇帖子是想了解一下 有没有不测试代码能力的实习岗位 还是说我只有把hot100搞定了再开始投实习
期待各位前辈的建议! #你找实习最大的坎坷是什么#  #我的实习日记#  #我的实习求职记录#  #保研#  #计算机#  #本科生就业#  #算法岗#
全部评论
还是先把编码能力提上去比较好
点赞 回复 分享
发布于 昨天 19:42 安徽

相关推荐

有大神能教一下菜菜嘛?求二叉树的最小值节点和最大值节点的距离看了答案知道了用lca+depth的方式做,但是我很好奇我为什么是wa呜呜呜package org.example;import java.util.*;public class Solution {/*** 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可*** @param root TreeNode类 树的根节点* @return int整型*/int max = Integer.MIN_VALUE;int min = Integer.MAX_VALUE;public void getMaxMin(TreeNode root){if(root==null){return ;}max =Math.max(max,root.val);min =Math.min(min,root.val);getMaxMin(root.left);getMaxMin(root.right);}Map<TreeNode,Integer> mapmin = new HashMap<>();Map<TreeNode,Integer> mapmax = new HashMap<>();public boolean getparent(TreeNode root,int target,Map<TreeNode,Integer> map){if (root==null){return false;}if(root.val==target){map.put(root,0);return true;}boolean t1 = getparent(root.left,target,map);boolean t2 = getparent(root.right,target,map);if (t1){map.put(root ,map.get(root.left)+1);return true;}else if (t2){map.put(root ,map.get(root.right)+1);return true;}else{return false;}}public int getDis (TreeNode root) {// write code hereTreeNode temp = root;getMaxMin(temp);temp = root;getparent(temp,min,mapmin);temp = root;getparent(temp,max,mapmax);int minpar = Integer.MAX_VALUE;TreeNode targetNode = null;for (TreeNode treeNode : mapmin.keySet()) {if (mapmax.containsKey(treeNode)&&minpar>mapmax.get(treeNode)   ){minpar=mapmax.get(treeNode);targetNode = treeNode;}}return mapmax.get(targetNode) + mapmin.get(targetNode);}}
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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