Allocate Books || Binary Search
[Question]: Given an array of integer numbers, ‘arr[i]’ represents the number of pages in the ‘i-th’ book. There are ‘m’ number of students, and the task is to allocate all the books to the students. Allocate books in such a way that: 1. Each student gets at least one book. 2. Each book should be […]
Allocate Books || Binary Search Read More »