{"id":400,"date":"2025-07-08T16:41:58","date_gmt":"2025-07-08T06:41:58","guid":{"rendered":"https:\/\/nonlinearexperience.com\/?p=400"},"modified":"2025-07-08T16:41:58","modified_gmt":"2025-07-08T06:41:58","slug":"search","status":"publish","type":"post","link":"https:\/\/nonlinearexperience.com\/index.php\/2025\/07\/08\/search\/","title":{"rendered":"Search"},"content":{"rendered":"<h1 class=\"wp-block-post-title\">Search<\/h1>\n\n\n<p class=\"wp-block-paragraph\">See also:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">System:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First &#8211; what is built into the language?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">in two stages &#8211; sort the data, then search it<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Merge sort &#8211; O(nlog n) &#8211; \u03a9(n)<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">if only one number<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">quit<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">else<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">sort left half of numbers<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">sort right half of numbers<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">merge sorted halves<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.geeksforgeeks.org\/sorting-algorithms\/\">https:\/\/www.geeksforgeeks.org\/sorting-algorithms\/<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Resources<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>See also: System: First &#8211; what is built into the language? in two stages &#8211; sort the data, then search it Merge sort &#8211; O(nlog n) &#8211; \u03a9(n) if only one number quit else sort left half of numbers sort right half of numbers merge sorted halves https:\/\/www.geeksforgeeks.org\/sorting-algorithms\/ Resources<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"wp-custom-template-nlx-the-knowledge-page","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-400","post","type-post","status-publish","format-standard","hentry","category-the-knowledge"],"_links":{"self":[{"href":"https:\/\/nonlinearexperience.com\/index.php\/wp-json\/wp\/v2\/posts\/400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nonlinearexperience.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nonlinearexperience.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nonlinearexperience.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nonlinearexperience.com\/index.php\/wp-json\/wp\/v2\/comments?post=400"}],"version-history":[{"count":1,"href":"https:\/\/nonlinearexperience.com\/index.php\/wp-json\/wp\/v2\/posts\/400\/revisions"}],"predecessor-version":[{"id":401,"href":"https:\/\/nonlinearexperience.com\/index.php\/wp-json\/wp\/v2\/posts\/400\/revisions\/401"}],"wp:attachment":[{"href":"https:\/\/nonlinearexperience.com\/index.php\/wp-json\/wp\/v2\/media?parent=400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nonlinearexperience.com\/index.php\/wp-json\/wp\/v2\/categories?post=400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nonlinearexperience.com\/index.php\/wp-json\/wp\/v2\/tags?post=400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}