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.
Brilliant and simple at the same time
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
That depends on the design goals of the _if function. If the design goal is clarity and constraint to only work with procedures, then the _if function is fine. But if the design goal is flexibility and versatility, then your statement is correct.
Shorter description:
Create a function that removes specific bird species, known as 'geese', from a provided list.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Clever
This comment is hidden because it contains spoiler information about the solution
The description made shorter:
Calculate the sum of numbers in an array until the first occurrence of 0.
Amazing.
Sweet.
Shorter description:
Given two strings, determine if there is a common substring longer than one letter.
Return true if found, false if not. Case-insensitive.
Beautiful
Shorter/clearer description:
A bus makes several stops in the city, picking up and dropping off passengers at each stop.
You are given a list of pairs, where the first number represents passengers boarding at a stop,
and the second number represents passengers disembarking at that stop.
Your task is to find the number of passengers remaining on the bus after the last stop.
Keep in mind that the bus starts empty at the first stop and the result cannot be negative due to test case constraints.
Loading more items...