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.
I really like this solution ngl, clever!
gg
So clever. good luck!
That one is crazy gg
That's a good one, I wrote sorted(arr[0]) and it didn't work so I wrote another code. Yours just made some clarity. I had the right idea but wrong syntax.
it is for begginers like me so i think the perfomance is not important.
Makes sense. I was comparing with worst case performance.
This comment is hidden because it contains spoiler information about the solution
This isn't efficient at all.
You need to think about rounding in this kata.
I print the matrix. It shows [[5]]. My code returns 5.
I get the error, should be 4.
[[5]]
[[5]]
5.0
✘ Determinant of a 1 x 1 matrix yields the value of the one element: 4 should equal 5
That was fun. I was glad not to find any solution that was way shorter than mine :)
This was great. My first attempt was a brute force approach. Took forever to get right, very difficult, then the runtime was too long. Then I rethought it, taking a more clever approach. Very easy to code.
I like how the brute force approach makes this seem hard, but the clever approach makes it easy!
Python version of Mykhailo_Yuschenko's question
print htmlize(cells)
shows
Got
âââ
âââ
âââ
instead of
âââ
âââ
âââ
Know how to fix this for Python?
This is expected.
Loading more items...