<p>A string is called a <strong>happy prefix</strong> if is a <strong>non-empty</strong> prefix which is also a suffix (excluding itself).</p>
<p>Given a string <code>s</code>, return <em>the <strong>longest happy prefix</strong> of</em><code>s</code>. Return an empty string <code>""</code> if no such prefix exists.</p>
<strong>Explanation:</strong> s contains 4 prefix excluding itself ("l", "le", "lev", "leve"), and suffix ("l", "el", "vel", "evel"). The largest prefix which is also suffix is given by "l".