title: 4 pictures 1 word "bot" - bad performance
body: <p>I think everyone of you heard about the mobile app <a href="https://play.google.com/store/apps/details?id=de.lotum.whatsinthefoto.us&amp;hl=en" rel="nofollow">4 pics 1 word</a>. I'm trying to write a "bot" for this game in java. Well, not actually a bot, but a program that helps to solve it.</p>
  
  <p>It should basicly work like this:</p>
  
  <pre><code>String[] dictionary = generateArrayWithAllEnglishWordsFromTextfile();
  getLengthOfWordFromUserInput();
  deleteAllEntriesFromArrayWithOtherLength(); // for performance reason
  getAllPossibleLettersFromUserInput();
  String[] combination = getAllPossibleCombinationsOfThoseLettersWithEnteredLength();
  loopThroughBothArraysAndPrintMatches();
  </code></pre>
  
  <p>I did it, and everything works fine, but if I enter 12 possible letters (what's necessary) it takes so hilariously long that it's useless.</p>
  
  <p>I know java isn't the fastest language, but is it possible to make it faster than this way in java?</p>