diff --git a/Basic_Of_Algorithm/src/interestingAlgorithm/bruthForce_backjoon.java b/Basic_Of_Algorithm/src/interestingAlgorithm/bruthForce_backjoon.java new file mode 100644 index 0000000..a4bb9ee --- /dev/null +++ b/Basic_Of_Algorithm/src/interestingAlgorithm/bruthForce_backjoon.java @@ -0,0 +1,69 @@ +package interestingAlgorithm; + + +public class bruthForce_backjoon { + + static int normal = 0; + static boolean visited[][]; + + public static void main(String[] args) { + + String []temp = {"RRRBB", + "GGBBB", + "BBBRR", + "BBRRR", + "RRRRR"}; + + char[][]map = new char[temp.length][temp[0].length()]; + + + for(int i=0;i