Daily challenge for 2026-09-20
628. Find the First Missing Book
You are given a sorted list of unique positive integers books, representing the IDs of books currently on a shelf. The book IDs should start from 1 and increment by 1. Find the ID of the first missing book. If no books are missing before the end of the list, return the next expected ID.
Example:Input: books = [1, 2, 4, 5]Output: 3
Run this challenge interactively in Python or JavaScript when the app loads.