{"componentChunkName":"component---src-templates-post-js","path":"/what-is-an-algorithm/","result":{"data":{"markdownRemark":{"html":"<p><em>This tutorial is a part of the <a href=\"/data-structures-and-algorithms/\">Data Structures and Algorithms</a> class:</em></p>\n<ul>\n<li><a href=\"/what-is-an-algorithm/#the-importance-of-information\">The importance of information</a></li>\n<li><a href=\"/what-is-an-algorithm/#the-only-software-problem\">The only software problem</a></li>\n<li><a href=\"/what-is-an-algorithm/#typical-classes-of-the-software-problem\">Typical classes of the software problem</a></li>\n<li><a href=\"/what-is-an-algorithm/#what-is-an-algorithm\">What is an algorithm?</a></li>\n<li><a href=\"/what-is-an-algorithm/#what-can-you-do-after-learning-a-popular-algorithm\">What can you do after learning a popular algorithm?</a></li>\n<li><a href=\"/what-is-an-algorithm/#common-mistake-while-talking-about-an-algorithm\">Common mistake while talking about an algorithm</a></li>\n<li><a href=\"/what-is-an-algorithm/#do-learning-algorithms-kill-creativity\">Do learning algorithms kill creativity?</a></li>\n</ul>\n<p><div class=\"gatsby-resp-iframe-wrapper\" style=\"padding-bottom: 56.49999999999999%; position: relative; height: 0; overflow: hidden; margin-bottom: 1.0725rem\" > <div class=\"embedVideo-container\"> <iframe src=\"https://www.youtube.com/embed/vORGavGpIbI\" class=\"embedVideo-iframe\" style=\"border:0; position: absolute; top: 0; left: 0; width: 100%; height: 100%; \" allowfullscreen></iframe> </div> </div></p>\n<h2 id=\"the-importance-of-information\" style=\"position:relative;\"><a href=\"#the-importance-of-information\" aria-label=\"the importance of information permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>The importance of information</h2>\n<ul>\n<li>Nowadays and certainly into the far future, <span style=\"color:red\">no business can operate without the help of software</span>.</li>\n<li>Software stores (a lot of) information, <span style=\"color:blue\">processes it then returns useful information that will help business save money or time or both</span>.</li>\n<li>Examples: farming, managing money (banking), transportation, ...</li>\n</ul>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto;  max-width: 850px;\"\n    >\n      <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/static/b30ef56087c84647cb91bc7ad58ba9bd/d1fcc/importance-of-software.png\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n    <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 45.59330379123584%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAJCAYAAAAywQxIAAAACXBIWXMAAAsTAAALEwEAmpwYAAAC1UlEQVQozw3R/zPTcQDH8c8v/divdeen7vp2V+roruRLa8RElBXGENaIbY1obIyZmn258u1QSOjopJIfilKcL12hi7RQDEnvfVC5646u5P1+5T94Pu7J3a+97ng/NOC0j70nI6MfyXdCyMrCFPk6OUac807y7u0kGRkeJzP2SeKcmCKdbfdJZe098nxggvQNjpOOrj5C+OVvC87vPxxz5DW388C2v8HRQYiQhSLiYhjyrqmhuRKGRIUcTQ8HYCzKQ1qWBtEJUkScj4fVYkRdYysed7zB2OcltLZ3Y252Fr///ANZ/PGFk8gPr0qTXKHSHKPpOQKWWeDHbjWfZz7haiaW1bD6hktMbxazy7pglqjwZjcrdKzjwR324mkbW1pcZL0Dr1h3/9AG+bmOWeevae6CInJNpoxCkkrGUtOToTMoYSstgCjIF6JQKQymzWJdMjKz5TAYL6HulgnN9ZVoaW6E3T6B6Zl5PHnaSReW1rD8a93BRSUErMkUkVBpJSwhVYxw6Wlk52dCUxAPXaEUJpsKZosFSSlxOBsZhJamBrS13kVZeQW6eodg/zSHqopy2tTYsEmfcXAJSve1TIM/cs2BTKn1QVq+D9R6AZRaAYwlYlhL1SiyGRArF+D4CQ/0POtEXEoGXJV1SK4fRlp9L+S2FhqqrYYow+bg4hWHVjOMntCYPKm2yJdezg+guYUSai6LoaaSaFpbXUk1+kTqe2oXFfp70KIcNd1/REC3HJXQraJUuktZSw9b+je8K0exW9c+zbm77V0PizmAmIvuSM32Qn7xCVirQ2CwRMFkzkLe5uEURSxiEwMQKg7Eo7pqfHjZgdtVNcjL1sP1ZBwOSrOwXXoVLqdU81zAPrdZvx0HlyReHnxuSiB/RS/kdVYhbyzz40vvyPgb1mL+dHAwfybkJB8YFMLX5Or5oWILv9DezpOuHv6c2sLviTc7XYRRK55C0eB/1/vD2SfDL3IAAAAASUVORK5CYII='); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"importance of software\"\n        title=\"importance of software\"\n        src=\"/static/b30ef56087c84647cb91bc7ad58ba9bd/4d3f1/importance-of-software.png\"\n        srcset=\"/static/b30ef56087c84647cb91bc7ad58ba9bd/0cb30/importance-of-software.png 213w,\n/static/b30ef56087c84647cb91bc7ad58ba9bd/a67b6/importance-of-software.png 425w,\n/static/b30ef56087c84647cb91bc7ad58ba9bd/4d3f1/importance-of-software.png 850w,\n/static/b30ef56087c84647cb91bc7ad58ba9bd/bfdc0/importance-of-software.png 1275w,\n/static/b30ef56087c84647cb91bc7ad58ba9bd/c9b65/importance-of-software.png 1700w,\n/static/b30ef56087c84647cb91bc7ad58ba9bd/d1fcc/importance-of-software.png 2031w\"\n        sizes=\"(max-width: 850px) 100vw, 850px\"\n      />\n  </a>\n    </span></p>\n<h2 id=\"the-only-software-problem\" style=\"position:relative;\"><a href=\"#the-only-software-problem\" aria-label=\"the only software problem permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>The only software problem</h2>\n<ul>\n<li>Software stores (a lot of raw) information that represents something in real life. <span style=\"color:blue\">The only problem is to try extracting useful information that can drive actions to make/save time/money</span> from raw information. And doing it efficiently in terms of computer resources: CPU/RAM/bandwidth.</li>\n<li>Example: Going from San Jose -> San Francisco. The shortest path <span style=\"color:blue\">saves traveling time and saves gas money</span>.</li>\n</ul>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto;  max-width: 850px;\"\n    >\n      <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/static/cff554af33eb6088fd04426edcef9174/321d0/best-route-sj-sf.png\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n    <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 48.236331569664905%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAKCAYAAAC0VX7mAAAACXBIWXMAABYlAAAWJQFJUiTwAAACR0lEQVQoz02S2VPaYBxF+f+fO4xAW51pax2t1L3KkoQlbCFEwhIChAQlGiriDFMHrLanH4UuD3eSpzPnfvcXepV4ZEOaE1MWROUnNkQOjT5yXCIuWQy7ecZXKgWvwtlApTEs4wc3tEd1NPHf9VrMAgPP71EaGYTCqTlLaExesJl9FNBvVLtX7GXO2Ep0+SD5jHoalpPjyM2jOAUcx+bxfiBATQI/j+vWuHN16q0KoZjyRCzzndfpGVWzxWDUIdXsENU03qv3RJSfHFRmWM0CnquS6OSp2wVurzuM/RbToM1UmE39JhNhHIrKq6oxec527oEddc6x1uezWmYn+0BY/kE4vaDQ6BB005wPciRsBatTY+jbTII+d+M2o9sms6/2Evj0u+7SNCI/E04tyFgmYa3KnlRnT3H5mJuwmR9jDXv0rguYwrRtNxn4JllHpTIsoV6VsX1jVTm6rL0cReStyEVL2PUveFOsYRlFToRxtmzhNnSmjs5kpCE7ZT71kiIJTgYZ0sMiyaG6Bq4Nl9CI8sy7zANSLcWuecpWqYdr12gYKvuFgAMt4FqsrQ4UjsVASTFUylNJiqSHhdUb/oOuEkm/cKTXiff3eW+ec2z4XPZsyoZJWnfoWSXuR6Y4kwqnbkaYFUkIYEp8Q//D/lTfkF7YKfpigBRp+wv1QZPDuodhN+jYOlU9S8tUxeoau+04506KrKcgeZn12fzN2lB6ZjsfIHtJlHqejlkWt1cVT3BJsulwqLfRzSo3rk3OyXPaP0MSdSUvyy+t56bEnbUILgAAAABJRU5ErkJggg=='); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"best route sj sf\"\n        title=\"best route sj sf\"\n        src=\"/static/cff554af33eb6088fd04426edcef9174/4d3f1/best-route-sj-sf.png\"\n        srcset=\"/static/cff554af33eb6088fd04426edcef9174/0cb30/best-route-sj-sf.png 213w,\n/static/cff554af33eb6088fd04426edcef9174/a67b6/best-route-sj-sf.png 425w,\n/static/cff554af33eb6088fd04426edcef9174/4d3f1/best-route-sj-sf.png 850w,\n/static/cff554af33eb6088fd04426edcef9174/bfdc0/best-route-sj-sf.png 1275w,\n/static/cff554af33eb6088fd04426edcef9174/c9b65/best-route-sj-sf.png 1700w,\n/static/cff554af33eb6088fd04426edcef9174/321d0/best-route-sj-sf.png 2268w\"\n        sizes=\"(max-width: 850px) 100vw, 850px\"\n      />\n  </a>\n    </span></p>\n<h2 id=\"typical-classes-of-the-software-problem\" style=\"position:relative;\"><a href=\"#typical-classes-of-the-software-problem\" aria-label=\"typical classes of the software problem permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Typical classes of the software problem</h2>\n<p>The software problem is to <span style=\"color:blue\">find the useful information</span> from existing information. <span style=\"color:blue\">Useful is key here</span>. Typical classes of useful information (software problem) are:</p>\n<ol>\n<li><span style=\"color:red\">Maximization</span> (profit, gain, ...)</li>\n<li><span style=\"color:red\">Minimization</span> (loss, time, …)</li>\n<li>Finding <span style=\"color:red\">all available options</span> with given restrictions (list of choices on solutions, paths, …)</li>\n<li>Finding <span style=\"color:red\">most optimal solution</span> with given restrictions (travel path given time and cost restriction)</li>\n<li>Finding <span style=\"color:red\">a truth</span> (binary tree height, material volume of a hollow sphere, ...)</li>\n</ol>\n<h2 id=\"what-is-an-algorithm\" style=\"position:relative;\"><a href=\"#what-is-an-algorithm\" aria-label=\"what is an algorithm permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>What is an algorithm?</h2>\n<ul>\n<li><u>Your algorithm</u>: simply your solution for a software problem you are asked to solve.</li>\n<li><u>A popular algorithm you'll learn</u>: <a href=\"https://en.wikipedia.org/wiki/Algorithm\" target=\"_blank\" rel=\"nofollow\">is a well-defined solution for a particular class of software problem</a>.</li>\n<li><span style=\"color:red\">Why do you have to learn popular algorithms?</span> Because <span style=\"color:blue\">those classes of problem are popular</span>. And you'll <span style=\"color:blue\">most likely need to solve them</span> if you work in software. To understand the algorithm, you must understand the class of the problem it solves first.</li>\n<li><span style=\"color:red\">\"I think I can come up with an algorithm myself to solve the problem\"</span>. Yes, but can you do it <span style=\"color:blue\">within 30 minutes?</span> Will your algorithm be <span style=\"color:blue\">more efficient</span> than the one humankind has been perfected for the last 70 years?</li>\n<li>Example: shortest path from point A to point B -> breadth first search.</li>\n</ul>\n<h2 id=\"what-can-you-do-after-learning-a-popular-algorithm\" style=\"position:relative;\"><a href=\"#what-can-you-do-after-learning-a-popular-algorithm\" aria-label=\"what can you do after learning a popular algorithm permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>What can you do after learning a popular algorithm?</h2>\n<ol>\n<li><span style=\"color:blue\">Understand the class of problem</span> it solves clearly.</li>\n<li><span style=\"color:blue\">Quickly identify if the given problem (by its special characteristics) is solvable</span> with a learnt algorithm.</li>\n<li>Quickly <span style=\"color:blue\">explain, code and calculate Big O</span> complexity of the solution.</li>\n<li>✅ <span style=\"color:blue\">Collected a new tool</span> in your toolbox.</li>\n</ol>\n<h2 id=\"common-mistake-while-talking-about-an-algorithm\" style=\"position:relative;\"><a href=\"#common-mistake-while-talking-about-an-algorithm\" aria-label=\"common mistake while talking about an algorithm permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Common mistake while talking about an algorithm</h2>\n<ul>\n<li>Mistake: <span style=\"color:red\">does not understand what class of problem the algorithm solves</span>.</li>\n<li>How humans came up with an algorithm: <span style=\"color:blue\">a very specific problem emerges, repeatedly</span> -> understand the problem -> seek solutions -> choose the best optimal solutions to teach = <span style=\"color:blue\">the algorithm you learn</span>. So <span style=\"color:blue\">understanding the problem clearly must be the first and important part</span> of learning an algorithm.</li>\n</ul>\n<h2 id=\"do-learning-algorithms-kill-creativity\" style=\"position:relative;\"><a href=\"#do-learning-algorithms-kill-creativity\" aria-label=\"do learning algorithms kill creativity permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Do learning algorithms kill creativity?</h2>\n<p>No, because:</p>\n<ul>\n<li><span style=\"color:blue\">Adapting a non-conformed problem into the algorithm you already learnt</span> requires creativity.</li>\n<li>Many problems require a <span style=\"color:blue\">combination of a few algorithms</span> to solve.</li>\n<li>These algorithms you'll learn are <span style=\"color:blue\">basic lego pieces</span>. What you can <span style=\"color:blue\">build with these pieces is an endless possibility</span>.</li>\n</ul>\n<h2 id=\"real-life-interview-questions\" style=\"position:relative;\"><a href=\"#real-life-interview-questions\" aria-label=\"real life interview questions permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Real life interview questions</h2>\n<ol>\n<li>Why do you want to learn algorithms?</li>\n<li>How do you know if a problem is solvable by a learnt algorithm?</li>\n<li>What is the only software problem?</li>\n<li>How does algorithms help in the big picture of doing software engineering?</li>\n</ol>","timeToRead":3,"excerpt":"This tutorial is a part of the Data Structures and Algorithms class: The importance of information The only software problem Typical classes…","frontmatter":{"title":"What is an Algorithm?","thumbnail":{"childImageSharp":{"fixed":{"base64":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAWJAAAFiQFtaJ36AAACDUlEQVQ4y42UzUuVQRSHx5spfrTJVYugP8BFEVm0sYVIi1DxKkEptA1pU9iudON3+BXWokxIXRWmLYrKrYES5dKQ4qa1UJRIFBea+hz5zWV8uffqgYeZd+bMec+cj3HuoMQ0ZsMtmIS/sANbsAIfoB6OR84ckKxgXgML8BP6oBR64QdUwRAswRxUpLGRFDu4Cz1QDsVwGvphJtArgk/SbXNprumNnYES2IBleWPrU8GZc/BdXtteZ/T6tdo4r+8TcFKemDyEb8HVLH6noBCu6Gy1CxJgMbvt0stdmNX8WIr9O/DLe3hDf7CsxvV9SYo+k42BQR/DuBJYCXWycd02X8OmYpKANXiug/ka70cMXoQ/AVYR/2HUqbYqXWaxcHw5RMfyMG+TbRiDRyqPXo1P4Cl0w2dl3HQei3Zo1bwD3sKiUwdMa+EdvIc38BJGYFDeWSjGtT+mH6zDhPiqxKS8cgFchTK4IKPTER3z9lXwHfdXtt58ocU8jdfgn8opobBMRXQG5JmXEf9dLy9zgjqLacxJkWW/9gw+BtWwopLbP2ypf5Dh0bgXGAxrs1/zZtlIPhDVKkyL5WU4m6GwY0H7ObXrbpgH39Dt2gibPT/Dlb0xeyu70r2NLTLYEXhg0hAp7Fxokm7XYQ9slbJrQR5WOAa1VqtsrsLvI3RY0mXL8E0V+7w6IKH5hLKZleqae/bAjsz+Py6rAAAAAElFTkSuQmCC","width":150,"height":150,"src":"/static/10d88d469b6b857db8584576dc401a0c/4148e/sesvround.png","srcSet":"/static/10d88d469b6b857db8584576dc401a0c/4148e/sesvround.png 1x,\n/static/10d88d469b6b857db8584576dc401a0c/de03e/sesvround.png 1.5x"}}},"slug":"what-is-an-algorithm","date":"2022-06-14T00:00:00.000Z","categories":["Data Structures & Algorithms"],"tags":["fundamentals"],"template":"post"},"fields":{"slug":"/what-is-an-algorithm/","date":"2022-06-14T00:00:00.000Z"}}},"pageContext":{"slug":"/what-is-an-algorithm/"}},"staticQueryHashes":[]}