ROSS VIDEO interview question

Implement a "dualton" in Java