* @brief Function that checks if the string passed in param can be * segmented into the strings present in the vector. * In others words, it checks if any permutation of strings in * the vector can be concatenated to form the final string. * * @param s the complete string to be segmented * @param wordDict a vector of words to be used as dictionary to look into * @returns `true` if s can be