Neutrinos interview question

Hacker rank test