Data Structures & Algorithms- Self Paced Course. Competitive Programming- Live Classes For Students, Data Structures & Algorithms- Self Paced Course, Substring with highest frequency length product, Length of the largest substring which have character with frequency greater than or equal to half of the substring, Substring of length K having maximum frequency in the given string, Maximum length prefix such that frequency of each character is atmost number of characters with minimum frequency, Find element with highest frequency in given nested Array, Check if frequency of character in one string is a factor or multiple of frequency of same character in other string, Count of Binary Strings of length N such that frequency of 1's exceeds frequency of 0's, Check if a K-length substring exists having only 2 distinct characters, each with frequency greater than K/3, Length of smallest substring to be replaced to make frequency of each character as N/3, Minimum length of substring whose rotation generates a palindromic substring. Converting string to number in angular/Typescript. Warning. The task is to find the maximum occurred substring with a maximum length.