Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 04c30ef

Browse files
Add C++ implementation
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
1 parent 9fa2dd4 commit 04c30ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎0003_longest_substring_without_repeat/longest_substring_without_repeat.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
#include <stdlib.h>
33
#include <string.h>
44

5-
static int lengthOfLongestSubstring(char *s)
5+
6+
int lengthOfLongestSubstring(char *s)
67
{
78
int offset[128];
89
int max_len = 0;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /