Coding Challenge · BEGINNER
A bookstore tracks the number of copies sold for each book in a given week. To highlight popular titles, the manager wants to identify the index of the book with the highest sales. If multiple books share the highest sales, return the smallest index among them. Given an array of integers representing weekly sales for e…