Senior software developer Interview Questions in United States | Glassdoor

Senior software developer Interview Questions in United States


senior software developer interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

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

11 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.

9 Answers

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

6 Answers

How would you scale access to a system like Twitter

3 Answers

For the years 1901 to 2000, count the total number of Sundays that fell on the first of a month.

3 Answers

Write a function to return the nth fibonacci number. The first two can be assumed to be 1 and 1. The third and fourth are then calculated to be 2 and 3.

3 Answers

How would you troubleshoot slow loading web pages and poorly performing stored procedures?

2 Answers

How would you build a BART train system.

2 Answers

How would you write a program to move inside a square spiral? Start at the upper left corner of the square and walk its edges clockwise. Just before re-approaching the upper left corner, spiral into the square instead, ultimately arriving at the center of the square.

2 Answers

Q: Why multiple inheritances are not supported in Java?

1 Answer
110 of 11,594 Interview Questions