Given a Rubik's Cube with a side length of n, return the number of individual stickers that are needed to cover the whole cube. Pictures of Rubik's Cubes The Rubik's cube of side length 1 has 6 stickers. The Rubik's cube of side length 2 has 24 stickers. The Rubik's cube of side length 3 has 54 stickers.
by Tinatin Kvinikadze
2 years ago
PHP
Problem Solving
0
Pro tip: use ```triple backticks around text``` to write in code fences