I was sent a HackerRank Test a week after applying. It was the virtual machine test exactly as someone else on here described. It was absolutely terrible because the test input was not getting recognized for whatever reason. In the main method signature it had "String args[]" as the parameter instead of "String[] args" (I was using Java 8), but even changing it myself did nothing aa the arguments were always empty. The question in general was unnecessarily hard for simply screening for an internship. I moved to the second question and just gave up because the questions were not described well enough for me to know exactly what I was expected to do. I already got an internship from a smaller company and just wanted to test the waters with other opportunities I had so I did not even bother.