I don't know. The Chinese doesn't look right to me. How about 哪个语言的语法是最难的？ or 最难的语言语法是哪(一)个？
Your first translation is indeed more idiomatic than the other two (given and your second one).
The classifier for languages is 种. It's currently accepted too.
And the answer is??