Create longest-common-prefix.cpp

1 time passed