Saturday, September 29, 2007

Regionalism in our country..

A serious problem to put across you people: Regionalism in our country..

It can be understand as a Virus for the betterment of the society. Because anyhow it is applying the barriers for some people who doesn't belong to the particular region. It seems to very awkward but even after that it happens now a days in almost every field in our daily lives, you can easily see more than one examples in fact into daily routine of ours..

Let me start from the Sport category, where the selectors focus on the regional players (from the region they belong) rather than the players who really perform well, which ultimates try to add fuel to fire among youths who then present their aggression somehow...

It happens in politics also. A politician even if he is central minister (actually not even true for all but to a few of them) when once gets the power, does the duty for the region only from where he got selected. Doesn't he has something to do for the welfare of other regions? Actually they think, if they do like this that will keep their people happy for the ease of win the next time election. You are not only representing the state or a district but your duty towards country gets more priority here..if you do like that, does it lead the country to the developement?

In fact, in the educational areas this virus is spreading with a very fast speed. Often a teacher awards a student with more marks or grades who belong to his region which is quite tragically ridiculus that you (even after being a teacher, so great post can be thought of as a developer of the society) are keeping other students' career on stake just because of this deadly virus named regionalism..

There are so many examples which can surely increase the size of this blog beyond the limit, but here it's enough to get you people know about the serios problem occuring in our society. So not only the knowledge about the problem is rquired but also the solution is required with deep need and it is also clear that not a single step from a single person can behave like a firewall for it, we have to build a MASSIVE BARRIER for such problems so that those problems can't breach our security against such viruses...

Break Ups: Pain or An opportunity..

Hi friends,

This time I ve decided to write a blog on the topic which I was given in the GD sesion of my TCOM ie "Break Ups: Pain or An opportunity..". We had a healthy session over there but due to shortage of time we couldn't reach on a conclusion, this is what i am trying to cover here.
First of all I would like to clear one thing in the start that breakup isn't something related to Love relations specifically, it may also be associated with your jobs. Think it in a broader way!

It's really painful to have a breakup. As all believe that when we fall into something with heart(it might be a relation or a job, I already told you to think like that!), initially we applied all the potentials we had in our nerves just for the sake of the success of that thing but when it seems that things aren't getting done in the expected way then breakups occur and it is natural and obvoius then to feel the pain for humanes.

What is required in such kind of situations, is to analyse whether adjustment can stop the mishappenings of the things or not. Say, in love-relations whether the fights can be solved by talks or little bit of adjustment from both sides or not. Another example of the same, you get a job and by time you became quite emotionally attached with it but suddenly scenario becomes against you now think what is the options you have for rectifying the problem whether you should consult with your seniors or you should put some more efforts to avoid such things so that this natural phenomenon of suffering from that obvious pain can be ignored. If yes, try to solve it that way for the betterment of your mental peace. Else, assimilate it with a wounded organ of your body which isn't getting recovered and a single option is remained that is the replacement with the newer one by surgeries..

Thus when there is really no option left to overcome from the problem, look at the WORLD which then seems to be full of new and better oppounities because it's not feasible even to write that you want to live the rest of life for just the sake of living because as you want to live, you couldn't!

Be practical and enjoy each and every color of life..HAPPY LIVING!

Saturday, September 22, 2007

Dustbin..

Hey..

Dont blame upon your eyes, yes you are watching the blog on "Dustbin"(ji haan KACHRAA-PETI)... I know, it's little surprising to see a blog on such a topic, I dont know if you have watched the similar discussion somewhere by someone! None can write on it until or unless one knows its importance. Importance of dustbin, again a surprise!

See, Dustbin is something which collects the useless stuffs or say garbage. What if there wouldn't have been such dustbins!

Think, yes think about the situation then..There won't be a single place where you can put the wastes, such garbage or waste will be spreading everywhere. Then not a single place will remained worth living, even before putting a step ahead people will have to think a lot to decide where to put it!

Seriously it will become impossible to imagine such situation! Because it's something which helps us to improve the way we live, to manage the things by removing the stuffs which are not usable. In other words, It removes the dirt from our life and makes it dirt-free, clean and healthy!


In computer science, there are so many languages which implements the same concepts through "GARBAGE COLLECTOR", infact on a simple configured computer has a "RECYCLE BIN". See, even such big scientists and research-doers prove its importance globally!

