Arista Networks Software Engineer (New Grad / Campus) interview rounds

Software Engineer (New Grad / Campus)

Difficulty: Hard · Timeline: ~2-4 weeks · Recommended prep: 8-10 weeks · Cooldown: ~6 months

  1. Round 0: HackerRank Online Assessment

    Assessment · ~90 min · difficulty 3/5 · elimination round

    Mode of interview: Online assessment · HackerRank

    Sample question: Shortest path in a grid — given an R x C grid of 0s and 1s (1 = obstacle), print the minimum number of 4-directional moves from the top-left to the bottom-right cell, or -1 if unreachable. Input: R C, then the grid rows. Reported in Arista's campus OA as a BFS-with-obstacles problem.

  2. Round 1: Technical Interview 1 — DSA from scratch in C/C++

    Onsite · ~60 min · difficulty 4/5 · elimination round

    Mode of interview: Onsite or virtual onsite interview

    Sample question: Reverse a singly linked list in groups of k — define the node struct yourself, build the list from input, and reverse every group of k nodes in place using only raw pointers (no STL). Input: n k, then n values; print the resulting list. It is highly probable you get one linked-list or tree question in this round.

  3. Round 2: Technical Interview 2 — C/C++ internals, memory and OS

    Onsite · ~60 min · difficulty 4/5 · elimination round

    Mode of interview: Onsite or virtual onsite interview

    Sample question: Implement my_printf(const char* fmt, ...) using <cstdarg> supporting %d, %s and %c, writing characters with putchar only. Follow-ups: what does int *x[10] declare vs int (*x)[10]; why can sizeof a struct exceed the sum of its members; how does the struct hack / flexible array member work?

  4. Round 3: Technical + HR wrap-up

    Behavioral · ~60 min · difficulty 2/5

    Mode of interview: Live behavioral interview