There is a node Class ,as the following , how to implement a getMaxValue method with recursion ?
(抱歉,英语不是太好,只能这么写了,用递归实现一个getMaxValue 方法。
class Node {
public int value;
public Node next;
}
public class Recursion {
public Node getMaxValue(Node aNode) {
}
}