Longest Substring with Distinct Characters
Problem Statement Given a string, find the length of the longest substring, which has all distinct characters. Example: Input: String="aabccbb" Output: 3 Explanation: The longest substring with distinct characters is "abc". Solution const func = (st...
Jan 13, 20231 min read67
