- Difficulty: Medium
- Move coins between the given stacks to obtain a stack with the maximum possible number of coins.
- https://app.codility.com/programmers/challenges/spooktober_2021/
- https://app.codility.com/programmers/task/stacks_of_coins/
- Result
Good
: Correctness 100%, Performance 100%.OK
: Correctness 100%, Performance <100%.Fail
: Correctness <100%, Performance <100%.
- File naming convention
- Code
A
:Spooktober2021A.java
- etc
- Code
File | Complexity | Result | Report |
---|---|---|---|
A |
O(N) |
Good |
K8UTKP |
File | Complexity | Result | Report |
---|---|---|---|
B1 |
O(N**2) |
OK |
3G65FK |
B2 |
O(N) |
Good |
K7FAHH |
B2
is same concept withA
.