Rick Glascock
1 min readFeb 12, 2019

--

Shouldn’t the end of the Declarative method be compared to needle.length instead of 3? Wouldn’t 3 only work for a needle array of only 3 elements since you are adding 1 for each match? Otherwise very interesting comparison.

--

--

Rick Glascock
Rick Glascock

Written by Rick Glascock

After years of teaching music in Austin, Shanghai and Yangon, I’m making a career change to my other passion, software development.

Responses (2)