Personally I do terrible at those hackerrank puzzles and tests in general. However given an actual project with an actual assignment I will shine. I think it has to do with visualizing what I am doing. If I get a puzzle and its just like those hackerrank questions I seem to lose what the purpose is.
So if there are tests with hey fix this thing with an actual site or at least try. Then yeah I am all for those tests.