Given two strings,
b, return the length of the longest shared prefix. For example, if the two strings were
help your method should return
3 because both strings start with
This should be done in a case sensitive manner. That is
HELLO should return 1 because only the
H is shared by the two strings.
If there isn't a matching prefix, return