{"id":407,"date":"2025-01-26T11:27:36","date_gmt":"2025-01-26T05:42:36","guid":{"rendered":"https:\/\/pokharelsugam.com.np\/bioinformatics\/?page_id=407"},"modified":"2025-01-27T18:14:43","modified_gmt":"2025-01-27T12:29:43","slug":"algorithm","status":"publish","type":"page","link":"https:\/\/pokharelsugam.com.np\/bioinformatics\/mathematics-algorithm\/algorithm\/","title":{"rendered":"Algorithm"},"content":{"rendered":"\n<div class=\"wp-block-query is-layout-flow wp-block-query-is-layout-flow\"><ul class=\"columns-3 wp-block-post-template is-layout-grid wp-container-core-post-template-is-layout-cda6dc4f wp-block-post-template-is-layout-grid\"><li class=\"wp-block-post post-1034 post type-post status-publish format-standard hentry category-algorithm category-mathematics-algorithm\">\n\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\" style=\"padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px\"><h2 class=\"wp-block-post-title\"><a href=\"https:\/\/pokharelsugam.com.np\/bioinformatics\/greedy-algorithm\/\" target=\"_self\" >Greedy Algorithm<\/a><\/h2>\n\n<div class=\"wp-block-post-excerpt\"><p class=\"wp-block-post-excerpt__excerpt\">Summary <\/p><\/div>\n\n<div class=\"wp-block-post-date\"><time datetime=\"2025-02-07T20:59:19+05:45\">2025-02-07<\/time><\/div><\/div>\n\n<\/li><li class=\"wp-block-post post-1031 post type-post status-publish format-standard hentry category-algorithm category-mathematics-algorithm\">\n\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\" style=\"padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px\"><h2 class=\"wp-block-post-title\"><a href=\"https:\/\/pokharelsugam.com.np\/bioinformatics\/divide-conquer-algorithm\/\" target=\"_self\" >Divide and Conquer Algorithm<\/a><\/h2>\n\n<div class=\"wp-block-post-excerpt\"><p class=\"wp-block-post-excerpt__excerpt\">Summary Algorithm Divide Step Conquer Step Combine Step Time Complexity Merge Sort Split array into halves Recursively sort each half Merge sorted halves O(n log n) Quick Sort Partition array around a pivot Recursively sort left and right No additional work needed O(n log n) avg, O(n^2) worst Binary Search Find middle element Recursively search&hellip; <\/p><\/div>\n\n<div class=\"wp-block-post-date\"><time datetime=\"2025-02-07T15:16:06+05:45\">2025-02-07<\/time><\/div><\/div>\n\n<\/li><li class=\"wp-block-post post-709 post type-post status-publish format-standard hentry category-algorithm category-mathematics-algorithm\">\n\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\" style=\"padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px\"><h2 class=\"wp-block-post-title\"><a href=\"https:\/\/pokharelsugam.com.np\/bioinformatics\/data-structures\/\" target=\"_self\" >Data Structures<\/a><\/h2>\n\n<div class=\"wp-block-post-excerpt\"><p class=\"wp-block-post-excerpt__excerpt\">Summary Linear Data Structures Linear data structures organize elements sequentially, where each element has a unique predecessor and successor (except the first and last elements). Examples: Arrays: A collection of elements stored in contiguous memory locations. Operations: Access: O(1) Search: O(n) Insertion\/Deletion: O(n) (in the worst case, due to shifting). Example Linked Lists: A sequence&hellip; <\/p><\/div>\n\n<div class=\"wp-block-post-date\"><time datetime=\"2025-01-27T20:24:38+05:45\">2025-01-27<\/time><\/div><\/div>\n\n<\/li><li class=\"wp-block-post post-676 post type-post status-publish format-standard hentry category-algorithm category-mathematics-algorithm\">\n\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\" style=\"padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px\"><h2 class=\"wp-block-post-title\"><a href=\"https:\/\/pokharelsugam.com.np\/bioinformatics\/algorithm-analysis\/\" target=\"_self\" >Algorithm Analysis<\/a><\/h2>\n\n<div class=\"wp-block-post-excerpt\"><p class=\"wp-block-post-excerpt__excerpt\">Summary \u2714 Algorithm analysis helps evaluate performance using time and space complexity.\u2714 Order of growth determines how an algorithm scales with input size.\u2714 Asymptotic analysis generalizes efficiency across different hardware.\u2714 Worst-case complexity (Big O) is the most important for real-world scenarios.\u2714 Big O, Big \u03a9, and Big \u0398 describe different efficiency bounds.\u2714 Mathematical foundations (asymptotic&hellip; <\/p><\/div>\n\n<div class=\"wp-block-post-date\"><time datetime=\"2025-01-27T18:12:29+05:45\">2025-01-27<\/time><\/div><\/div>\n\n<\/li><\/ul><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":42,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":null,"ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":null,"ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":null,"ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":null,"stick-header-meta":null,"header-above-stick-meta":null,"header-main-stick-meta":null,"header-below-stick-meta":null,"astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-407","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Algorithm - Bioinformatics Notes<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pokharelsugam.com.np\/bioinformatics\/mathematics-algorithm\/algorithm\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Algorithm - Bioinformatics Notes\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pokharelsugam.com.np\/bioinformatics\/mathematics-algorithm\/algorithm\/\" \/>\n<meta property=\"og:site_name\" content=\"Bioinformatics Notes\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/bioinformaticsnotes\/\" \/>\n<meta property=\"article:modified_time\" content=\"2025-01-27T12:29:43+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pokharelsugam.com.np\\\/bioinformatics\\\/mathematics-algorithm\\\/algorithm\\\/\",\"url\":\"https:\\\/\\\/pokharelsugam.com.np\\\/bioinformatics\\\/mathematics-algorithm\\\/algorithm\\\/\",\"name\":\"Algorithm - Bioinformatics Notes\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pokharelsugam.com.np\\\/bioinformatics\\\/#website\"},\"datePublished\":\"2025-01-26T05:42:36+00:00\",\"dateModified\":\"2025-01-27T12:29:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pokharelsugam.com.np\\\/bioinformatics\\\/mathematics-algorithm\\\/algorithm\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pokharelsugam.com.np\\\/bioinformatics\\\/mathematics-algorithm\\\/algorithm\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pokharelsugam.com.np\\\/bioinformatics\\\/mathematics-algorithm\\\/algorithm\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pokharelsugam.com.np\\\/bioinformatics\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mathematics &amp; Algorithm\",\"item\":\"https:\\\/\\\/pokharelsugam.com.np\\\/bioinformatics\\\/mathematics-algorithm\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Algorithm\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pokharelsugam.com.np\\\/bioinformatics\\\/#website\",\"url\":\"https:\\\/\\\/pokharelsugam.com.np\\\/bioinformatics\\\/\",\"name\":\"Bioinformatics Notes\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/pokharelsugam.com.np\\\/bioinformatics\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pokharelsugam.com.np\\\/bioinformatics\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/pokharelsugam.com.np\\\/bioinformatics\\\/#organization\",\"name\":\"Bioinformatics Notes\",\"url\":\"https:\\\/\\\/pokharelsugam.com.np\\\/bioinformatics\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pokharelsugam.com.np\\\/bioinformatics\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/pokharelsugam.com.np\\\/bioinformatics\\\/wp-content\\\/uploads\\\/sites\\\/6\\\/2025\\\/01\\\/cropped-cropped-Bioinformatics_Notes_Logo.png\",\"contentUrl\":\"https:\\\/\\\/pokharelsugam.com.np\\\/bioinformatics\\\/wp-content\\\/uploads\\\/sites\\\/6\\\/2025\\\/01\\\/cropped-cropped-Bioinformatics_Notes_Logo.png\",\"width\":461,\"height\":293,\"caption\":\"Bioinformatics Notes\"},\"image\":{\"@id\":\"https:\\\/\\\/pokharelsugam.com.np\\\/bioinformatics\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/bioinformaticsnotes\\\/\",\"https:\\\/\\\/github.com\\\/pokharelsugam\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Algorithm - Bioinformatics Notes","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/pokharelsugam.com.np\/bioinformatics\/mathematics-algorithm\/algorithm\/","og_locale":"en_US","og_type":"article","og_title":"Algorithm - Bioinformatics Notes","og_url":"https:\/\/pokharelsugam.com.np\/bioinformatics\/mathematics-algorithm\/algorithm\/","og_site_name":"Bioinformatics Notes","article_publisher":"https:\/\/www.facebook.com\/bioinformaticsnotes\/","article_modified_time":"2025-01-27T12:29:43+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/pokharelsugam.com.np\/bioinformatics\/mathematics-algorithm\/algorithm\/","url":"https:\/\/pokharelsugam.com.np\/bioinformatics\/mathematics-algorithm\/algorithm\/","name":"Algorithm - Bioinformatics Notes","isPartOf":{"@id":"https:\/\/pokharelsugam.com.np\/bioinformatics\/#website"},"datePublished":"2025-01-26T05:42:36+00:00","dateModified":"2025-01-27T12:29:43+00:00","breadcrumb":{"@id":"https:\/\/pokharelsugam.com.np\/bioinformatics\/mathematics-algorithm\/algorithm\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pokharelsugam.com.np\/bioinformatics\/mathematics-algorithm\/algorithm\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/pokharelsugam.com.np\/bioinformatics\/mathematics-algorithm\/algorithm\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pokharelsugam.com.np\/bioinformatics\/"},{"@type":"ListItem","position":2,"name":"Mathematics &amp; Algorithm","item":"https:\/\/pokharelsugam.com.np\/bioinformatics\/mathematics-algorithm\/"},{"@type":"ListItem","position":3,"name":"Algorithm"}]},{"@type":"WebSite","@id":"https:\/\/pokharelsugam.com.np\/bioinformatics\/#website","url":"https:\/\/pokharelsugam.com.np\/bioinformatics\/","name":"Bioinformatics Notes","description":"","publisher":{"@id":"https:\/\/pokharelsugam.com.np\/bioinformatics\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pokharelsugam.com.np\/bioinformatics\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/pokharelsugam.com.np\/bioinformatics\/#organization","name":"Bioinformatics Notes","url":"https:\/\/pokharelsugam.com.np\/bioinformatics\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pokharelsugam.com.np\/bioinformatics\/#\/schema\/logo\/image\/","url":"https:\/\/pokharelsugam.com.np\/bioinformatics\/wp-content\/uploads\/sites\/6\/2025\/01\/cropped-cropped-Bioinformatics_Notes_Logo.png","contentUrl":"https:\/\/pokharelsugam.com.np\/bioinformatics\/wp-content\/uploads\/sites\/6\/2025\/01\/cropped-cropped-Bioinformatics_Notes_Logo.png","width":461,"height":293,"caption":"Bioinformatics Notes"},"image":{"@id":"https:\/\/pokharelsugam.com.np\/bioinformatics\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/bioinformaticsnotes\/","https:\/\/github.com\/pokharelsugam"]}]}},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Sugam","author_link":"https:\/\/pokharelsugam.com.np\/bioinformatics\/author\/pokharelsugam\/"},"uagb_comment_info":0,"uagb_excerpt":null,"_links":{"self":[{"href":"https:\/\/pokharelsugam.com.np\/bioinformatics\/wp-json\/wp\/v2\/pages\/407","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pokharelsugam.com.np\/bioinformatics\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pokharelsugam.com.np\/bioinformatics\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pokharelsugam.com.np\/bioinformatics\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pokharelsugam.com.np\/bioinformatics\/wp-json\/wp\/v2\/comments?post=407"}],"version-history":[{"count":2,"href":"https:\/\/pokharelsugam.com.np\/bioinformatics\/wp-json\/wp\/v2\/pages\/407\/revisions"}],"predecessor-version":[{"id":678,"href":"https:\/\/pokharelsugam.com.np\/bioinformatics\/wp-json\/wp\/v2\/pages\/407\/revisions\/678"}],"up":[{"embeddable":true,"href":"https:\/\/pokharelsugam.com.np\/bioinformatics\/wp-json\/wp\/v2\/pages\/42"}],"wp:attachment":[{"href":"https:\/\/pokharelsugam.com.np\/bioinformatics\/wp-json\/wp\/v2\/media?parent=407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}