Python Developers Interview Questions

6,401 python developers interview questions shared by candidates

Given 2 potentially infinite streams of key, value pairs where the keys are integers and are always greater than or equal to the previous key in the stream, write an algorithm to read from the streams and place the keys into 4 buckets where: - bucket 1 contains keys only in stream 1 - bucket 2 contains keys only in stream 2 - bucket 3 contains keys in both streams and where values are equal - bucket 4 contains keys in both stream but values are not equal
avatar

Python Engineer

Interviewed at Advisory Board

3.9
Mar 17, 2017

Given 2 potentially infinite streams of key, value pairs where the keys are integers and are always greater than or equal to the previous key in the stream, write an algorithm to read from the streams and place the keys into 4 buckets where: - bucket 1 contains keys only in stream 1 - bucket 2 contains keys only in stream 2 - bucket 3 contains keys in both streams and where values are equal - bucket 4 contains keys in both stream but values are not equal

Viewing 1161 - 1170 interview questions

Glassdoor has 6,401 interview questions and reports from Python developers interviews. Prepare for your interview. Get hired. Love your job.