Software Engineer 2 Interview Questions

666,163 software engineer 2 interview questions shared by candidates

2) You have 10 jars containing 100 marbles each. One jar has marbles weighing 1.1 grams. The other jars have marbles weighing 1.0 grams. The marbles all look alike. What is the minimum number of weighs on a scale to find out which jar has the heavy marbles.
avatar

Software Engineer

Interviewed at Pocket Gems

4.2
Oct 17, 2012

2) You have 10 jars containing 100 marbles each. One jar has marbles weighing 1.1 grams. The other jars have marbles weighing 1.0 grams. The marbles all look alike. What is the minimum number of weighs on a scale to find out which jar has the heavy marbles.

Implement a function - isSumPair(int[],sum) - which returns true/false if the given sum can be achieved from an addition on two integers in the given list (can appear more then one time and be positive/negative). Follow up - how to improve space complexity?
avatar

Backend Developer

Interviewed at Fiverr Inc.

4.1
Jul 18, 2020

Implement a function - isSumPair(int[],sum) - which returns true/false if the given sum can be achieved from an addition on two integers in the given list (can appear more then one time and be positive/negative). Follow up - how to improve space complexity?

Viewing 1881 - 1890 interview questions

Glassdoor has 666,163 interview questions and reports from Software engineer 2 interviews. Prepare for your interview. Get hired. Love your job.