转行华为od,技术面评价低

求助,211本,非科班转行,两轮技术面通过,但是有个c,部门说审批可能下不了#od面试##华为od技术面#
全部评论
老哥,最后怎么样了,有其他部门接受吗?
点赞 回复 分享
发布于 2025-07-02 12:15 四川
请问是没有手撕出代码题导致的技术面评价C吗?
点赞 回复 分享
发布于 2025-01-06 19:24 广东
在目标院校吗,在的话我这边能捞
点赞 回复 分享
发布于 2024-12-18 14:05 江苏

相关推荐

import java.util.Scanner;public class demo {public static void main(String[] args) {//移除链表元素//构造链表1-->4-->2-->4Scanner sc = new Scanner(System.in);int n = sc.nextInt();//链表共有节点个数sc.nextLine();//构造单链表  尾插法ListNode head = null;//head一旦确定,就不再移动ListNode tail = null;//随着新节点的加入,不断向后移动if (n > 0){for (int i = 1; i <= n; i++){int val = sc.nextInt();//输入链表ListNode newNode = new ListNode(val);if (head == null){//插入第一个节点时,head既是头又是尾head = newNode;tail = head;}else{tail.next = newNode;tail = tail.next;}}}sc.nextLine();int target = sc.nextInt();//需要移除的目标值//如果头节点本身就要删除while (head != null && head.val == target){head = head.next;//直接将head后移}//判断是否为空if (head == null){return;}//处理头节点之后的节点ListNode current = head;while (current.next != null){if (current.next.val == target){//找到目标,则移除current.next = current.next.next;}else {//没找到,继续向后current = current.next;}}while (head != null){System.out.print(head.val + " ");head = head.next;}}}class ListNode{int val;ListNode next;ListNode(int val){this.val = val;}}
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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