Pregunta de entrevista de Arista Networks

First round was technical Need to debug and modify a wrongly written python code to make it achieve what the function name as suggests It was simple but not that easy