This kinda defeats the purpose, but still the right call nonetheless
didnt know python has ternary operator
I like the idea of using a kwarg for the cache... I used a global variable and was wondering how I could have avoided it.
hi, please what is time complexity in code where you find the point in the loop ?
Yep, 'i' refers to the index of the row as the board is traversed with the 'every' function.
So it's mapping the ith element of each row and passing arrays representing individual columns into checkDigits().
wow, that's super weird
Much more efficient than adding all elements to a list
The next object in the loop
I wrote my own! Which is probably what someone would want to see anyways. Would probably use this function in my own code though. ^^
Can anyone explain why there is n / 2? Thanks