And if you read the other comments, if you put in full 4 hours you'll be rejected because there are people who will put in 8. And the hiring manager won't spend more than 20 minutes on your submission.
Well, you can also get rejected doing a few brain teasers in a row. Sometimes I even feel dumber at the end because I didn't "see the twist" or whatever.
I've done a few of those take homes, and none of them ever really took me more than an hour (and were accepted). I have 50+ side projects using a few standard templates I've made for myself, so I can knock these out really fast and just show what I can build