Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 421 Bytes

File metadata and controls

33 lines (22 loc) · 421 Bytes
title 算法4 Java解答 1.1.16
date 2019-03-02 19:38:47 +0800
draft false
tags
JAVA
categories
技术
归档

1.1.16

问题:

Give the value of exR1(6):

public static String exR1(int n) {
    if (n <= 0) return "";
    return exR1(n-3) + n + exR1(n-2) + n;
}

分析:

2019-03-03-004

参考: