```
int myStrCmp (const char *s1, const char *s2) {
const unsigned char *p1 = (const unsigned char *)s1;
const unsigned char *p2 = (const unsigned char *)s2;
while (*p1 != '\0') {
if (*p2 == '\0') return 1;
if (*p2 > *p1) return -1;
if (*p1 > *p2) return 1;
p1++;
p2++;
}
if (*p2 != '\0') return -1;
return 0;
}
```

Does this compare have the notation exactly `O(n)`

?. When measured with two strings with s1="abcd" s2="abcd." for the first case and `s1="asdsdcvv"`

`s2="asdsdcvv"`

. for the second case, does the second case be exactly two times of the first case?