Software Engineer Java Interview Questions

664,753 software engineer java interview questions shared by candidates

Implement a function that takes the set-wise subtraction of two sorted sets of integers. ie A = {1, 2, 3}, B = {3, 4, 5} => A - B = {1, 2}. There can be duplicates, in which case all duplicates should be removed should there be an occurrence in B. IE: {1, 2, 3, 3, 3} - {2, 3} = {1}.
avatar

Software Engineer

Interviewed at Google

4.4
Mar 7, 2015

Implement a function that takes the set-wise subtraction of two sorted sets of integers. ie A = {1, 2, 3}, B = {3, 4, 5} => A - B = {1, 2}. There can be duplicates, in which case all duplicates should be removed should there be an occurrence in B. IE: {1, 2, 3, 3, 3} - {2, 3} = {1}.

Viewing 101 - 110 interview questions

Glassdoor has 664,753 interview questions and reports from Software engineer java interviews. Prepare for your interview. Get hired. Love your job.