Word Search

Word Search

Hard

Instructions

In word search puzzles you get a square of letters and have to find specific words in them.

For example:

jefblpepre
camdcimgtc
oivokprjsm
pbwasqroua
rixilelhrs
wolcqlirpc
screeaumgr
alxhpburyi
jalaycalmp
clojurermt

There are several programming languages hidden in the above square.

Words can be hidden in all kinds of directions: left-to-right, right-to-left, vertical and diagonal.

Given a puzzle and a list of words return the location of the first and last letter of each word.

Edit via GitHub The link opens in a new window or tab
TypeScript Exercism

Ready to start Word Search?

Sign up to Exercism to learn and master TypeScript with 97 exercises, and real human mentoring, all for free.