Earn extra honor and gain new allies!
Honor is earned for each new codewarrior who joins.
Learn more
  • 9130211?v=3

    Going to be pedantic, but this will throw an error if job.maxSalary or candidate.minSalary is a falsy value, which is not what the spec ("If either the candidate's minimum salary or the job's maximum salary is not present, throw an error.") says.

    What about those unpaid internships that'll give you "experience" and "get your name out there"?

  • 14909989?v=3

    Also, in this case it doesn't matter at all because the answer already becomes infinity well before n = 1000. You're just not going to supply a number bigger than recursion limit (which is typically at least a few thousand).