Skip to main content

Posts

Showing posts from May, 2021

Algorithm and Data Structure

  “Every program depends on algorithms and data structures, but few programs depend on the invention of brand-new ones.” — Kernighan & Pike. Also, think about this, whichever device you are reading this Blog on, Algorithms helped create it. Whether it be your Smart Phone, iPad, Laptop, desktop, or whatever device you prefer, the data structure on that device was created with an Algorithm. First, let us ask, what is an algorithm? An algorithm is a sequence of steps for accomplishing a task. Algorithms perform the calculation, data processing, and automated reasoning tasks. (Williams, 2020) The critical thing to remember is that IT has all been done before and follow the steps below. And we write algorithms in a step-by-step manner, but it is not always the case. Algorithm writing is a process and is executed after the problem domain is well-defined. That is, we should know the problem domain for which we are designing a solution. Data structure and categories of Algorithm are: Sea