Software Developers Interview Questions

96,137 software developers interview questions shared by candidates

A frog is at the bottom of a 30 meter well. Each day he summons enough energy for one 3 meter leap up the well. Exhausted, he then hangs there for the rest of the day. At night, while he is asleep, he slips 2 meters backwards. How many days does it take him to escape from the well?
avatar

Financial Software Developer

Interviewed at Bloomberg

4
17 May 2010

A frog is at the bottom of a 30 meter well. Each day he summons enough energy for one 3 meter leap up the well. Exhausted, he then hangs there for the rest of the day. At night, while he is asleep, he slips 2 meters backwards. How many days does it take him to escape from the well?

Trees are placed in a straight line at index positions starting from 1. We are to place monkeys on the trees such that each pair of monkeys are at maximum distance. If we're given the no. of trees and the no. of monkeys, write a function returning the maximum distance between two adjacently placed monkeys.
avatar

Software Developer

Interviewed at Aristocrat

3.3
5 May 2016

Trees are placed in a straight line at index positions starting from 1. We are to place monkeys on the trees such that each pair of monkeys are at maximum distance. If we're given the no. of trees and the no. of monkeys, write a function returning the maximum distance between two adjacently placed monkeys.

Given a string with only ')' and '(' find if the string is complete or not. If the string is complete means that each open paranthesis should have a corresponding closed one. Eg: String s= "((()))()"- Complete String String s1=")()()()())))(()()()((" - Incomplete String
avatar

Software Developer

Interviewed at Google

4.4
24 Feb 2012

Given a string with only ')' and '(' find if the string is complete or not. If the string is complete means that each open paranthesis should have a corresponding closed one. Eg: String s= "((()))()"- Complete String String s1=")()()()())))(()()()((" - Incomplete String

Viewing 1 - 10 interview questions

Glassdoor has 96,137 interview questions and reports from Software developers interviews. Prepare for your interview. Get hired. Love your job.