Senior Software Engineering Interview Questions | Glassdoor

Senior Software Engineering Interview Questions

4,608

Senior software engineering interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular 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

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

6 Answers

How would you peform an SSH connection between these two PCs. I can't give you any information on these PCs, just do it.

4 Answers

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.

23 Answers

Traverse nodes in a binary tree

11 Answers

In a stream of integers from 1 to n, only one number will be repeated. How can you tell what that number is?

10 Answers

what's wrong with the following code : <template type T > T accumulate ( vector<T> in) { T total = in[0]; for (int i =0; i < in.length() ; i++) { total = total + in[i]; } return T }

7 Answers

Create a stack of numbers where the maximum number is always known.

7 Answers

Implement a base 3 adder which takes two strings as input and returns a string

6 Answers
110 of 4,608 Interview Questions