A sneak peek on Data Structures
Data Stuctures...hmm when i started writing this post i thought why am i jumping to data structures so early? But then i thought since i was being a lazy bum for quite a while so why not Data structures; it's better than nothing! (and i can't not think of anything else at the moment)So , Data structures are here... The first question that one might ask is; seemingly what are data structures?? But there is an obvious answer in the name of the topic itself!
Data- it means any set of raw values in any format which we are interested in so that we can collectively process it to yield useful information!
Structure- it means any way of organizing. Be it data, variables or any heirarchy! It can be anything. Did you know that orgzanizing residential space can also be considered a sturcture, of course, high rise buildings are called super-structures in general terms..
Ok, so we have data and structures; 1+1=2. Yes, it is as simple as that! Organizing data according to specific parameters to yield useful information is creating a data structure.
Types: Some simple types are- Que, Linked list, Stack, Circular que, Tree etc;
-> que is simple, its just like data standing in line, with the first data packet getting processed first.
-> Linked list; when one data packet links to other, it is called a linked list. Its like elephants moving in circus holding each others' tail. ;)
-> Stack, just like plates stacked on top of each other.
-> Circular cue; what starts also ends at the same point.
-> Tree; the first thing that comes to one's mind when they hear the word tree is 'branch'. So data branching out towards other data is called a tree structure.

3 Comments:
ok urjit it was a bit hlpfull, ur deination for data structure was good.the code was missing
Hey very nice work here. Although it�s not what I was looking for. I am looking for info on Payday Loans or a Cash Advance. Very interesting site
I am using C++ now.
what is the sneak peek?
http://kenanlee.blogspot.com
Post a Comment
<< Home