Merge Chat Message Windows
Problem overview from a real Reddit interview:
Deduplicate overlapping Reddit API responses using a scan instead of a set. Sort input IDs, track the highest ID, and model message version history.
Check more interview questions and experiences about Reddit
