Software Engineers Interview Questions

419,267 software engineers interview questions shared by candidates

You have a worker and a gold bar. The worker will work for you for 15 days. He must have x/15 of the gold bar after the xth day of work. What is the minimum number of cuts of the gold bar you need to make to pay the worker?
avatar

Software Engineer

Interviewed at Citadel

4
Nov 30, 2017

You have a worker and a gold bar. The worker will work for you for 15 days. He must have x/15 of the gold bar after the xth day of work. What is the minimum number of cuts of the gold bar you need to make to pay the worker?

We have m slots for ads and n ads, each ads will have different revenue on differnet slot, design an algorithm to find out the best fit (find m ads in n ads and order them so that they can make max money, white board coding) .
avatar

Senior Software Engineer

Interviewed at Google

4.4
Jan 15, 2011

We have m slots for ads and n ads, each ads will have different revenue on differnet slot, design an algorithm to find out the best fit (find m ads in n ads and order them so that they can make max money, white board coding) .

Design an algorithm to play a game of Frogger and then code the solution. The object of the game is to direct a frog to avoid cars while crossing a busy road. You may represent a road lane via an array. Generalize the solution for an N-lane road.
avatar

Software Engineer

Interviewed at Google

4.4
Mar 19, 2009

Design an algorithm to play a game of Frogger and then code the solution. The object of the game is to direct a frog to avoid cars while crossing a busy road. You may represent a road lane via an array. Generalize the solution for an N-lane road.

Viewing 1391 - 1400 interview questions

Glassdoor has 419,267 interview questions and reports from Software engineers interviews. Prepare for your interview. Get hired. Love your job.