You are viewing a single comment's thread. Return to all comments →
In case if you are trying to do it in a DP fashion to calculate the amount of length(n-1) with set cardinality of m, don't do it ... It won't work. :/
Seems like cookies are disabled on this browser, please enable them to open this website
An unexpected error occurred. Please try reloading the page. If problem persists, please contact support@hackerrank.com
Anti-Palindromic Strings
You are viewing a single comment's thread. Return to all comments →
In case if you are trying to do it in a DP fashion to calculate the amount of length(n-1) with set cardinality of m, don't do it ... It won't work. :/