From cdbeb380823c616263efa3e7cd53758a56be7f87 Mon Sep 17 00:00:00 2001 From: simitoor <109592870+simitoor@users.noreply.github.com> Date: Tue, 11 Oct 2022 09:15:53 +0530 Subject: [PATCH] Update Generate Binary numbers --- algorithms/Java/queues/Generate Binary numbers | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/algorithms/Java/queues/Generate Binary numbers b/algorithms/Java/queues/Generate Binary numbers index 2064ca5b..eaf943d8 100644 --- a/algorithms/Java/queues/Generate Binary numbers +++ b/algorithms/Java/queues/Generate Binary numbers @@ -1,7 +1,7 @@ import java.util.LinkedList; import java.util.Queue; public class generatebinary { - public static void genrating(int n,Queue sb) + public static void generating(int n,Queue sb) { sb.add("1"); @@ -18,6 +18,6 @@ public class generatebinary { public static void main(String[] args) { int n=5; Queue sb=new LinkedList(); - genrating(n,sb); + generating(n,sb); } }