Showing posts with label HackersRank. Show all posts
Showing posts with label HackersRank. Show all posts

Monday, July 29, 2013

HR Red John is back

https://www.hackerrank.com/contests/101july13/challenges/red-john-is-back

Easy solution with the little dp and prime with very mild constraints