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.
lmao.jpg
a more simple question, can you give comments on how this solution works? Thanks~!
I'm not understanding how this works. How am I misunderstanding?
using System.Linq;
public class Kata
{
public static object FirstNonConsecutive(int[] arr)
{
//create a variable count and set it equal to the value of the first index in arr a.k.a arr[0]
}
PS I know this answer is correct, I'm not challenging that. I just want help to understand how it works. Thanks if you see this!
Прикольно, но не суперочевидно для такой простой задачи
That's similar to my solution, but looking at the others there are better options.
)
Хитро ты это придумал...
Awesome