Desarrollador Sr Java Interview Questions

713,807 desarrollador sr java interview questions shared by candidates

Given a 2d array of zeros, there may be a rectangle (block) of 1s. Return the top left coordinates of the rectangle. ie. [[0,0,1],[0,0,1],[0,0,1]] returns (2,2) The second question was how to solve it if you had to find many rectangles.
avatar

Software Engineer

Interviewed at Roblox

3.8
Sep 3, 2020

Given a 2d array of zeros, there may be a rectangle (block) of 1s. Return the top left coordinates of the rectangle. ie. [[0,0,1],[0,0,1],[0,0,1]] returns (2,2) The second question was how to solve it if you had to find many rectangles.

1. You are given x amount of balls, all but two are red, all but two are green, all but two are blue. How many balls do you have? 2. Why are manhole covers circular? 3. There are x amount of balls in a bag, 8 are red, 4 are green, 4 are blue. You are blind folded. What is the least amount of balls you have to pull out of the bag to be 100% sure you have 1 of every color.
avatar

Junior Developer

Interviewed at Techport Thirteen

4.3
Jul 28, 2015

1. You are given x amount of balls, all but two are red, all but two are green, all but two are blue. How many balls do you have? 2. Why are manhole covers circular? 3. There are x amount of balls in a bag, 8 are red, 4 are green, 4 are blue. You are blind folded. What is the least amount of balls you have to pull out of the bag to be 100% sure you have 1 of every color.

Viewing 1821 - 1830 interview questions

Glassdoor has 713,807 interview questions and reports from Desarrollador sr java interviews. Prepare for your interview. Get hired. Love your job.