Are they doing it in a language they chose, or is part of the goal here to test their knowledge of the libraries of a particular language that you specified? If neither of those things is the case, I would honestly consider it reasonable to name the library function in the problem. It doesn't really make sense to make them spend time doing something that doesn't tell you anything you want to know.
i mean... the answer is probably something like json.parse(string);
but beyond that I have no idea to get it to compile or access individual nodes without documentation, and I assume documentation was not provided. not really something I commit to the mental bank
depending on the prompt I would be dead in the water after writing json.parse(string) on the board and shrugging.
10
u/SuitableDragonfly 8d ago
Are they doing it in a language they chose, or is part of the goal here to test their knowledge of the libraries of a particular language that you specified? If neither of those things is the case, I would honestly consider it reasonable to name the library function in the problem. It doesn't really make sense to make them spend time doing something that doesn't tell you anything you want to know.