Skip to content

Commit 9fa2dd4

Browse files
Add C++ implementation
Signed-off-by: begeekmyfriend <[email protected]>
1 parent 8229f94 commit 9fa2dd4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

0027_remove_element/rm_elem.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#include <stdio.h>
22
#include <stdlib.h>
33

4-
static int removeElement(int *nums, int numsSize, int val)
4+
5+
int removeElement(int *nums, int numsSize, int val)
56
{
67
int i, count = 0;
78
for (i = 0; i < numsSize; i++) {

0 commit comments

Comments
 (0)