We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Algorithms
- Implementation
- Fair Rations
- Discussions
Fair Rations
Fair Rations
Sort by
recency
|
733 Discussions
|
Please Login in order to post a comment
Here is my c++ solution: you can watch the explanation here : https://youtu.be/pAzUgM52d60
Whithout the if
SWIFT
string fairRations(vector B) { int result=0; int n=B.size(); for (int i=0;i
}
string fairRations(vector B) {
}
Haskell