摘要:
方法1:https://www.cnblogs.com/sgbe/p/10717861.html 方法2:用栈 public static Node1 printRevers(Node1 head) { if(head==null||head.next==null) return head; Sta 阅读全文
posted @ 2019-04-16 17:24
上官蓓儿
阅读(288)
评论(0)
推荐(0)
摘要:
package List.www.cn; import java.util.ArrayList; /** * 在单链表中找打倒数第k个元素 * @author Administrator * */public class P236 { public static void main(String[] 阅读全文
posted @ 2019-04-16 16:10
上官蓓儿
阅读(782)
评论(0)
推荐(0)
摘要:
package List.www.cn; import java.util.Scanner; public class ReversP236 { public static void main(String[] args) { Scanner in=new Scanner(System.in); S 阅读全文
posted @ 2019-04-16 16:08
上官蓓儿
阅读(447)
评论(0)
推荐(0)

浙公网安备 33010602011771号