摘要: public ListNode reverseList(ListNode head){ ListNode res=null; ListNode next=null; while (head!=null){ //记录下个位置 next=head.next; //将这个连接进来 head.next=re 阅读全文
posted @ 2020-09-13 14:32 程序杰杰 阅读(120) 评论(0) 推荐(0) 编辑