摘要:
package org.skyeye.test; import org.springframework.util.Assert; public class NodeAdd { public static class Node{ int data; Node next; public static enum N... 阅读全文
摘要:
class Node(object): def __init__(self, data, next): self.data = data self.next = next def reverse(head): if head is None or head.next is None: return head pre ... 阅读全文