Design an algorithm in python to solve the following problem: Given a string in any size, find the length of the longest substring without repeating characters. Use words with all capital letters to highlight key points, but make sure that words with all capital letters appear less than 4 times
user