We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Been trying this for the past few days, taking advantage of online descriptions of the actual algorithm. Seems like I'm getting the answer right, but about half of the tests time out. Am I missing something?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Substring Searching
You are viewing a single comment's thread. Return to all comments →
It may be obvious that I'm new to Haskell.
Code: https://gist.github.com/ptvirgo/18b4a17b4a41e57298b0135e38097276
Been trying this for the past few days, taking advantage of online descriptions of the actual algorithm. Seems like I'm getting the answer right, but about half of the tests time out. Am I missing something?