Java le plus long paldrome

Input: s = "babad"
Output: "bab"
Note: "aba" is also a valid answer.
Fine Flatworm