Mia has $4$ different shirts, $4$ pairs of socks, and $3$ different crowns. How many different outfits (1 shirt, 1 pair of socks, 1 crown) can she choose?
A $5 \times 5$ square grid is colored like a chessboard, starting with an orange square at the top-left corner. How many orange squares are there in total?
Xem đáp án và lời giải
Đáp án: $13$
Bảng $5 \times 5$ có $25$ ô, số ô màu cam là $\lceil 25 / 2 \rceil = 13$.
A full binary tree has $1$ root at level $0$, $2$ nodes at level $1$, and doubles at every next level. How many nodes are there in total from level $0$ to level $3$?
Xem đáp án và lời giải
Đáp án: $15$
Tổng số nút là $1 + 2 + 4 + \cdots + 2^{3} = 2^{4} - 1 = 15$.
Mia has $4$ different shirts, $4$ pairs of socks, and $3$ different crowns. How many different outfits (1 shirt, 1 pair of socks, 1 crown) can she choose?
A $6 \times 6$ square grid is colored like a chessboard, starting with an orange square at the top-left corner. How many orange squares are there in total?
Xem đáp án và lời giải
Đáp án: $18$
Bảng $6 \times 6$ có $36$ ô, số ô màu cam là $\lceil 36 / 2 \rceil = 18$.
A full binary tree has $1$ root at level $0$, $2$ nodes at level $1$, and doubles at every next level. How many nodes are there in total from level $0$ to level $3$?
Xem đáp án và lời giải
Đáp án: $15$
Tổng số nút là $1 + 2 + 4 + \cdots + 2^{3} = 2^{4} - 1 = 15$.