Draft
Find the longest repeating substring
38 of 51nakulgupta18
Description:
Task
Write a function to take a string as input and return longest repeating substring in the string. The substring may be overlapping the repeating substring.
Example : "banana" => "ana"... here "ana"(b-ana-na and "ana"(ban-ana) overlap each other
Inputs will strictly be strings. If string doesnt have any repeating substring, return an empty string.
Strings
Fundamentals
Similar Kata:
Stats:
Created | Jul 6, 2015 |
Warriors Trained | 307 |
Total Skips | 39 |
Total Code Submissions | 257 |
Total Times Completed | 51 |
Ruby Completions | 15 |
Python Completions | 38 |
Total Stars | 7 |
% of votes with a positive feedback rating | 89% of 22 |
Total "Very Satisfied" Votes | 17 |
Total "Somewhat Satisfied" Votes | 5 |
Total "Not Satisfied" Votes | 0 |
Total Rank Assessments | 21 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 4 kyu |
Lowest Assessed Rank | 7 kyu |