热门标签
更多>
搜索结果
查询Tags标签: prve,共有 2条记录-
Java算法之反转链表
public class ListNode {int val;ListNode next;ListNode() {}ListNode(int val) { this.val = val; }ListNode(int val, ListNode next) { this.val = val; this.next = next; }}class Solution {public ListNode reverseList(ListNode head) {ListNode prve = null;List…
2021/9/10 1:04:10 人评论 次浏览 -
Java算法之反转链表
public class ListNode {int val;ListNode next;ListNode() {}ListNode(int val) { this.val = val; }ListNode(int val, ListNode next) { this.val = val; this.next = next; }}class Solution {public ListNode reverseList(ListNode head) {ListNode prve = null;List…
2021/9/10 1:04:10 人评论 次浏览