{"id":1414,"date":"2023-06-19T18:07:58","date_gmt":"2023-06-19T10:07:58","guid":{"rendered":"https:\/\/xinchewhd.com.cn\/?p=1414"},"modified":"2023-06-19T18:07:58","modified_gmt":"2023-06-19T10:07:58","slug":"%e3%80%90%e7%ae%97%e6%b3%95%e9%a2%98%e8%a7%a3%e3%80%9123-%e6%bb%91%e5%8a%a8%e7%aa%97%e5%8f%a3%e6%9c%80%e5%a4%a7%e5%80%bc-%e5%8d%95%e8%b0%83%e9%98%9f%e5%88%97%e8%a7%a3%e6%b3%95","status":"publish","type":"post","link":"https:\/\/xinchewhd.com.cn\/index.php\/%e7%ae%97%e6%b3%95\/%e3%80%90%e7%ae%97%e6%b3%95%e9%a2%98%e8%a7%a3%e3%80%9123-%e6%bb%91%e5%8a%a8%e7%aa%97%e5%8f%a3%e6%9c%80%e5%a4%a7%e5%80%bc-%e5%8d%95%e8%b0%83%e9%98%9f%e5%88%97%e8%a7%a3%e6%b3%95\/","title":{"rendered":"\u3010\u7b97\u6cd5\u9898\u89e3\u301123. \u6ed1\u52a8\u7a97\u53e3\u6700\u5927\u503c \u2014\u2014 \u5355\u8c03\u961f\u5217\u89e3\u6cd5"},"content":{"rendered":"<div class='wxsyncmain'>\n<section data-tool=\"mdnice\u7f16\u8f91\u5668\" data-website=\"https:\/\/www.mdnice.com\" style=\"font-size: 16px;padding-right: 10px;padding-left: 10px;word-break: break-word;text-align: left;line-height: 1.25;color: rgb(43, 43, 43);letter-spacing: 2px;background-image: linear-gradient(90deg, rgba(50, 0, 0, 0.04) 3%, rgba(0, 0, 0, 0) 3%), linear-gradient(360deg, rgba(50, 0, 0, 0.04) 3%, rgba(0, 0, 0, 0) 3%);background-size: 20px 20px;background-position: center center;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;\" data-mpa-powered-by=\"yiban.io\">\n<blockquote data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"border-width: initial;border-style: none;border-color: initial;box-shadow: rgba(0, 0, 0, 0.2) 1px 1px 10px;padding: 20px;margin-bottom: 20px;margin-top: 20px;\">\n<blockquote style=\"border-width: initial;border-style: none;border-color: initial;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: rgb(43, 43, 43);margin-top: 10px;margin-bottom: 10px;font-size: 14px;word-spacing: 2px;\">\u8fd9\u662f\u4e00\u9053 <strong style=\"color: rgb(53, 148, 247);\">\u300c\u56f0\u96be\u300d<\/strong> \u9898 <br  \/>\u9898\u76ee\u6765\u81ea\uff1ahttps:\/\/leetcode.cn\/problems\/sliding-window-maximum\/<\/p>\n<\/blockquote>\n<\/blockquote>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;color: black;font-size: 22px;border-bottom: 4px solid rgb(64, 184, 250);\"><span style=\"display: flex;width: 20px;height: 20px;background-size: 20px 20px;background-image: url('https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528043053735.png');margin-bottom: -22px;\"><\/span><span style=\"display: flex;color: #40B8FA;font-size: 20px;margin-left: 25px;\">\u9898\u76ee<\/span><span style=\"display: flex;width: 200px;height: 10px;border-top-left-radius: 20px;background: rgba(64, 184, 250, 0.5);color: rgb(255, 255, 255);font-size: 16px;letter-spacing: 0.544px;justify-content: flex-end;float: right;margin-top: -10px;\"><\/span><\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;margin-top: 10px;margin-bottom: 10px;font-size: 14px;word-spacing: 2px;\">\u7ed9\u4f60\u4e00\u4e2a\u6574\u6570\u6570\u7ec4 <code style=\"margin-right: 2px;margin-left: 2px;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(53, 148, 247);background: rgba(59, 170, 250, 0.1);padding-right: 2px;padding-left: 2px;border-radius: 2px;height: 21px;line-height: 22px;\">nums<\/code>\uff0c\u6709\u4e00\u4e2a\u5927\u5c0f\u4e3a <code style=\"margin-right: 2px;margin-left: 2px;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(53, 148, 247);background: rgba(59, 170, 250, 0.1);padding-right: 2px;padding-left: 2px;border-radius: 2px;height: 21px;line-height: 22px;\">k<\/code> \u7684\u6ed1\u52a8\u7a97\u53e3\u4ece\u6570\u7ec4\u7684\u6700\u5de6\u4fa7\u79fb\u52a8\u5230\u6570\u7ec4\u7684\u6700\u53f3\u4fa7\u3002\u4f60\u53ea\u53ef\u4ee5\u770b\u5230\u5728\u6ed1\u52a8\u7a97\u53e3\u5185\u7684 <code style=\"margin-right: 2px;margin-left: 2px;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(53, 148, 247);background: rgba(59, 170, 250, 0.1);padding-right: 2px;padding-left: 2px;border-radius: 2px;height: 21px;line-height: 22px;\">k<\/code> \u4e2a\u6570\u5b57\u3002\u6ed1\u52a8\u7a97\u53e3\u6bcf\u6b21\u53ea\u5411\u53f3\u79fb\u52a8\u4e00\u4f4d\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;margin-top: 10px;margin-bottom: 10px;font-size: 14px;word-spacing: 2px;\">\u8fd4\u56de <strong style=\"color: rgb(53, 148, 247);\">\u300c\u6ed1\u52a8\u7a97\u53e3\u4e2d\u7684\u6700\u5927\u503c\u300d<\/strong> \u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;margin-top: 10px;margin-bottom: 10px;font-size: 14px;word-spacing: 2px;\">\u793a\u4f8b 1\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"display: block;background: url(&quot;https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528043100481.jpeg&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 100%;margin-bottom: -7px;border-radius: 5px;\"><\/span><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;font-size: 12px;-webkit-overflow-scrolling: touch;letter-spacing: 0px;padding-top: 15px;background: #282c34;border-radius: 5px;\"><span style=\"line-height: 26px;\"><span style=\"color: #c678dd;line-height: 26px;\">func<\/span>&nbsp;<span style=\"color: #61aeee;line-height: 26px;\">maxSlidingWindow<\/span><span style=\"line-height: 26px;\">(nums&nbsp;[]<span style=\"color: #c678dd;line-height: 26px;\">int<\/span>,&nbsp;k&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">int<\/span>)<\/span>&nbsp;[]<span style=\"color: #61aeee;line-height: 26px;\">int<\/span><\/span>&nbsp;{<br  \/><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;n&nbsp;:=&nbsp;<span style=\"color: #e6c07b;line-height: 26px;\">len<\/span>(nums)<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;deque&nbsp;:=&nbsp;[]<span style=\"color: #c678dd;line-height: 26px;\">int<\/span>{}<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;ans&nbsp;:=&nbsp;<span style=\"color: #e6c07b;line-height: 26px;\">make<\/span>([]<span style=\"color: #c678dd;line-height: 26px;\">int<\/span>,&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">0<\/span>,&nbsp;n&nbsp;-&nbsp;k&nbsp;+&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">1<\/span>)<br  \/><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">for<\/span>&nbsp;i,&nbsp;num&nbsp;:=&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">range<\/span>&nbsp;nums&nbsp;{<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">\/\/&nbsp;\u5c06\u51fa\u754c\u7684\u4e0b\u6807\u5220\u9664<\/span><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">if<\/span>&nbsp;i&nbsp;&gt;=&nbsp;k&nbsp;&amp;&amp;&nbsp;deque[<span style=\"color: #d19a66;line-height: 26px;\">0<\/span>]&nbsp;&lt;=&nbsp;i&nbsp;-&nbsp;k&nbsp;{<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;deque&nbsp;=&nbsp;deque[<span style=\"color: #d19a66;line-height: 26px;\">1<\/span>:]<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br  \/><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">\/\/&nbsp;\u5c06 i \u6dfb\u52a0\u5230\u961f\u5217\uff0c\u5e76\u4fdd\u8bc1\u961f\u5217\u662f\u9012\u51cf\u7684\u3002<\/span><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">for<\/span>&nbsp;<span style=\"color: #e6c07b;line-height: 26px;\">len<\/span>(deque)&nbsp;&gt;&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">0<\/span>&nbsp;&amp;&amp;&nbsp;nums[deque[<span style=\"color: #e6c07b;line-height: 26px;\">len<\/span>(deque)&nbsp;-&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">1<\/span>]]&nbsp;&lt;=&nbsp;num&nbsp;{<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;deque&nbsp;=&nbsp;deque[:<span style=\"color: #e6c07b;line-height: 26px;\">len<\/span>(deque)&nbsp;-&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">1<\/span>]<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;deque&nbsp;=&nbsp;<span style=\"color: #e6c07b;line-height: 26px;\">append<\/span>(deque,&nbsp;i)<br  \/><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">if<\/span>&nbsp;i&nbsp;&gt;=&nbsp;k&nbsp;-&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">1<\/span>&nbsp;{<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ans&nbsp;=&nbsp;<span style=\"color: #e6c07b;line-height: 26px;\">append<\/span>(ans,&nbsp;nums[deque[<span style=\"color: #d19a66;line-height: 26px;\">0<\/span>]])<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br  \/><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;}<br  \/><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">return<\/span>&nbsp;ans<br  \/><br  \/>}<br  \/><\/code><\/pre>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;color: black;font-size: 18px;\"><span style=\"display: none;\"><\/span><span style=\"height: 16px;line-height: 16px;font-size: 16px;\"><span style=\"background-image: url('https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528043053735.png');display: inline-block;background-size: 100%;background-position: left bottom;background-repeat: no-repeat;width: 16px;height: 15px;line-height: 15px;margin-right: 6px;margin-bottom: -2px;\"><\/span>\u590d\u6742\u5ea6\u5206\u6790<\/span><span style=\"display: none;\"><\/span><\/h4>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;margin-top: 10px;margin-bottom: 10px;font-size: 14px;word-spacing: 2px;\">\u65f6\u95f4\u590d\u6742\u5ea6\uff1a<span style=\"cursor:pointer;\"><span role=\"presentation\" data-formula=\"O(n)\" data-formula-type=\"inline-equation\" style=\"\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" role=\"img\" focusable=\"false\" viewbox=\"0 -750 2141 1000\" aria-hidden=\"true\" style=\"vertical-align: -0.566ex;width: 4.844ex;height: 2.262ex;\"><g stroke=\"currentColor\" fill=\"currentColor\" stroke-width=\"0\" transform=\"matrix(1 0 0 -1 0 0)\"><g data-mml-node=\"math\"><g data-mml-node=\"mi\"><path data-c=\"4F\" d=\"M740 435Q740 320 676 213T511 42T304 -22Q207 -22 138 35T51 201Q50 209 50 244Q50 346 98 438T227 601Q351 704 476 704Q514 704 524 703Q621 689 680 617T740 435ZM637 476Q637 565 591 615T476 665Q396 665 322 605Q242 542 200 428T157 216Q157 126 200 73T314 19Q404 19 485 98T608 313Q637 408 637 476Z\"><\/path><\/g><g data-mml-node=\"mo\" transform=\"translate(763, 0)\"><path data-c=\"28\" d=\"M94 250Q94 319 104 381T127 488T164 576T202 643T244 695T277 729T302 750H315H319Q333 750 333 741Q333 738 316 720T275 667T226 581T184 443T167 250T184 58T225 -81T274 -167T316 -220T333 -241Q333 -250 318 -250H315H302L274 -226Q180 -141 137 -14T94 250Z\"><\/path><\/g><g data-mml-node=\"mi\" transform=\"translate(1152, 0)\"><path data-c=\"6E\" d=\"M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z\"><\/path><\/g><g data-mml-node=\"mo\" transform=\"translate(1752, 0)\"><path data-c=\"29\" d=\"M60 749L64 750Q69 750 74 750H86L114 726Q208 641 251 514T294 250Q294 182 284 119T261 12T224 -76T186 -143T145 -194T113 -227T90 -246Q87 -249 86 -250H74Q66 -250 63 -250T58 -247T55 -238Q56 -237 66 -225Q221 -64 221 250T66 725Q56 737 55 738Q55 746 60 749Z\"><\/path><\/g><\/g><\/g><\/svg><\/span><\/span>\uff0c\u5faa\u73af <code style=\"margin-right: 2px;margin-left: 2px;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(53, 148, 247);background: rgba(59, 170, 250, 0.1);padding-right: 2px;padding-left: 2px;border-radius: 2px;height: 21px;line-height: 22px;\">n<\/code> \u6b21\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;margin-top: 10px;margin-bottom: 10px;font-size: 14px;word-spacing: 2px;\">\u7a7a\u95f4\u590d\u6742\u5ea6\uff1a<span style=\"cursor:pointer;\"><span role=\"presentation\" data-formula=\"O(k)\" data-formula-type=\"inline-equation\" style=\"\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" role=\"img\" focusable=\"false\" viewbox=\"0 -750 2062 1000\" aria-hidden=\"true\" style=\"vertical-align: -0.566ex;width: 4.665ex;height: 2.262ex;\"><g stroke=\"currentColor\" fill=\"currentColor\" stroke-width=\"0\" transform=\"matrix(1 0 0 -1 0 0)\"><g data-mml-node=\"math\"><g data-mml-node=\"mi\"><path data-c=\"4F\" d=\"M740 435Q740 320 676 213T511 42T304 -22Q207 -22 138 35T51 201Q50 209 50 244Q50 346 98 438T227 601Q351 704 476 704Q514 704 524 703Q621 689 680 617T740 435ZM637 476Q637 565 591 615T476 665Q396 665 322 605Q242 542 200 428T157 216Q157 126 200 73T314 19Q404 19 485 98T608 313Q637 408 637 476Z\"><\/path><\/g><g data-mml-node=\"mo\" transform=\"translate(763, 0)\"><path data-c=\"28\" d=\"M94 250Q94 319 104 381T127 488T164 576T202 643T244 695T277 729T302 750H315H319Q333 750 333 741Q333 738 316 720T275 667T226 581T184 443T167 250T184 58T225 -81T274 -167T316 -220T333 -241Q333 -250 318 -250H315H302L274 -226Q180 -141 137 -14T94 250Z\"><\/path><\/g><g data-mml-node=\"mi\" transform=\"translate(1152, 0)\"><path data-c=\"6B\" d=\"M121 647Q121 657 125 670T137 683Q138 683 209 688T282 694Q294 694 294 686Q294 679 244 477Q194 279 194 272Q213 282 223 291Q247 309 292 354T362 415Q402 442 438 442Q468 442 485 423T503 369Q503 344 496 327T477 302T456 291T438 288Q418 288 406 299T394 328Q394 353 410 369T442 390L458 393Q446 405 434 405H430Q398 402 367 380T294 316T228 255Q230 254 243 252T267 246T293 238T320 224T342 206T359 180T365 147Q365 130 360 106T354 66Q354 26 381 26Q429 26 459 145Q461 153 479 153H483Q499 153 499 144Q499 139 496 130Q455 -11 378 -11Q333 -11 305 15T277 90Q277 108 280 121T283 145Q283 167 269 183T234 206T200 217T182 220H180Q168 178 159 139T145 81T136 44T129 20T122 7T111 -2Q98 -11 83 -11Q66 -11 57 -1T48 16Q48 26 85 176T158 471L195 616Q196 629 188 632T149 637H144Q134 637 131 637T124 640T121 647Z\"><\/path><\/g><g data-mml-node=\"mo\" transform=\"translate(1673, 0)\"><path data-c=\"29\" d=\"M60 749L64 750Q69 750 74 750H86L114 726Q208 641 251 514T294 250Q294 182 284 119T261 12T224 -76T186 -143T145 -194T113 -227T90 -246Q87 -249 86 -250H74Q66 -250 63 -250T58 -247T55 -238Q56 -237 66 -225Q221 -64 221 250T66 725Q56 737 55 738Q55 746 60 749Z\"><\/path><\/g><\/g><\/g><\/svg><\/span><\/span>\uff0c\u961f\u5217\u4e2d\u6700\u591a\u5b58\u653e <code style=\"margin-right: 2px;margin-left: 2px;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(53, 148, 247);background: rgba(59, 170, 250, 0.1);padding-right: 2px;padding-left: 2px;border-radius: 2px;height: 21px;line-height: 22px;\">k<\/code> \u4e2a\u5143\u7d20\uff0c\u8ba1\u7b97\u590d\u6742\u5ea6\u65f6\u5ffd\u7565\u4e86\u8fd4\u56de\u503c <code style=\"margin-right: 2px;margin-left: 2px;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(53, 148, 247);background: rgba(59, 170, 250, 0.1);padding-right: 2px;padding-left: 2px;border-radius: 2px;height: 21px;line-height: 22px;\">ans<\/code>\u3002<\/p>\n<section data-mpa-template=\"t\" mpa-from-tpl=\"t\">\n<section data-mpa-template=\"t\" data-mpa-template-id=\"505\" data-mpa-category=\"\u6a21\u677f\" mpa-from-tpl=\"t\">\n<section data-mpa-category=\"\u6a21\u677f\" style=\"display: flex;justify-content: center;align-items: center;width: 100%;\" data-mid=\"\" mpa-from-tpl=\"t\">\n<section style=\"display: flex;justify-content: flex-start;align-items: center;flex-direction: column;\" data-mid=\"\" mpa-from-tpl=\"t\">\n<section style=\"display: flex;justify-content: center;align-items: center;justify-content: space-between;width: 100%;\" data-mid=\"\" mpa-from-tpl=\"t\">\n<section style=\"width: 11px;height: 11px;margin-left: -6px;margin-bottom: -6px;\" data-mid=\"\" mpa-from-tpl=\"t\"><img decoding=\"async\" class=\"lazyload\"data-ratio=\"1\" data-w=\"22\" style=\"display: block;height: auto !important;\"  data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528043057994.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" data-ratio=\"1\" data-w=\"22\" style=\"display: block;height: auto !important;\"  src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528043057994.png\"  \/><\/noscript><\/section>\n<section style=\"width: 11px;height: 11px;margin-right: -6px;margin-bottom: -6px;\" data-mid=\"\" mpa-from-tpl=\"t\"><img decoding=\"async\" class=\"lazyload\"data-ratio=\"1\" data-w=\"22\" style=\"display: block;height: auto !important;\"  data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528043058991.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" data-ratio=\"1\" data-w=\"22\" style=\"display: block;height: auto !important;\"  src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528043058991.png\"  \/><\/noscript><\/section>\n<\/section>\n<section style=\"background: rgb(118, 189, 253);border-width: 1px;border-style: solid;border-color: rgb(41, 41, 41);border-radius: 4px;padding: 2px;\" data-mid=\"\" mpa-from-tpl=\"t\">\n<section style=\"background: rgb(255, 255, 255);border-radius: 3px;border-width: 1px;border-style: solid;border-color: rgb(41, 41, 41);text-align: center;padding: 0px 4px;\" data-mid=\"\" mpa-from-tpl=\"t\">\n<p style=\"font-size: 14px;font-family: PingFangSC-Medium, PingFang SC;font-weight: bold;color: #451003;line-height: 24px;\" data-mid=\"\">END<\/p>\n<\/section>\n<\/section>\n<section style=\"display: flex;justify-content: center;align-items: center;justify-content: space-between;width: 100%;\" data-mid=\"\" mpa-from-tpl=\"t\">\n<section style=\"width: 11px;height: 11px;margin-left: -6px;margin-top: -6px;\" data-mid=\"\" mpa-from-tpl=\"t\"><img decoding=\"async\" class=\"lazyload\"data-ratio=\"1\" data-w=\"22\" style=\"display: block;height: auto !important;\"  data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528043059237.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" data-ratio=\"1\" data-w=\"22\" style=\"display: block;height: auto !important;\"  src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528043059237.png\"  \/><\/noscript><\/section>\n<section style=\"width: 11px;height: 11px;margin-right: -6px;margin-top: -6px;\" data-mid=\"\" mpa-from-tpl=\"t\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"1\" data-w=\"22\" style=\"display: block;height: auto !important;\"  data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528043059524.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"1\" data-w=\"22\" style=\"display: block;height: auto !important;\"  src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528043059524.png\"  \/><\/noscript><\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<p><br  \/><\/p>\n<\/section>\n<section><mp-common-profile class=\"custom_select_card mp_profile_iframe\" data-pluginname=\"mpprofile\" data-weuitheme=\"light\" data-id=\"MzU1OTYwMjk1OQ==\" data-headimg=\"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/JvpD6fdLxcC9CibUnKaozZdY5gkBVksO6mudaAv9SCIzDScFq1VQtbF7TPwA8eqlftZTbVm4OIxXBPGyXsTN1xA\/0?wx_fmt=png\" data-nickname=\"i\u4f59\u6570\" data-alias=\"iyushu888\" data-signature=\"\u8bb0\u5f55\u4e0e\u5206\u4eab \u300cJava &amp; Go &amp; \u7b97\u6cd5 \u300d\u5b66\u4e60\u7b14\u8bb0\u3002\" data-from=\"0\" data-weui-theme=\"light\"><\/mp-common-profile><\/section>\n<section><br  \/><\/section>\n<\/section>\n<p><br  \/><\/p>\n<p style=\"display: none;\"><mp-style-type data-value=\"3\"><\/mp-style-type><\/p>\n<blockquote>\n<p>\u672c\u7bc7\u6587\u7ae0\u6765\u6e90\u4e8e\u5fae\u4fe1\u516c\u4f17\u53f7:                 i\u4f59\u6570              <\/p>\n<\/blockquote>\n<\/div>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u662f\u4e00\u9053 \u300c\u56f0\u96be\u300d \u9898 \u9898\u76ee\u6765\u81ea\uff1ahttps:\/\/leetcode.cn\/problems\/sliding-window-maxi &#8230;<\/p>\n","protected":false},"author":1,"featured_media":1407,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[22],"tags":[],"class_list":["post-1414","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-22"],"post_thumbnail_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528043054464-150x150.jpeg","content_first_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528043057994.png","post_medium_image_300":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528043054464-300x128.jpeg","post_thumbnail_image_624":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528043054464-1024x435.jpeg","post_frist_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528043057994.png","post_medium_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528043054464-300x128.jpeg","post_large_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528043054464-1024x435.jpeg","post_full_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528043054464.jpeg","post_all_images":[{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528043057994.png","id":"image0"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528043057994.png","id":"image1"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528043058991.png","id":"image2"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528043058991.png","id":"image3"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528043059237.png","id":"image4"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528043059237.png","id":"image5"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528043059524.png","id":"image6"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528043059524.png","id":"image7"}],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":6,"total_comments":0,"category_name":"\u7b97\u6cd5","post_date":"2023-06-19","like_count":"0","praiseWord":"\u9f13\u52b1","copyright_state":"","excitationAd":"0","rewardedVideoAdId":"","detailAdId":"","detailAd":"0","enterpriseMinapp":"0","audios":[],"postImageUrl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230519082947553.jpg","avatarurls":[],"related_posts":null,"pageviews":364,"next_post_id":1454,"next_post_title":"\u3010\u7b97\u6cd5\u9898\u89e3\u301119. \u5b9e\u73b0\u4e00\u4e2a\u5305\u542b\u201c\u6b63\u8d1f\u6570\u548c\u62ec\u53f7\u201d\u7684\u57fa\u672c\u8ba1\u7b97\u5668","previous_post_id":1580,"previous_post_title":"\u3010\u7b97\u6cd5\u9898\u89e3\u301127. \u5b9e\u73b0\u4e00\u4e2aLRU\u7f13\u5b58","_links":{"self":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/1414","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/comments?post=1414"}],"version-history":[{"count":0,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/1414\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media\/1407"}],"wp:attachment":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1414"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1414"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1414"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}