I kind of can't wrap my mind for this answer. What do you mean by, "It can be done in constant time if you treat division and multiplication operations as constant time with the size of the number. "?
This comment is hidden because it contains spoiler information about the solution
Loading collection data...
I kind of can't wrap my mind for this answer. What do you mean by, "It can be done in constant time if you treat division and multiplication operations as constant time with the size of the number. "?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution