LongestIncreasingSubsequence

  • 2022-12-14
  • 浏览 (498)

LongestIncreasingSubsequence.java 源码

package algorithm.dp;

import java.util.Arrays;

/**
 * @author roseduan
 * 最长上升子序列
 */
public class LongestIncreasingSubsequence {

    /**
     * 动态规划
     */
    public int lengthOfLIS1(int[] nums) {
        return 1;
    }
}

你可能感兴趣的文章

CoinChange

EditDistance

HouseRobber

0  赞