Cody

Problem 1631. Criss-Cross: NHL - Optimize Matrix Size

Given the List of NHL Teams, fit all in a minimum area Criss-Cross with no invalid words, no duplications, and all connected.

Input: Dictionary (cell array)

Output: Array of Char (spaces indicated by char(96))

Score: Numer of Elements in Array (including unused)

Example:

dict={'abc' 'cat'}

Output: ['abc';'``a';'``t']

abc
``a
``t

Score: 9

Related Challenges:

1) Verify Criss-Cross

2) Create Criss-Cross dictionary from a matrix

3) Games Magazine Contest 8/31/2013

Solution Stats

70.0% Correct | 30.0% Incorrect
Last solution submitted on Feb 16, 2014