Grokking Google Coding Interview
Ask Author
Back to course home

0% completed

Vote For New Content
Justification for first example

cam.dimitrislos

Nov 5, 2024

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.

1

0

Comments
Comments

On this page