Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
exactly ! expect(powerOf4(20), false) should be included in tests
your solution is wrong
powerOf4(20) returns true which is wrong
You are right. There was a mistake in the description. Now It is changed to:
Hi!
Why there is test Test.assertSimilar(vm.vending(12, {4:5}), {2:1, 6:1}); expecting to return {2:1, 6:1} ? Vm can accept minimun required 3 coins of value 4 and return 2 unused. So total number of change out coins is equal 2 in both cases