Thursday, April 22, 2010

Data Structures and Algorithms - Episode 1: Sorting Algorithms (Bubble Sort)

When starting to learn to program, whatever the language may be, the first and foremost concern should be thorough understanding of the concept of an 'Algorithm'. We know that computer is a machine which operates on a sequence of instructions fed to it by the human in order to function and/or solve a particular problem. This sequence of instructions formally is known as an algorithm. An algorithm in plain English say is understandable to a human while when written in a programming language it is understandable by the computer. Sorting is one of the basic problems when we are dealing with a sequence of items (say numbers). In this article, the known Sorting methods would be discussed and demonstrated starting with "Bubble Sort".

1 comments:

jeeva ni on December 10, 2011 at 10:50 AM said...

Hi frenzzzzzzzzzzz
Iam happy with this post.........

Post a Comment

 

How to C++

Today there's 1000 many resources on C++ on the internet. 'How to C++' being one of them, provides you with easy to understand articles, tutorials and links on C++ fundamentals, STL, Win32 and MFC. Also find useful readings and tutorials on Data Structures, Algorithms and OpenGL in C++.

About Me

I am a Research Assistant at Concordia University, Montreal, Canada. I Teach C++ and OpenGL. Also I work as a freelance UI Researcher/Designer.
- Noorulain Khurshid

Followers

How to C++ Copyright © 2009 Blogger Template Designed by Bie Blogger Template
EasyHits4U.com - Your Free Traffic Exchange - 1:1 Exchange Ratio, 5-Tier Referral Program. FREE Advertising!