mirror of
https://github.com/TheAlgorithms/C
synced 2024-11-21 21:11:57 +03:00
fix: typo in comments of leetcode-3 (#931)
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
parent
ef9878627d
commit
bd06a9f424
@ -5,8 +5,8 @@ int lengthOfLongestSubstring(char *str)
|
||||
if (!n)
|
||||
return 0;
|
||||
|
||||
int L_len = 1; // lenght of longest substring
|
||||
int C_len = 1; // lenght of current substring
|
||||
int L_len = 1; // length of longest substring
|
||||
int C_len = 1; // length of current substring
|
||||
|
||||
int P_ind, i; // P_ind for previous index
|
||||
int visited[256]; // visited will keep track of visiting char for the last
|
||||
|
Loading…
Reference in New Issue
Block a user