Arista networks || SDE-2

Result
Rejected
Experience
4 years
Posted
11 Nov 2025
565 reads

Summary

I interviewed for an SDE-2 role at Arista Networks. The process included project discussions, system design concepts, and two coding problems. Unfortunately, I was rejected as my solution for the deadlock problem wasn't as optimal as expected.

How it went

I got a call from a recruiter via Naukri for an SDE-2 position at Arista Networks. I have 4 years of experience at an American MNC.

My first round involved a discussion about my past projects and how HTTPS works internally. Following this, I was given a small code snippet and tasked with finding a deadlock, discussing its nature, and resolving it. The interviewer provided an example scenario: 'A wants to transfer money to B, and at the same time, B wants to transfer money to A.'

The second question presented was a LeetCode problem: Time Based Key-Value Store.

The verdict was a rejection. While I solved the first question using a global lock, they were looking for a more granular level locking mechanism.

Questions asked (2)

  1. 01

    Deadlock Detection and Resolution in Code Snippet

    Data Structures & Algorithms · Hard

    I was presented with a small code snippet and asked to identify a deadlock, discuss its implications, and then propose a resolution. The interviewer gave an example scenario to illustrate the type of deadlock: 'If user A wants to transfer money to user B, and simultaneously, user B wants to transfer money to user A, how would you handle the potential deadlock?'

  2. 02

    Time Based Key-Value Store

    Data Structures & Algorithms · Medium

    This was a standard LeetCode problem where I needed to design a time-based key-value store. The store should allow setting a key with a value and timestamp, and retrieving the value of a key at a specific timestamp, returning the largest value whose timestamp is less than or equal to the given timestamp.

    Open the problem

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Arista Networks recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!