diff --git a/leetcode/problem_27/sol1.c b/leetcode/problem_27/sol1.c index 523c3952..18c0b963 100644 --- a/leetcode/problem_27/sol1.c +++ b/leetcode/problem_27/sol1.c @@ -1,10 +1,9 @@ /** * \file - * \brief [3. Longest - * substring](https://leetcode.com/problems/longest-substring-without-repeating-characters/) - * brute force solution - * \details Given a string `s`, find the length of the longest substring without - * repeating characters. + * \brief [27. Remove + * element](https://leetcode.com/problems/remove-element/) solution + * \details Given an array nums and a value val, remove all instances of that + * value in-place and return the new length. */ #include