Engineer Software Interview Questions

419,836 engineer software interview questions shared by candidates

Let’s pretend four travelers with different weights arrive at river on a dark night. There’s only one flashlight and only two travelers can cross via the single boat at a time, and the time that it takes to cross the river is the greater weight (e.g. if two passengers have weights of 5 & 20, it takes 20 minutes for the two people to cross one direction and 5 for the person with the flashlight to return for additional passengers). If the four travelers have weights of {1, 2, 5, 10}, what’s the configuration that will get everyone across in the least amount of time?
avatar

Software Engineer

Interviewed at 8x8

3.3
Nov 13, 2014

Let’s pretend four travelers with different weights arrive at river on a dark night. There’s only one flashlight and only two travelers can cross via the single boat at a time, and the time that it takes to cross the river is the greater weight (e.g. if two passengers have weights of 5 & 20, it takes 20 minutes for the two people to cross one direction and 5 for the person with the flashlight to return for additional passengers). If the four travelers have weights of {1, 2, 5, 10}, what’s the configuration that will get everyone across in the least amount of time?

Question 1:Given an m*n matrix with all its elments=1. Also given a list of (x,y) points. The question was to make the elements of xth row and yth column as zero. Optimise it. Question 2: Array Pair sum, provide O(N) solution
avatar

Software Engineer

Interviewed at Cloudera

4.1
Nov 19, 2013

Question 1:Given an m*n matrix with all its elments=1. Also given a list of (x,y) points. The question was to make the elements of xth row and yth column as zero. Optimise it. Question 2: Array Pair sum, provide O(N) solution

Viewing 3351 - 3360 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 419,836 interview questions and reports from Engineer software interviews. Prepare for your interview. Get hired. Love your job.