You should probably study data structures and algorithms, and a bit of mathematics (especially number theory, codewars' authors love number theory ^^).
I just started using codewars today and this SEEMS much more complicated and confusing than what we do in school (even though it might not be). I just haven't really encountered classes yet and it seems strange. Any tips to get up to speed with the standard of tasks on this platform?
I was completely inattentive when I confirmed the translation, a day of lack of sleep due to machine learning made itself felt... I hope I was able to correct the translation, if you find any shortcomings, let me know. Have a productive day everyone :)
Have you considered that maybe this kata is not an introduction to vectors, but an exercise on vectors ( with some light programming thrown in ) ? And in that light, the description is not bad.
There are other kata that might introduce you to vectors, after which you may find this one less daunting.
But please don't blame this kata for not being something it is not.
this is CodeWars not GeometryWars
^ Then why is it a 8 kyu kata then?
It should be at least 7/6 kyu for it's complexity
You should probably study data structures and algorithms, and a bit of mathematics (especially number theory, codewars' authors love number theory ^^).
I just started using codewars today and this SEEMS much more complicated and confusing than what we do in school (even though it might not be). I just haven't really encountered classes yet and it seems strange. Any tips to get up to speed with the standard of tasks on this platform?
Same. I wrote up an ugly if..else condition only to realize to see this solution pop up.
my pleasure
thanks
This comment is hidden because it contains spoiler information about the solution
Ahh, that task is that easy..
Thanks a lot mate, this was very useful.
I was completely inattentive when I confirmed the translation, a day of lack of sleep due to machine learning made itself felt... I hope I was able to correct the translation, if you find any shortcomings, let me know. Have a productive day everyone :)
Beautiful
What makes you think the two vectors are not parallel?
Have you considered that maybe this kata is not an introduction to vectors, but an exercise on vectors ( with some light programming thrown in ) ? And in that light, the description is not bad.
There are other kata that might introduce you to vectors, after which you may find this one less daunting.
But please don't blame this kata for not being something it is not.
sorry it was my mistake, i didn't write right code. sorry
Loading more items...