I don't think it has to do with Java in particular, but rather with testing your algorithmic and problem-solving skills in general
How I am supposed to show my skills in one hour resolving a low level algorithm in a web IDE (this particular case)? All my "low level thinking" is pretty oxidized.
Maybe I am just wrong. A novel speaking.