🌟Day 58 of my #GFG160DayChallenge
Problem: Longest Substring With Distinct Characters
Approach: Sliding window with HashSet to track unique substring character.
Complexity: O(n)  #GFG160 #geekstreak2024
@geeksforgeeks
#gfg160
#GFG160DayChallenge #GFG160 #geekstreak2024 #gfg160