Track Ruby
Ruby track

Grains

An exercise from the Ruby track
medium

About this exercise

Calculate the number of grains of wheat on a chessboard given that the number on each square doubles.

bitwise operations
math
View all solutions