Are you ready?Let's see who are the programming champs among you......
Try following question.....
1.Can you write a linked list of strings?
2.Can you write a pre-order traversal code for binary tree?
3.Can you write doubley ended queue?
Now answer the last one ...
4.Can you write a simple program of array in which you have to remove duplicates?
I know most of you have YES for first 3 questions but for the 4th one you are thinking.
Isn't t??
Here,I am pointing out those students who can write a linked list program within 5-10 minutes n the interviews but 15 minutes are not enough for them to write a simple static array program.
Thats why you answer many tough questions in the interviews but you fail to answer very basic but conceptual questions.And then you say .....O Shit..I had Tough Luck today!!
This is not Tough Luck friends.This is violation of common sense.This is consequence of having lot of technical skills without knowing basic concepts.
So trust me ...Nothing beats knowing the concepts.So don't waste your time in learning all junk things.Start learning basics with following question..
Your question.1-
You have following array..
7,3,2,6,4,8,9,1,5. You have to start with 7 and calculate 7+3,3+2,2+6,.....and so on.
So now write a C program to find the maximum value as explained above.
Your question.2-
In a special language any number is represented as a triangular pattern.
For example 10,37 and 107 are represented as shown below in the diagram...
Now write a program to input any number and print the pattern for the particular number.
Note that for numbers <=9 there is no pattern.
More basics Later On..
Kudos Ashish great work :-)
ReplyDeleteThis is very True.
ReplyDeleteFreshers should notice these things.....
very impressive for freshers and experienced in either ways its up to u how u look at it
ReplyDeleteit is good way to guide freshers,
ReplyDeletebut plz provide some ideas to overcome interview fobia......
...I will try these questions and get back to u.Thanx!
it's a good way to share ur ideas with others ...and it's very helpful not only for freshers but for every technical guy...
ReplyDeleteGreat mind at work
LoL........... :D
ReplyDelete