There is something to learn from it, so kind it is!It takes the waste from others and let them live freely. If we cant remove the unwanted (and unusable) things of others, how can we expect a dustbin to collect our waste even it's doing the same thing...

Do the fights solve the matter?

Hi friends!

You would have often seen the people having fights with each other upon the several big or small issues. This blog is something to do with this only!

I dont understand why and how people get into it? Surely there would have been enough trust and support for each other when they started the relation, then where has that trust and support gone at that time??

Every issue can be solved by simply having serious as well as honest talk to each other. Almost in every case there happens a single misunderstanding which can be removed if involved people wish to do the same. Even the big wars have successfully stopped by applying the same funda and I dont think that situation becomes so worst among such people generally?

People destroy their sweet relations only because of just fights. If they really want to avoid it, they should think properly about he whole matter and let the other involved person present his/her thinking behind the same! Think about the sweetness and smoothness of the relation, think of the good past memories, surely It wont led you to fight thus it helps you to save the relation...

The fights also disturb the balance of your mind, you cant even think the things in the way you generally do.. So you can imagine the side effects of such nonsense of fall into such destructive stupid fights!

I would like to advise you readers please do not let you involve into such worthless fights for the sake of your relation as well as for your mental peace..

Tuesday, September 18, 2007

Sunday, that wasn't like a SUNDAY..

It was 10:00 am in the morning of sunday; 16th september 2007 but that was not like other sundays! We (the 2007 batch NCSTians) were watching each other's faces while sitting in the lecture hall for the extra session of DS which was going to be start in a while by our Raman Sir..The irony of the title is also true for him, as he too was sacrificing his sunday!

But the lecture was really a GOLDEN GLIMPSE towards what we learnt so far in that subject including some extra applications as well as important do's and don'ts.. And this time my blog is dedicated to that lecture, I mean I m trying to cover a little part of it (little because what I got was while several iterative rounds of sleeping-awakening)! Oh wait, dont estimate that I am trying to say that lecture was boring, THAT WAS AWESOME but the SUNDAY WAS ON ITS FULL and we generally used to spend our time in some other manner on sundays, if that session hadn't there!

So, Raman Sir is requested to forgive me if I go wrong at some point in it and to rectify those mistakes so that people; like me can take benefits of this blog. Sorry to non-NCSTian friends this time for being specific about NCST!

Let me pray to God and allow me to start:-

Variable selection in recursion:

Actually Recursion refers to a function calling itself. Whenever we need to check the status of a variable after each and every pass, we declare it as GLOBAL variable. If the need of the variable is just satisfied after each pass then we declare it LOCAL.

DFS & BFS:

It refers to Depth First Search and Breadth First Search. In DFS (if we talk about in terms of DS like TREE), as the name suggests, we first go to the deep of that node explore its children and then we explore it and its siblings. We implement it through STACKS..

While in BFS, we first explore the siblings of a node and after that we do the saem to its children. We can implement it by the help of QUEUE.

Application of Stack in Postfix notation:

Suppose we have an expression in postfix notation: "(2 3 + 5 6 * -)" then to solve such kind of expression we take the help of stacks. First the operands(2,3 etc.) will be pushed into stack. We popped two operands( or one operand) as soon as a binary operator(+, - etc.) (or unary operator like ++,-- etc)comes!Then push the result into the stack.

For example::-

Push 2,3 first. As + comes, both pop up and added which results into 5 into stack. then push 5,6. As * comes pop 5,6 and push the result 30 into the stack, as - appears pop those remained values 5,30 and perform the -.Which results into Final value of (-25).

Queue and Circular Queue:

As we know, queue can be implemented only with the help of two varibles front and rear while for the implementation of Circular queue we need to have these variables with some other like size, count, apart from it we also perform modulus operation for overcoming the limitation of normal queue which comes into picture when front becomes equal to rear and it shows the queuefull exception while it is totally empty.

We can also implement it without those extra variable but tehn code becomes little complex. In that case we have to check whether front crosses the rear(for queueEmpty exception) or the rear crosses the front(for queueFull exception).

Deletion in tree:

The hardest operation in tree, I suppose is deletion. While doing it, we should chech the following steps first:

  • Determine Node to be deleted is the leftnode or the rightnode of its parent.(say LCorRC)

  • When leaf is to be deleted-First findnode. then findparent, check LCorRC. Then delete it.

  • When Node to be deleted has only one child-First findnode. then findparent, check LCorRC. Finally delete it by attaching LC (or RC which is not nul) to its parent!

  • When Node to deleted has two children- Well after performing above operations I think its not very difficult to do this operation, actaully I ve to cover up all other stuffs so IM LEAVING THIS TO YOU PEOPLE to consult from any good book.(This is the best way to GET RID OF IT...hahahahahaha)

