Software Engineering Interview Questions in San Jose, CA | Glassdoor

Software Engineering Interview Questions in San Jose, CA

6,122

Software engineering interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

how would you find the shortest path between two nodes in a social network?

7 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

Write a function that computes log2() using sqrt().

7 Answers

Generate a new array from an array of numbers. Start from the beginning. Put the number of some number first, and then that number. For example, from array 1, 1, 2, 3, 3, 1 You should get 2, 1, 1, 2, 2, 3, 1, 1 Write a program to solve this problem.

7 Answers

Find Kth smallest element in a BST.

8 Answers

Given a binary tree, write a function to find the length of the longest path in the tree.

8 Answers

Imagine dropping a Rubik's Cube into a bucket of paint. How many of the cubes will get paint on them?

7 Answers

Given set of coins and each coin has its unique probability to be head up, say double[] probs stores the probability values for all coins, print out all different cases and accordingly probability.

8 Answers

Given an array, print the largest subarray that has elements in an increasing order

9 Answers

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

10 Answers