GamifiedGamified challengesPracticeRaceLeaderboardPricing

Learn data structures by watching them move, then doing it yourself. Press M anytime to toggle sound.

A product of Amypo Technologies, Coimbatore.

Learn

  • Fundamentals & OOPs
  • Data structures and algorithms
  • Aptitude
  • Learning path
  • How it works
  • About dotprep

Practice

  • Practice arena
  • Daily challenge
  • Gamified challenges
  • Race mode
  • Leaderboard

Interview prep

  • Java interview
  • Coding questions
  • Company questions
  • System design
  • Jobs & careers

You

  • Dashboard
  • Settings
  • Pricing
  • Create account

© 2026 dotprep

Content last updated 27 November 2026

GamifiedGamified challengesPracticeRaceLeaderboardPricing
Log inStart free
Logical reasoningCubes and Dice

Cubes and Dice: practice

45 questions · 0 solved · log in to save your progress and earn XP

Question 1 of 15easy+5 XP
6×6×6, all faces painted
A cube painted on every face, then sawn into 6³ = 216 small cubes.

A 6×6×6 cube is painted on all six faces and then cut into unit cubes. How many of the small cubes have exactly two faces painted?

Questions

Revise the lesson: Cubes and Dice