麦田的博客// 递归求结果 public static void cir ( int ceng , int cengQuit , int startPiont , double [ ] array , double [ ] cache , double sum ) { ceng ++ ; for ( int i = ...
Boston_Kimisong的博客1. 数组中是否存在某个元素组合,使得组合中所有元素的和为某个特定值 public static boolean findSum(int[] nums, int s) { // dp[i][j] whether we can get j after scanning the first i elements boolean[][] ...