Challenge: Greedy Algorithms
Explore how to implement a greedy algorithm that stores books on shelves with a fixed length to use as few shelves as possible. Understand the step-by-step logic and analyze its time and space complexities while practicing coding this algorithm in C++.
We'll cover the following...
We'll cover the following...
Let's practice what we've learned so far.
Task
We’ve been hired to store a sequence of ...