Daily challenge for 2026-08-14
591. First Unreturned Library Book
You are given two lists of integers: checkedOut representing the IDs of books checked out in order, and returned representing the IDs of books that have been returned. Return the first book ID in checkedOut that has not been returned. If all checked-out books have been returned, return -1.
Example:
Input: checkedOut = [101, 102, 103, 104], returned = [102, 104]
Output: 101
Run this challenge interactively in Python or JavaScript when the app loads.