{"id":928,"date":"2026-11-10T05:09:52","date_gmt":"2026-11-10T05:09:52","guid":{"rendered":"https:\/\/wiki.designcorner.co.ke\/?dc_term=binary-search"},"modified":"2026-11-10T08:03:25","modified_gmt":"2026-11-10T08:03:25","slug":"binary-search","status":"publish","type":"dc_term","link":"https:\/\/wiki.designcorner.co.ke\/?dc_term=binary-search","title":{"rendered":"Binary Search"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">What it is<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Binary search checks the middle item, then discards the half that cannot contain the target. A million sorted items can be searched in about 20 steps.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why it matters for your business<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Fast searching underpins databases and lookups; the halving method also helps troubleshoot problems.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Real-world example<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To find which plugin broke a site, a developer disabled half the plugins at a time, finding the culprit in minutes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Design Corner tip<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Use the halving method to troubleshoot: disable half, test, repeat.<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>A fast way to find an item in a sorted list by repeatedly halving the search range.<\/p>\n","protected":false},"featured_media":0,"template":"","dc_letter":[7],"dc_topic":[34],"class_list":["post-928","dc_term","type-dc_term","status-publish","hentry","dc_letter-b","dc_topic-software-and-development"],"_links":{"self":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/928","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term"}],"about":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/types\/dc_term"}],"version-history":[{"count":1,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/928\/revisions"}],"predecessor-version":[{"id":1335,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/928\/revisions\/1335"}],"wp:attachment":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=928"}],"wp:term":[{"taxonomy":"dc_letter","embeddable":true,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fdc_letter&post=928"},{"taxonomy":"dc_topic","embeddable":true,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fdc_topic&post=928"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}