Skip to content

Commit 39dbca3

Browse files
authored
Update and rename Longest_Substring_Without_Repeating_Characters.cpp to Longest_Substring_Without_Repeating_Characters.cpp
* So,I did a small change I added the problem into the others section I think this works fine I guess. * I would be glad if this can be tagged as hackoctoberfest * Thank you.
1 parent 70cc2e8 commit 39dbca3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sliding-window/Longest_Substring_Without_Repeating_Characters.cpp renamed to others/Longest_Substring_Without_Repeating_Characters.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/** Leetcode problem
2-
* Author : @ashish5kmax (Ashish Kumar Sahoo)
3-
* 3. Longest_Substring_Without_Repeating_Characters
1+
/**
2+
* 3.Longest_Substring_Without_Repeating_Characters
43
* Problem link :- https://leetcode.com/problems/longest-substring-without-repeating-characters/description/
54
* Intiuation :
65
Intuition is strightforward and simple, we track the frequencey and as we know we can't use string to track longest substring without repeating characters, as poping a char from front of string is not in O(1) which could be optimized by deque approch.

0 commit comments

Comments
 (0)