摘要: You are given an undirected graph (the "original graph") with n nodes labeled from 0 to n - 1. You decide to subdivide each edge in the graph into a c 阅读全文
posted @ 2023-02-21 07:33 Review->Improve 阅读(24) 评论(0) 推荐(0) 编辑
摘要: Problem Statement dp[i][j]: the number of subsets of A[0, i] whose sum is j. dp[0][0] = 1, there is only 1 way of not picking anything from an empty a 阅读全文
posted @ 2023-02-21 01:13 Review->Improve 阅读(23) 评论(0) 推荐(0) 编辑