Comment hidden because of low score. Click to expand.
0
of 0 vote

I might have a solution for this.

1. Put the data in some sort of node which has value and previous pointer.

2. Have 3 pointers (top1, top2 and top3) which show the top of the stack, initially pointing to null.

3. As the node comes in, depending on which stack it has to go into, you change the pointer "top(i)".

4. All nodes point to the previous node. Whenever pop() on any stack is called, it will simply move top(i) node to the previous pointer.

5. Pushing the node is O(n) as you will have to go through all the nodes so see which one of the places in array are empty.

6. For count, you can either maintain another location for caching which will be O(1) in memory and time. Update this number as we pop or push.

- maumad September 18, 2008 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Yes. Depends on your background. I personally know one guy with Mechanical Engg background and SDE @ Microsoft.

- Sprinter January 19, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Yes. Depends on your background. I personally know one guy with Mechanical Engg background and SDE @ Microsoft.

- Sprinter January 19, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Yes. Depends on your background. I personally know one guy with Mechanical Engg background and SDE Microsoft.

- Sprinter January 19, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Yes. Depends on your background. I personally know one guy with Mechanical Engg background and SDE at Microsoft.

- Sprinter January 19, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Yes. Depends on your background. I personally know one guy with Mechanical Engg background and SDE at Microsoft.

- Anonymous January 19, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

SDE in amazon. It will be hard to move back back to dev profile after working 4-5 years in testing. Though I know people who have moved to SDE from SDET in both M$ and Amazon. You should do you own maths, compare salalries, location, work-life balance, growth prospects and "what actually you will love to do" before deciding.

- Saurabh January 19, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

SDE in amazon. It will be hard to move back back to dev profile after working 4-5 years in testing. Though I know people who have moved to SDE from SDET in both M$ and Amazon. You should do you own maths, compare salalries, location, work-life balance, growth prospects and "what actually you will love to do" before deciding.

- Saurabh January 19, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

SDE in amazon. It will be hard to move back back to dev profile after working 4-5 years in testing. Though I know people who have moved to SDE from SDET in both M$ and Amazon. You should do you own maths, compare salalries, location, work-life balance, growth prospects and "what actually you will love to do" before deciding.

- Saurabh January 19, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

SDE in amazon. It will be hard to move back back to dev profile after working 4-5 years in testing. Though I know people who have moved to SDE from SDET in both M$ and Amazon. You should do you own maths, compare salalries, location, work-life balance, growth prospects and "what actually you will love to do" before deciding.

- Saurabh January 19, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

SDE in amazon. It will be hard to move back back to dev profile after working 4-5 years in testing. Though I know people who have moved to SDE from SDET in both M$ and Amazon. You should do you own maths, compare salalries, location, work-life balance, growth prospects and "what actually you will love to do" before deciding.

- Saurabh January 19, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

I have had at least 10 interviews in the past month, and have not seen a problem that I cannot solve using Java.

- Anonymous January 19, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

plz mail me to sikarwar.vinay@gmail.com

- vinay January 22, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

what about cisco ?

- saks January 27, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Hey,

I have an interview after tomorrow for an intern position as well at Google.
If you don't mind, can you tell me what kind of questions they asked you, what are the topics they stress on and how it went in general ? If you have any advice to give me, it will definitely help !

Thanks :)

- anonymous January 30, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Hey, 

I have an interview after tomorrow for an intern position as well at Google.
If you don't mind, can you tell me what kind of questions they asked you, what are the topics they stress on and how it went in general ? If you have any advice to give me, it will definitely help !

Thanks :)

- anonymous January 30, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Hey, 

I have an interview after tomorrow for an intern position as well at Google.
If you don't mind, can you tell me what kind of questions they asked you, what are the topics they stress on and how it went in general ? If you have any advice to give me, it will definitely help !

Thanks :)

- anonymous January 30, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Hey, 

I have an interview after tomorrow for an intern position as well at Google.
If you don't mind, can you tell me what kind of questions they asked you, what are the topics they stress on and how it went in general ? If you have any advice to give me, it will definitely help !

Thanks :)

- anonymous January 30, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Hey,

I have an interview after tomorrow for an intern position as well at Google.
If you don't mind, can you tell me what kind of questions they asked you, what are the topics they stress on and how it went in general ? If you have any advice to give me, it will definitely help !

Thanks :)

- pigipan January 30, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Hey, I have an interview with google in two days for a internship as well. If you don't mind, can you tell me what kind of questions they asked you, what they really stress on and how it went in general? Any advice you could give will definitely help. Thanks :)

- pigidan January 30, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Hey, I have an interview with google in two days for a internship as well. If you don't mind, can you tell me what kind of questions they asked you, what they really stress on and how it went in general? Any advice you could give will definitely help. Thanks :)

- ei32e January 30, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

test

- ei32e January 30, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

I hope you get selected man. I have 4th interview tomo for internship. Can you paste the ques they asked you?

- abhirajpande January 30, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

I hope you get a host man. i have interview tomo. Can you post ques they asked you?

- abhirajpande January 30, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

I hope you get a host man. i have interview tomo. Can you post ques they asked you?

- abhirajpande January 30, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

I hope you get a host man. i have interview tomo. Can you post ques they asked you?

- abhirajpande January 30, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

I hope you get a host man. i have interview tomo. Can you post ques they asked you?

- abhirajpande January 30, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

I hope you get a host man. i have interview tomo. Can you post ques they asked you?

- abhirajpande January 30, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

a

- abhirajpande January 30, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

44k45h@in.com
thnx

- aakash01 January 30, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

44k45h@in.com
thnx

- aakash January 30, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

thnx

- 44k45h@in.com January 30, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

44k45h@in.com

- aakash January 30, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

44k45h@in.com

- Anonymous January 30, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

I hope you get a match. I finished my interviews yesterday. How many days do they take to get back?

- abhirajpande February 01, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

please mail it to daniel.kong6@gmail.com

- daniel February 01, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

please mail it to daniel.kong6@gmail.com

- daniel February 01, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

and

mail it to daniel.kong6@gmail.com

- daniel February 01, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Hey i hope you get the call. I had google interview for internship too. Its been 2 days and havent heard from them. What do you think I should do?

- abhirajpande February 02, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

I hope you get the call. I had interview with Google for summer internship. I completed all the telephonic interviews on monday but haven't heard from them till yet. Does that mean I am not selected? When is the right time to mail the HR for follow-up?

- Abhiraj February 02, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Hello! My email address is issacmiracle@hotmail.com. Thanks!

- issac February 03, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Hello! My email address is issacmiracle@hotmail.com. Thanks!

- issac February 03, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Hello! My email address is issacmiracle@hotmail.com. Thanks!

- issac February 03, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Did you get it?

- abhirajpande February 03, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

No, it doesn't mean you're not selected. Every company will tell you (or at least intends to tell you) if you've been rejected. A delay doesn't indicate anything at all.

- Gayle L McDowell February 04, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

No, it doesn't mean you're not selected. Every company will tell you (or at least intends to tell you) if you've been rejected. A delay doesn't indicate anything at all.

- Gayle L McDowell February 04, 2012 | Flag
Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.