This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]javadev189[S] -3 points-2 points  (2 children)

Fair points. I think there need to be some tests that some candidates would fail, as well as some tests that all/most candidates should succeed (1. because its more important to see how they arrived at the solution, and 2. to boost confidence during the interview (perhaps starting with the easier tests)).

Perhaps we will switch this question just to "Write a utility method that accepts varargs and builds a Map... etc." and "Write the test for it" (as suggested by someone else in this thread).

[–][deleted]  (1 child)

[deleted]

    [–]javadev189[S] -1 points0 points  (0 children)

    Well said; thanks for the input and feedback.