Create longest-common-prefix.cpp