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.
JavaScript
@rscharfer Don't modify the passed argument
inp
This comment is hidden because it contains spoiler information about the solution
In the example has
solve("v") = True
but not tested inJava
Test Cases.This comment is hidden because it contains spoiler information about the solution
Also why
The Wall blocks your way
has no full stop butYou do not have a ship to cross this sea.
Very similar to
Don't Eat the Last Cake!
https://www.codewars.com/kata/dont-eat-the-last-cake
Nice Kata.
Storm
is spelled wrongly asStrom
.Test.assertEquals(actual, expected[, msg])
.Headlines
format, awhitespace
is required between#
and thetext
.Also, add a
for-loop
to test it maybe 1000 times at least.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I mean the
22 AminoAcids
.The pitfall of
HashMap
is abouthash code collision
andrehash
right?Such collision will cause extra LinkedList-style traversal.
I made a
HashMap<Protein, Set<proteinId>>
. Failed attest_4_500000
. Any clue?You're right
Thx for the reply
Loading more items...