How does Google's Bunny Hopping Doodle Calculate Solution Length?

How does Google's Bunny Hopping Doodle Calculate Solution Length? - Three Brown Bunnies

Today's doodle is about bunnies hopping on tiles, and writing code to get the bunny to every tile

I've done some testing on level 3 and found that loops, movement, and turning all count as 1 for solution length (loop, move, move, turn -> solution length 4)

Level 3 Code Level 3 Score

Using that knowledge I went on to solve level 4, but the solution length does not match what I did

Level 4 Code Level 4 Score


Is my way of calculating the solution length incorrect, or is Google wrong about the minimum solution length for level 4?


Also came across this issue on level 6

Level 6 Code Level 6 Score






Pictures about "How does Google's Bunny Hopping Doodle Calculate Solution Length?"

How does Google's Bunny Hopping Doodle Calculate Solution Length? - Serious black student writing mathematical example on blackboard
How does Google's Bunny Hopping Doodle Calculate Solution Length? - Blackboard with handwritten mathematical example for solve on lesson during studies in classroom of university
How does Google's Bunny Hopping Doodle Calculate Solution Length? - Woman Writing On A Whiteboard





How Google Search Works (in 5 minutes)




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Dávid Bencz, Monstera, Monstera, ThisIsEngineering