Maybe a case of shortsightedness, thinking, that they need to solve it in a javascript single page app framework and then forgot the basics about client server architecture, sending the solutions to the frontend, to check them right there. A beginner mistake.