What license should I use so that my interview code test is not used for free?
I recently got a take-home coding assessment assignment that was estimated at taking one day to complete.
After spending 4 hours on it already, I have a sneaking suspicion that the code I am writing in their repository will be used for their own work. There were a lot of twists and turns in this assessment (a CSV file that wasn't formatted correctly, implementing many time-consuming features that are not publicly available in the recommended framework, a pixel-perfect expectation, unit test requirements, and much more!). I'm an experienced developer who has actually had to build applications like this, so I know how much time it takes even a hotshot/unicorn/ninja developer to implement this.
So, what license could I apply to my work such that I would have legal grounds to sue if they decide to not give me an offer and instead use the free labor for their startup?