Algorithm · SoFi · Easy
Requirements The input is a flat List encoded in consecutive triples: an id, a name, and a tag for one GIF, followed by the same three fields for the next GIF. Implement the following function, which receives the GIF data, a target tag, and a page identifier: Remove duplicate GIF records before applying pagination. From the deduplicated records, return every record with the requested tag that belongs to the specified page. Keep the surviving records in the relative order…
Checking your access…