This is a JavaScript solution to the problem Killer Word from the first round of Google Code Jam 2011.
You can find a discussion on my blog
And the source, complete with solutions in other languages is in github.
Create pool of | workers |
Queue size: 0
|
Run | ||
Kill | Runtime: | |
Run without workers |
Input | Output |
---|---|