Monthly Archives: January 2014

Find the combination of substrings from a string

import java.util.HashSet; import java.util.Set; public class StringCalculator { static final String WORD = “346789ABCDEFGHJKLMNPQRSTUWXY”; static final int lengOfSubString = 4; /** * @param args */ public static void main(String[] args) { char[] wordArray = WORD.toCharArray(); int lengthOfWord = WORD.length(); System.out.println(“Length … Continue reading

Posted in Uncategorized | Leave a comment