LeetCode Question · Apr 2024

Amazon OA

4 upvotes 2,063 views 7 replies

Question Details

public static int minimumNumberOfPages(List<Integer> pages, int days) { int max_page_day = Integer.MIN_VALUE; for(int i = 0; i < pages.sizes(); i++) { if(max_page_day < pages.get(i)) { max_page_day = pages.get(i); } } int low = 1; int high = max_page…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

General Experience