Update Generate Binary numbers

pull/990/head
simitoor 2022-10-11 09:15:53 +05:30 committed by GitHub
parent 99172bb782
commit cdbeb38082
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import java.util.LinkedList; import java.util.LinkedList;
import java.util.Queue; import java.util.Queue;
public class generatebinary { public class generatebinary {
public static void genrating(int n,Queue <String> sb) public static void generating(int n,Queue <String> sb)
{ {
sb.add("1"); sb.add("1");
@ -18,6 +18,6 @@ public class generatebinary {
public static void main(String[] args) { public static void main(String[] args) {
int n=5; int n=5;
Queue <String> sb=new LinkedList<String>(); Queue <String> sb=new LinkedList<String>();
genrating(n,sb); generating(n,sb);
} }
} }