Anonymous interview question

Basics of java and nodejs