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.
Solutions like this make me feel dumb af..
Great job!
I just posted a very similar solution and I hadn't even thought of the fact I don't need the initial if statement checking if they are equal. Nice one...
I figured out that I'm so dumb but anyway good solution
wow! impressive
Sn formula for arithemtic sequence is good :)
Now THAT is clever!
This is what I want.
This comment is hidden because it contains spoiler information about the solution
i thought that i was writing the code wrong but i check the solutions , copy paste it and when i press test i get "Solution
should test for something Expected: expected, instead got: actual" and when i press submit i get " unknow error " .
To begin with, you don't have to write your own tests, you can just submit.
There's some basic documentation here: https://www.codewars.com/docs/js-slash-coffeescript-test-reference. Also, look how tests are done in the katas you've solved.
hi! im kind a new here and i have no idea what to write to test the function. Im calling the solution function but i get an error, what am i suppose to write? thx
10% less than the candidate's
minSalary
. The job posted a max salary that is below the candidate's minimum accepted salary, but if it turns out to be a good match despite that, it can still be considered.Nice Catch! Changed the wording to "less than or equal to" the job's max salary. Thanks!
Maybe my inglish is not that good but when you say wiggle, does it not mean both direcctions? 10% more or 10% less, making the ( minSalary * 1.1 < maxSalary ) evaluate to false and that way the employer might find another jobb to him with a lot less maxSalary?