Skip to content

Commit

Permalink
Redressed the problem statement for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
adelajaOlamilekan committed Jan 4, 2023
1 parent c4b629a commit e0ef7f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/0881-boats-to-save-people.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Given an array people[i] is the weight of the ith person,
and an infinite number of boats where each boat can carry a maximum weight of limit.
Given an array of people's weight, people[i] is the weight of the ith person,
and there is an infinite number of boats where each boat can carry a maximum weight of limit.
Each boat carries at most two people at the same time, provided the sum of the weight of those people is at most limit.
Return minimum number of boats to carry every given person.
Expand Down

0 comments on commit e0ef7f7

Please sign in to comment.