Squirrel carrying nuts to a tree

0
Remix

A squirrel, a tree and several nuts are on a grid. The squirrel carries one nut at a time to the tree, moving one cell up, down, left or right per step. Return the fewest moves to bring every nut to the tree.

AmazonCodingLast asked Mar 2026
No answer yet. Write the first one; the best answer gets endorsed.