Question

Total number of cubic blocs are 50. To construct a solid cube with none left over, what will be the minimum numbers that needs to be taken?