I am working on a project involving \"Dynamic Programming\" and am struck on this trivial thing, please help.
Suppose I take 4 as an input, I want to display somethi
int x = 5; for(int i = 0; i < (1 << x); i++){ System.out.println(Integer.toBinaryString(i)); }