Coding Question for BJSS Interview