Challenge Active
The Weekly Challenge
You don't have to be an expert
Task #1
Longest Repeating Character
You are given a string str and an integer k > 0. Write a script to choose any character of str and change it to another character. You may perform this operation up to k times. Return the length of the longest reachable substring of a single letter.
Task #2
Longest Absolute Path
You are given a filesystem as string. Write a script to return the length of the longest absolute path to a file in the abstracted file system. If there is no file in the system, return 0.
SO WHAT DO YOU THINK ?
If you have any suggestions or ideas then please do share with us.
Contact with me