Alacriti interview question

java basic questions puzzles... cubes logical problems