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.
Sign up to Exercism to learn and master PowerShell with 125 exercises, and real human mentoring, all for free.