That's an interesting point of view. You're saying the question text is copywrite-able but the logical conclusion of such a question is not?
That's an interesting point of view. You're saying the question text is copywrite-able but the logical conclusion of such a question is not?
It’s a legal construct, but I was never satisfied with that explanation. The gist was that while we could transform things that we learned or did, we could not re-use the ideas that formed the functioning product in other works elsewhere, even by transformation.
From the 1976 Copyright Act section 101:
https://www.law.cornell.edu/uscode/text/17/101
> A "derivative work" is a work based upon one or more preexisting works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which a work may be recast, transformed, or adapted. A work consisting of editorial revisions, annotations, elaborations, or other modifications which, as a whole, represent an original work of authorship, is a "derivative work".
With regard to the latter, I would guess, knowing how corporations work, that Hackerrank requires anyone taking a test to assign her rights, with respect to any solution given, to the company. (To be clear: I do not like that at all.)
In the US, the Copyright Act of 1976 extended copyright to unpublished works (Hackerrank presumably does not publish its own solutions, though it might well register them.) IANAL and AFAIK, I think there are fairly stringent requirements on fidelity for a work to be considered infringing, and there is also the matter of fair use, but in practice in this case, it is Github, not the courts, that Hackerrank has to persuade.
I would guess that publishing something that advertises itself as a solution to a Hackerrrank problem might fall under trademark infringement or some such law, and something stating the particular problem being being solved might be an infringement of a copyright on the problem as stated by Hackerrank.
Trade secret, rather. In fact, given the questions are supposed to be unpublished, those would more properly fall under trade secret law as well (except that the DMCA doesn't apply to trade secrets or any other form of IP other than copyright).