Let me provide a scratch of code to elaborate the following:-

Tree to array conversion:

It's supposed that you already have the class Node and int arr[].
public void t2a(node n,int p)
{
if(n!=null)
{
arr[p]=n.data;
t2a(n.left,2p);
t2a(n.right,2p+1);
}
}

Find the node in Binary search tree & in Binary tree:
//IN BINRAY SEARCH TREE..
public Node find( Node n, int i)
{
if(n!=null)
{
if(n.data==i)
return n;
else if(n.data>i)
return find(n.left,i);
else
return find(n.right,i);
}
return null;
}
//IN BINARY TREE..
public Node find(Node n, int i)
{
if(n!=null)
{
if(n.data==i)
return n;
Node temp=find(n.left,i);
if(temp!=null)
return temp;

return find(n.right,i);

}
}

for further queries click onto:::--http://gnyan.ncb.ernet.in/~dsalfac/

Saturday, September 15, 2007

Think before you select!

Again a very critical but real word problem related blog this time! What I do, before writing the blogs I use to do an Exercise which leads me to write such blogs which can help the readers as it is one of the main experiences I faced in this very short span of my life..

Let's start with the topic, it's about the selection of people for any relation whether he is going to be a friend, a partner and or whatever you like..:-

"Sometimes people come into our life with a REASON!"

Almost people surrounding you dont belong to this above mentioned category. Actually our maximum contacts are SEASONAL...I mean inspite of their quite presence they couldnot be able to impact us like a especial ones~

We too have been habitual of such phenomenon because we dont stress ourselves to keep such persons into our minds more than a few seasons..As the weather changes, such friends also keep on changing!

But sometimes fortunately we get such persons who come into our life to make us learn something, something very important which can even change the way we live our lives..

They can learn us something related to our professional field, or it might be concern to our personnel lives or simply it could be new nice things we can do to our daily routines for the sake of improvement of living anyhow..

We learn to live it in a better way! It improves the living of ours. So you can guess the importance of such person's arrival!

But the biggest problem arises when we become confuse in the selection of such persons, sometimes we often place the persons interchangeably between these groups which ultimately affects our lives as we has done the blunder of placing the wrong person to the wrong place!

So before starting any relation please keep in mind If you start it without prior thinking it may be throw you in infinte loop of thinking afterwards! I think you've got what I want to write... It needs a round of thinking to place a person under the specified two categories!

Tuesday, September 11, 2007

MUSIC..

Hi..

Even while thinking of the topic; I was feeling whether I would be the eligible candidate to write over it or.. But later on, I thought Everything which exists in the universe contains A SORT OF THE MUSIC in itself...Yes I mean the UNIVERSE IS FULL OF MUSIC! Since start from the birth of a child, crying of the mother gives the unique music, crying of the child gives the different music to his/her parents, his/her trials of speaking gives different feel of the music to them! Singing by a professinal produces the Sweet varinace of music.

Sound, Voice, Noise are the kinds of the music. Sometimes Sound, voice seems to be MELODIUS, we expres our feelings about that but sometimes it becomes unbearable to hear it then we try to stop that noise!I think you might be getting the difference among them...

We pay attention on the music which we want to hear, else we ignore. What I mean to say is VALUE OF THE SAME MUSIC CAN BE DIFFERENT FOR DIFFERENT PEOPLE. People may like it or dislike it depending upon the situation.. Suppose A professional presenting a song; there are two persons listening him, one is normal and the other one has come there after having a fight with his wife which is still making him Anxious so how can we think the same reactions from both of them for that singer?

Have you ever imagined the Universe without the MUSIC, DONT EVEN TRY! How can we express ourselves. The things would be getting stucked then. No task is supposed to be completed. System might go fail! That means, Everyhting in the universe is REASONABLE GIFT by the ALMIGHTY! So it'll difficult to even doing such mistakes like this.

But if we look a little upon this creation of the God, we can actually takes a measurable benefits! Even in some medical centres MUSIC is the remedy for several surfferings! Suffered people knows its real value and importance.

Explore MUSIC WITHIN YOURSELF & YOUR SURROUNDINGS, it'll definately helps you in living the life in a better fashion, SO START FROM NOW!