It was an utterly disrespectful procedure. I was asked to code a simple 3D projection of the chessboard before any interview. After submitting the code, I got a message that after viewing my documents, they are not going to shortlist me.
Why send the code before even viewing my documents???