CoursesAmazon Coding Interview

Capacity to Ship Packages

Ship packages in the given order within D days — each day loads consecutive packages up to the boat's capacity. Find the smallest capacity that ships them all in time.

Lessons
9
Exercises
31
Minutes
48
  1. 1

    Decode the Problem

    Multiple choice
    3 exercises
    5 min
  2. 2

    Approach Check

    Multiple choice
    4 exercises
    5 min
  3. 3

    Build the Brute Force

    Code orderMultiple choiceTrace
    3 exercises
    5 min
  4. 4

    Find the Bottleneck

    Multiple choice
    2 exercises
    4 min
  5. 5

    Discover the Optimal Approach

    Multiple choiceTrace
    3 exercises
    5 min
  6. 6

    Assemble the Algorithm

    Code orderMultiple choice
    2 exercises
    5 min
  7. 73 exercises
    6 min
  8. 8

    Test and Analyze

    Multiple choice
    3 exercises
    5 min
  9. 9

    Boss BattleBoss

    Complete codeCode orderMultiple choiceTrace
    8 exercises
    8 min
AlgoFox Pro

Amazon Coding Interview is part of AlgoFox Pro

You can read the whole course outline here. The exercises are in the app, along with your streak, your mistake review, and the progress that carries across your devices.

Pro starts with a 3 day free trial. The app store decides who is eligible for an introductory offer, and a lapsed subscription does not get another one.

Download AlgoFox on the App StoreGet AlgoFox on Google Play

Already subscribed in the app? Sign in with the same account and Pro works here too. Quick Play and Battle are free on the web, and so is the first course in every subject.