GIF Catalog Pagination by Tag

Asked at SoFi · Coding Questions · Difficulty: Easy · Last asked Jun 24, 2026

A GIF service stores its catalog as one flat list of strings. Every GIF takes three consecutive entries: its `id`, its `name` and its `tag`. Build a function that returns one page of the GIFs that carry a given tag, after removing repeated records and keeping the catalog order.

Loading the problem…