https://www.hackerrank.com/contests/101july13/challenges/red-john-is-back
Easy solution with the little dp and prime with very mild constraints
Easy solution with the little dp and prime with very mild constraints
Problems has to be addressed else its state will be same or it will be more bitter but never be in a solved position.