Grokking Google Coding Interview
0% completed
Minimum Difference Between Largest and Smallest Value in Three Moves (medium)
.....
.....
.....
Like the course? Get enrolled and start learning!
A
Anonymous
· 2 years ago
I think the justification for the first example is wrong.
It should be that values 1, 14, 15 are converted to 5. So the array becomes [5, 5, 5, 5, 6] and so the difference becomes 1.
Reading Progress
0%