Holly molly!! This is insane. I mean, an almost week-long homework for a job? I had a case where a company made me do a script which took me 4 hours and I thought that was too much.
Anyhow, I don't think you'd actually be happy to work at this place. I mean, if this is what they expect, and this is how they operate, the place is probably a mess.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.