
Search a word in a two-dimensional array using Java
Overview I was playing this word search game with my children when I realized that I can create a simple Java application that search for words in a grid. I uploaded the source at https://github.com/johnpili/search-a-word-in-a-two-dimensional-array-using-java MainApp.java In this example, I created a 15×15 character array and populate it with strings per row. public class MainApp { public static void main(String[] args) { char[][] m = new char[15][15]; m[0] = "LRHCODRUMAJTMLE".toCharArray(); m[1] = "IYDTANDARPMAKLJ"....