Repeatedly replace maximum element with floor of its square root
Filed under Arista Networks
The question
Given a vector of numbers, repeatedly remove the maximum element and insert the floor of its square root back into the collection k times.
No write-up yet. Related questions below have one.
Related Arista Networks questions
Collected from public candidate posts and coding forums. Updated Nov 2026.