I was given a take home test after an interview that took me a lot of time to complete. The project includes an API, realtime database backend and a mobile frontend with remote notifications.

Is there a software license I can include that would compensate me or prevent the potential employer from using my code in a future project if I don't get the job? I'm expecting to get an offer after submitting the project but I've done these tests before and want to protect myself.


1 Answer 1


If they didn't pay you for the project, then the code likely belongs to you. Be careful about NDAs

The code likely belongs to you unless they paid you, or you used company resources. The company may be unhappy that you leaked their "Confidential Candidate Assessment" test. leetcode.com and sites like it explicitly share interview questions from companies like Google, Facebook, etc, which make candidates sign NDAs, I've never heard of any company going after recruits who post questions and answers.

Honestly, any remotely reasonable company likely already assumes previous candidates have posted the answers. They (hopefully) change the test up a bit to make sure you can't just cut-and-paste.

  • 1
    I did use my personal computer and XCode by default includes a copyright header. I did not sign any NDA or agreement.
    – Stevenr12
    Commented Mar 4, 2019 at 18:25
  • Then it's almost certainly yours (I'm not a lawyer, FYI) Commented Mar 5, 2019 at 15:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .