longest-common-prefix.cpp