Software Interview Questions

748,248 software interview questions shared by candidates

Describe oops concept.What you know about collections.3rd highest salary.find only numbers in alphanumeric string,remove space with in word in string.which is the best way to retrieve using hashmap.how to make immutable class,all methods of object class
avatar

Software Engineer

Interviewed at Yodlee

3.6
Apr 3, 2016

Describe oops concept.What you know about collections.3rd highest salary.find only numbers in alphanumeric string,remove space with in word in string.which is the best way to retrieve using hashmap.how to make immutable class,all methods of object class

A rustic village contains one million married couples and no children. Each couple has exactly one child per year. Each couple wants a girl, but also wants to minimize the number of children they have, so they will continue to have children until they have their first girl. Assume that children are equally likely to be born male or female. Let p(t) be the percentage of children that are female at the end of year t. What is p(t)? "Can't tell" is a potential answer if you don't have sufficient information.
avatar

Senior Java Developer

Interviewed at Acuitus

4.4
Apr 6, 2010

A rustic village contains one million married couples and no children. Each couple has exactly one child per year. Each couple wants a girl, but also wants to minimize the number of children they have, so they will continue to have children until they have their first girl. Assume that children are equally likely to be born male or female. Let p(t) be the percentage of children that are female at the end of year t. What is p(t)? "Can't tell" is a potential answer if you don't have sufficient information.

Viewing 1361 - 1370 interview questions

Glassdoor has 748,248 interview questions and reports from Software interviews. Prepare for your interview. Get hired. Love your job.