title: Writing an algorithm for scrabble
body: <p>I'm working on a crossword-like problem, but I don't know how to design the algorithm.</p>
  
  <p>For example:</p>
  
  <ul>
  <li>there are words like 'car', 'apple' in the dictionary.</li>
  <li>the word 'app' is given on the board.</li>
  <li>there are letters like 'l' 'e' 'c' 'r'....for making words.</li>
  </ul>
  
  <p>So the algorithm's task is to make correct words which are stored in dictionary.</p>
  
  <p>app -> lapp -> leapp -> lecapp -> .... -> lappe -> eappc -> ... -> appl -> apple (correct answer)</p>
  
  <p>What is the best solution for this algorithm?</p>