Senior Interview Questions | Glassdoor

Senior Interview Questions

29,770

Senior interview questions shared by candidates

Top Interview Questions

Sort: Relevance Popular Date

Write some pseudo code to raise a number to a power.

10 Answers

pretty trivial...

int raise(num, power){ if(power==0) return 1; if(power==1) return num; return(raise(num, power-1)*num); }

double Power(int x, int y) { double ret = 1; double power = x; while (y > 0) { if (y & 1) { ret *= power; } power *= power; y >>= 1; } return ret; }

Given an array of numbers, replace each number with the product of all the numbers in the array except the number itself *without* using division.

8 Answers

The manager of component 'A' says his functionality is more important than that of component 'B.' The manager of component 'B' says his is more important than that of component 'A.' You can only implement one A or B, but not both - which do you choose to implement.

11 Answers

What sort would you use if you required tight max time bounds and wanted highly regular performance.

6 Answers

Suppose you are working on a project with an original scope of a few months and you are told that you instead now have a few days -- how would you handle it?

5 Answers

Tell me how you would scale a social media software platform?

3 Answers

how did you handle people who don't co-operate?

2 Answers

What would you do if senior management demanded delivery of software in an impossible deadline?

2 Answers

How do you influence people who do not report to you? How do you get them to do things even though they don't have to or want to?

2 Answers

What are the 6 TCP flags?

2 Answers
110 of 29,770 Interview Questions