diff --git a/Basic_Of_Algorithm/src/test/color.java b/Basic_Of_Algorithm/src/test/color.java new file mode 100644 index 0000000..52513e6 --- /dev/null +++ b/Basic_Of_Algorithm/src/test/color.java @@ -0,0 +1,81 @@ +package test; + +public class color { + + 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