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.
Why ? Not able to compute right answers? :D
This comment is hidden because it contains spoiler information about the solution
""Ghost objects are given a random color attribute of "white" or "yellow" or "purple" or "red" when instantiated""
Please read this carefully
I think it converts the string to a IntStream, a stream object of the code points of each of the chars in that string? And you can use other methods on said stream object. Ex: "123".chars().toArray() gives you {49,50,51} and (char) 49 == "1".
Can anybody explain please the str.chars() method?
Clean Code ♥
cool :)
I just tried doing this and had the same problem :o
Very glad, that Durudo posted the correct way
oh boi thats original the same idea that i had :)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
YEEEES :D Congrats to the other Warriors
ok nice, so simple! i thought too complicated :D
way to easy for 5 kyu imho
realy nice task - satisfied
Loading more items...