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.
In the description you didn't mention that n is the first argument that the function takes so it was confusing before clicking on train
Approved.
Approved by someone
Great
The description did not describe at all what transparency operation actually do: it replaces every pixel that did not change between two frames to the "transparent" palette.
Notably, it removes the possibility of removing only some of these pixels to achieve a better compression.
Haskell translation for approval
thank you for the translation
Cool solution, but it wouldn't work for x and y > 9
Better to use Maybe Int in Haskell
Haskell translation for approval
I don't understand how adamm which would become mmada is a palindrome ?
This comment is hidden because it contains spoiler information about the solution
I'm almost siting all night, trying to solve this task. If you are so smart find error in my solution! Why it doesn't pass random test?
function permuteAPalindrome (input) {
let arr = input.split('');
const uniqueArr = [];
for (let i = 0; i < arr.length; i++) {
if (arr.indexOf(arr[i]) === arr.lastIndexOf(arr[i])) {
uniqueArr.push(arr[i]);
}
}
if( (uniqueArr.length < 1) || (uniqueArr.length === 1) ) return true;
else if (uniqueArr.length > 1) return false;
}
Haskell translation waiting for approval
You should specify the bound on the number of stones in the initial configuration.
Loading more items...