LeetCode
Question
·
Aug 2021
[Google] Design a uber-iterator given 2 separate non-decreasing iterator streams
1 upvote
460 views
3 replies
Question Details
Does leetcode have this question??? Problem statement: You\'re given 2 integer iterator objects of type Stream //guaranteed to give non decreasing output for getNext interface Stream{ int getNext(); boolean hasNext(); } Given Stream s1 and s2, design…
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
System Design