Interview Questions

1. Motorola Interview Question

This is one of the question asked for me in Motorola interview, Bangalore.
How do you sort an array in least time given that memory is not a constraint?

Start with your pen and paper soon.

Try hard!!! You will definitely find the solution…

Leave a comment to reach me with your mail ID. I will write back to you with the answer.

2. Adding a node to linked list

The node in a singly linked list (but not the head of the linked list) and an item to insert is given. how can you insert the item just before the given node?

If tired of trying, then leave a comment to reach me with your mail ID. I will write back to you with the answer.

If not yet bored read on. This question and many more to follow have appeared when we were at our final year, BE CS&E in UBDTCE, Davangere. Those were the days when we were preparing heavily for interviews. My friend Manjunath G.N (Chatri Manju) has collected this question and he was told by one of our seniors.
As I am doing now, everyone would cherish each and every moment of their college life!!!.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: