Data Structure and Algorithms


“Smart data structures and dumb code works a lot better than the other way around.” – Eric S. Raymond, The Cathedral and The Bazaar

Learning about data structure and algorithms makes you a stonking good programmer. Data Structure and Algorithms are patterns for solving problems. Well,what you exactly understand by algorithms? According to wikepedia, algorithms are defined as – An ambiguous specification of how to solve a class of problems. In a simple language, I would call it a set of instructions to complete a certain task.

Why Algorithms?

Consider a situation, you want to make an app which searches in a specific city for the shortest road to reach a specific destination. Now if you don’t have a source, what will you do? you would find minimum path among all described paths and would calculate its distance, which is time consuming process. So the solution of this problem is you need a specific method i.e Algorithms to do this fast.

This is a simple example, a lot of other problems may take hours or days to be solved with the native solution, it also may take years ! can you imagine! watch this :

Big problems can be solved using algorithms. Understanding algorithms lets you understand the problems those algorithms were built to overcome. That understanding will help you immensely in your dat-to-day Work, because those problems are basic logic and computer science problems that pop up everywhere, no matter if you’re working on business software, hardware drivers, games or mobile apps.

Why Data Structure?

Now, you need to store the data so that it can be further manipulated and can be accessed easily. For example, company name XYZ needs to manage the details of their employees, their login details, account management and many more details. These details need to be stored. So it can be done using structure, a list is maintained using linked list, to know which employee had joined earlier can be determined by stack or queue. 

Uses of data Structures:

The immediate application comes to the mind is Database Management, i.e to manage data. But mind you , use of structures stretches much beyond database management. They can be used for variety of purposes such as:

  • Changing the size of the cursor.
  • Clearing the contents of the screen.
  • Placing the cursor at an appropriate position on the screen.
  • Drawing any graphics shape on the screen.
  • Receiving a key from the keyboard.
  • Checking the memory size of the computer.
  • Finding out the list of equipment attached to the computer.
  • Formatting a floppy.
  • Hiding a file from the directory.
  • Displaying the directory of the disk.
  • Sending the output to printer.
  • Interacting with the mouse.
  • To find out the shortest path.
  • To sort the list using various sorting techniques.
  • To search any no. using various searching techniques.

and many more. The list is never ending.





2 thoughts on “Data Structure and Algorithms

  1. Zack Buesgens says:

    Thanks for sharing superb informations. Your web-site is so cool. I am impressed by the details that you’ve on this website. It reveals how nicely you understand this subject. Bookmarked this website page, will come back for more articles. You, my pal, ROCK! I found just the information I already searched all over the place and just could not come across. What an ideal website.

  2. Krystal Drugan says:

    Some really excellent content on this website, thank you for contribution. “Once, power was considered a masculine attribute. In fact, power has no sex.” by Katharine Graham.


Leave a Reply

Your email address will not be published.