<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<meta name="generator" content="pdf2htmlEX">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css">
<link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css">
<link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/625376b56caf5961929bd773/raw.css">
<script src="https://static.pudn.com/base/js/compatibility.min.js"></script>
<script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script>
<script>
try{
pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({});
}catch(e){}
</script>
<title></title>
</head>
<body>
<div id="sidebar" style="display: none">
<div id="outline">
</div>
</div>
<div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/625376b56caf5961929bd773/bg1.jpg"><div class="c x1 y1 w2 h2"><div class="t m0 x2 h3 y2 ff1 fs0 fc0 sc0 ls0 ws0">BA<span class="_ _0"></span>T<span class="ff2">󰑳󰴯󰥗󰵭</span>(<span class="ff2"></span>)- <span class="ff2"></span><span class="fc1"> </span></div><div class="t m0 x3 h4 y3 ff3 fs1 fc0 sc0 ls0 ws0">󰐮󰙵<span class="ff4"> Hello Code </span>󰖰<span class="ff4"> CC</span>󰖭</div><div class="t m0 x3 h4 y4 ff3 fs1 fc0 sc0 ls0 ws0">󰝕󰐮<span class="ff4">/</span>󰤅󰵨<span class="ff4"> </span><span class="ff4">: </span></div><div class="t m0 x3 h4 y5 ff4 fs1 fc2 sc0 ls0 ws0">HelloCode<span class="ff3">󰖰</span></div><div class="t m0 x1 h4 y6 ff3 fs1 fc0 sc0 ls0 ws0">󰵭󰋴</div><div class="t m0 x2 h5 y7 ff1 fs1 fc0 sc0 ls0 ws0">Given a string s, find the longest palindr<span class="_ _1"></span>omic substring in s. Y<span class="_ _2"></span>ou may</div><div class="t m0 x2 h5 y8 ff1 fs1 fc0 sc0 ls0 ws0">assume that the maximum length of s is 1000.</div><div class="t m0 x1 h6 y9 ff4 fs1 fc0 sc0 ls0 ws0">Example</div><div class="t m0 x3 h6 ya ff4 fs1 fc0 sc0 ls0 ws0">Example1:</div><div class="t m0 x3 h5 yb ff1 fs1 fc0 sc0 ls0 ws0">Input: "babad"</div><div class="t m0 x3 h5 yc ff1 fs1 fc0 sc0 ls0 ws0">Output: "bab"</div><div class="t m0 x3 h5 yd ff1 fs1 fc0 sc0 ls0 ws0">Note: "aba" is also a valid answer<span class="_ _2"></span>.</div><div class="t m0 x3 h6 ye ff4 fs1 fc0 sc0 ls0 ws0">Example2:</div><div class="t m0 x3 h5 yf ff1 fs1 fc0 sc0 ls0 ws0">Input: "cbbd"</div><div class="t m0 x3 h5 y10 ff1 fs1 fc0 sc0 ls0 ws0">Output: "bb"</div><div class="t m0 x2 h7 y11 ff3 fs2 fc0 sc0 ls0 ws0"><span class="ff4">.</span>󰑳󰵭<span class="ff4 fc3"> </span></div></div></div><div class="pi" data-data='{"ctm":[1.611639,0.000000,0.000000,1.611639,0.000000,0.000000]}'></div></div>
</body>
</html>