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.
- Prepare
- Algorithms
- Strings
- Ashton and String
- Discussions
Ashton and String
Ashton and String
Sort by
recency
|
79 Discussions
|
Please Login in order to post a comment
Python 3:
Here is my solution in java, javascript, python, C, C++, Csharp HackerRank Ashton and String Problem Solution
solution in python it passes all test cases
def ashtonString(s, k): kv = k - 1 N = len(s) sr = [[0 for _ in range(N)] for __ in range(17)] sr[0] = [ord(c)-97 for c in s]
solution in python it passes all test cases
def ashtonString(s, k): # # Write your code here. # kv = k - 1 N = len(s) sr = [[0 for _ in range(N)] for __ in range(17)] sr[0] = [ord(c)-97 for c in s]
Here is the solution of Ashton and String Click Here