Software Engineering Interview Questions in San Jose, CA | Glassdoor

Software Engineering Interview Questions in San Jose, CA


Software engineering interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

Implement a function rotateArray(vector<int> arr, int r) which rotates the array by r places. Eg 1 2 3 4 5 on being rotated by 2 gives 4 5 1 2 3.

18 Answers

Given a list of n objects, write a function that outputs the minimum set of numbers that sum to at least K. FOLLOW UP: can you beat O(n ln n)?

15 Answers

Given the daily values of a stock, find how you can lose the most with one buy-sell trading.

14 Answers

Find a sequence with max sum in an array of negative and positive real numbers.

15 Answers

Phone interview 1 : a) Simulate a Queue with stacks ? b)Find repeated occurrence of character in a string ? Phone interview 2 : a) Given a 2D matrix of numbers find the position of number . Constraints of matrix number always in increasing order left to right and top to bottom . b)When should version control be used . And a tricky discreet math problem ?

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

26 Answers

You are trying to rob houses on a street. Each house has some +ve amount of cash. Your goal is to rob houses such that you maximize the total robbed amount. The constraint is once you rob a house you cannot rob a house adjascent to that house.

14 Answers

Find number of ones in an integer.

13 Answers

Implement a function string balanceParanthesis(string s); which given a string s consisting of some parenthesis returns a string s1 in which parenthesis are balanced and differences between s and s1 are minimum. Eg - "(ab(xy)u)2)" -> "(ab(xy)u)2" ")))(((" -> ""

13 Answers

Given an array of integers, now we want to erase all 0's (can be other value), and we want the result array condensed, meaning no empty cell in the array.

16 Answers