Senior software developer Interview Questions in San Jose, CA | Glassdoor

Find jobs for senior software developer

Senior software developer Interview Questions in San Jose, CA

1,172

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.

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

32 Answers

Consider an X x Y array of 1's and 0s. The X axis represents "influences" meaning that X influences Y. So, for example, if $array[3,7] is 1 that means that 3 influences 7. An "influencer" is someone who influences every other person, but is not influenced by any other member. Given such an array, write a function to determine whether or not an "influencer" exists in the array.

12 Answers

Write a probability formula to tell how many bits will be changed when 1 is added to a 32 bit binary number.

11 Answers

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

10 Answers

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

11 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

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

6 Answers

Search a sorted array for the first element larger than k

7 Answers