LeetCode Question · Aug 2019 · San Francisco

Lyft | Phone Screen | Intersection Iterator

7 upvotes 4,686 views 11 replies

Question Details

Given two sorted iterators. Implement IntersectionIterator which returns only common elements in both iterators. If you are not familiar with Iterators check similar questions. public class IntersectionIterator implements Iterator<Integer> { public...

Full Details

🔒

Unlock all Lyft questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a lyft interview for a swe role during the phone screen round reported in 2019.

It covers the following topics: Coding .

Topics