I'm genuinely amused you thought (think?) it acceptable to do such work without payment. Here, any potential employer submitting such a request would be laughed at.
But yes, its a pretty crappy idea that people should do 'real' work for free to get hired.
My biggest advice is if they say to use 4 hours but you need 8 to do an amazingly thorough job then use 8. It's basically cheating but I've always found that it doesn't end up causing any actual problems in terms of being able to deliver at a velocity they needed in actual product work post-hire.
> Quality beats quantity. If you smash the hell out of a take-home project you won't need to do any more interviews.
This means a decent amount of that time spent on documentation, imho.
And being on the other side of the interview, I know many times the takehomes don't even get looked at.
First job me believed that. Current job me has done 2 take homes that only lead to ghosts. then 1 more that lead to failing a leetcode style interview. Never again.
and I have plenty of personal projects outside of work, I don't need more pet projects like the one comment up stream.
I am happy that you are full of life and joy with programming. I genuinely want you to keep that, it is precious. However, they are getting free labour from you, so just keep that in mind.
For me, I can't do that anymore. I just can't muster up the energy to work on problems for something thats not going to be taken seriously by the "client"