CodingReported in a candidate post, Jul 2025
Hammer and Plank Problem
Filed under Arista Networks
The question
Given two types of hammers and n planks with varying strengths, type 1 breaks a plank in one hit (limited to k uses), and type 2 reduces strength by 1 per hit. Find the minimum hits to break all planks, the indexes of planks broken by type 1, and the count of type 2 hits.
No write-up yet. Related questions below have one.
Related Arista Networks questions
Collected from public candidate posts and coding forums. Updated Nov 2026.