Hey can anyone help me solving the below problem?
Find the length of longest substring in string S without forbbiden strings. E.G. s = "asdfoo123ate" and forbbiden ="[foo, ate]". Answer is 7 ("oo123at").