They gave two assignments and asked me to finished them before the interviews. It costs me about two weeks. But they only spent 2 hours talking about the assignments. In the end, they didn't even give a formal rejection letter. I think it is really unfair and I swear I won't take job interview like this any more.