import java.util.*;
public class Text1 {
private static Stack<Integer> st=new Stack<Integer>();
public static void main(String[] args) {
}
public static void subsetting(int n)
{
if(n>0) {
st.push(new Integer(0));
subsetting(n-1);
st.pop();
st.push(new Integer(1));
st.pop();
}
}
}
子集遍历
最新推荐文章于 2022-09-20 14:39:51 发布