{"id":560,"date":"2025-07-04T18:31:48","date_gmt":"2025-07-04T10:31:48","guid":{"rendered":"https:\/\/189505.xyz\/?p=560"},"modified":"2025-07-04T18:31:48","modified_gmt":"2025-07-04T10:31:48","slug":"%e7%ae%97%e6%b3%95%e6%80%bb%e7%bb%93","status":"publish","type":"post","link":"https:\/\/189505.xyz\/?p=560","title":{"rendered":"\u7b97\u6cd5\u603b\u7ed3"},"content":{"rendered":"<h1>\u6392\u5e8f\u7c7b\uff08Sort\uff09\uff1a<\/h1>\n<p>\u57fa\u7840\u77e5\u8bc6\uff1a\u5feb\u901f\u6392\u5e8f\uff08Quick Sort\uff09\uff0c \u5f52\u5e76\u6392\u5e8f\uff08Merge Sort\uff09\u7684\u539f\u7406\u4e0e\u4ee3\u7801\u5b9e\u73b0\u3002\u9700\u8981\u80fd\u8bb2\u660e\u767d\u4ee3\u7801\u4e2d\u6bcf\u4e00\u884c\u7684\u76ee\u7684\u3002\u5feb\u901f\u6392\u5e8f\u65f6\u95f4\u590d\u6742\u5ea6\u5e73\u5747\u72b6\u6001\u4e0bO\uff08NlogN\uff09\uff0c\u7a7a\u95f4\u590d\u6742\u5ea6O\uff081\uff09\uff0c\u5f52\u5e76\u6392\u5e8f\u6700\u574f\u60c5\u51b5\u4e0b\u65f6\u95f4\u590d\u6742\u5ea6O\uff08NlogN\uff09\uff0c\u7a7a\u95f4\u590d\u6742\u5ea6O\uff08N\uff09<br \/>\n\u5165\u95e8\u9898\u76ee\uff1a<br \/>\nLeetcode 148. Sort List<br \/>\nLeetcode 56. Merge Intervals<br \/>\nLeetcode 27. Remove elements<br \/>\n\u8fdb\u9636\u9898\u76ee\uff1a<br \/>\nLeetcode 179. Largest Number<br \/>\nLeetcode 75. Sort Colors<br \/>\nLeetcode 215. Kth Largest Element \uff08\u53ef\u4ee5\u7528\u5806\u7684\u89e3\u6cd5\u66ff\u4ee3\uff09<br \/>\nLeetcode 4. Median of Two Sorted Arrays<br \/>\n\u6ce8\u610f\uff1a\u540e\u4e24\u9898\u662f\u4e0e\u5feb\u901f\u6392\u5e8f\u975e\u5e38\u76f8\u4f3c\u7684\u5feb\u901f\u9009\u62e9\uff08Quick Select\uff09\u7b97\u6cd5\uff0c\u9762\u8bd5\u4e2d\u5f88\u5e38\u8003<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6392\u5e8f\u7c7b\uff08Sort\uff09\uff1a \u57fa\u7840\u77e5\u8bc6\uff1a\u5feb\u901f\u6392\u5e8f\uff08Quick Sort\uff09\uff0c \u5f52\u5e76\u6392\u5e8f\uff08Merge Sort\uff09\u7684\u539f\u7406\u4e0e\u4ee3 &#8230; <a title=\"\u7b97\u6cd5\u603b\u7ed3\" class=\"read-more\" href=\"https:\/\/189505.xyz\/?p=560\" aria-label=\"More on \u7b97\u6cd5\u603b\u7ed3\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/189505.xyz\/index.php?rest_route=\/wp\/v2\/posts\/560"}],"collection":[{"href":"https:\/\/189505.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/189505.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/189505.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/189505.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=560"}],"version-history":[{"count":1,"href":"https:\/\/189505.xyz\/index.php?rest_route=\/wp\/v2\/posts\/560\/revisions"}],"predecessor-version":[{"id":561,"href":"https:\/\/189505.xyz\/index.php?rest_route=\/wp\/v2\/posts\/560\/revisions\/561"}],"wp:attachment":[{"href":"https:\/\/189505.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=560"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/189505.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=560"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/189505.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=560"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}