arista logo

Arista Interviews

2 experiences36 reads8 questions0% success rate
Arista Frontend Engineer - Round1
arista logo
Arista
Frontend EngineerRejected
September 4, 202533 reads

Summary

I recently had a Round 1 interview for a Frontend Engineer position at Arista, where I was primarily assessed on my JavaScript fundamentals and problem-solving skills. Although I demonstrated proficiency in some areas, I was ultimately not selected for the role.

Full Experience

I participated in the first round of interviews for a Frontend Engineer role at Arista. The interview largely focused on core JavaScript concepts, including the understanding of this context in different scenarios, function manipulation methods like call and bind, and prototypal inheritance. I also faced a practical coding challenge to implement a custom reduce function. While I managed to answer most of the questions, I struggled a bit with one of the prototypal inheritance questions, which I couldn't fully solve on my own during the interview. Despite my efforts, the final outcome was that I was not selected.

Interview Questions (4)

Q1
JavaScript 'this' Context Output
Other

I was asked to determine the output of the following JavaScript code snippets, specifically how the this keyword behaves in both a regular function call and a strict mode function call:

function test1() {
console.log(this);
}
test1();

"use strict"; function test2() { console.log(this); } test2();

Q2
Invoking Function with Specific Context and Arguments
Other

The interviewer presented a scenario with a function and an object, and asked how to invoke the function such that its this context refers to the provided object, while also passing specific arguments:

function introduce(city, country) {
console.log(${this.name} is ${this.age} years old from ${city}, ${country});
}

const person = { name: "ABC", age: 20 };

Q3
Calling Function from Object via Prototype
Other

I was given a Person constructor and a standalone sayHello function. The challenge was to enable calling sayHello as a method of an object created by Person, such as p1.sayHello(), given the following initial code:

function Person(name) {
this.name = name;
}

const sayHello = function() { console.log(Hello, I am ${this.name}); };

const p1 = new Person("Arjun"); p1.sayHello(); // calling sayHello from object

Q4
Implement Custom Array.prototype.reduce
Data Structures & Algorithms

I was tasked with implementing my own version of the Array.prototype.reduce function, named customReduce, which should replicate its standard behavior.

Arista SDE 2 Interview Experience
arista logo
Arista
SDE 2Pune3.8 years
July 8, 20253 reads

Summary

I interviewed for an SDE 2 role at Arista and successfully received an offer after 2 rounds, which included DSA, System Design, and a discussion about my past projects.

Full Experience

Hi All,

Time to give back to the community.

YOE - 3yrs 10months Current Company - MNC (Bank) Current CTC - 21.4 LPA + 10% Variable

Got approached by recruiter on linkedin.

It was a 3 round process, DSA , System Design, HM.

Round 1 :

  • Interviewer asked for the preferred language. I went ahead with java.
  • 1st Question - Find number of segments whose sum is zero. Straight forward prefix sum with hashing.
  • Follow Up - Modify the program so that it will work for any sum.
  • 2nd Question - More on java basics. Question was where we have three different methods, one with int parameter, next with int[] parameter, lastly with an object of a class. All three methods were changing the values of the parameter. Need to figure out what will be the impact on those objects.

funA(int a) {a++} ; funB(int[] a) {a[0] = 1} ; funC(Object a) {a.value++} ;

main(){ int a = 0 ; int[] b = {0 , 1} ; Object c = new SomeClass() ; funA(a) , funB(b) , funC(c) ; print a print b print c }

above is just a psuedo code.

Got a call after 1 week for scheduling the next round which was scheduled 3 weeks later, It was an in-person interview.

This was my first in-person interview so was bit nervous.

Round 2 : We had some discussion around the my past projects and why some of the technologies were used.

Interviewer asked to design an e-commerce system. Need to do it on white board. The interview involved in-depth discussions across multiple areas.

Got a call in 2 hours that they are going ahead with the offer without the 3rd round.

Received Offer Last week: Base : 28LPA RSU - 45k USD (25% each year) Bonus - 400,000 PF+Gratuity - 2.4 LPA

Location - Pune Tech Stack - Go/Python

Total First Year Comp - 44.5 LPA

Also have couple of more offers in hand so will try to negotiate more.

Amazon Interview Experience- https://leetcode.com/discuss/post/6911864/amazon-sde-2-interview-experience-by-ano-yd64/ Rubrik Interview Experience- WIP

Interview Questions (4)

Q1
Find Number of Zero-Sum Segments
Data Structures & AlgorithmsMedium

Find number of segments whose sum is zero.

Q2
Find Number of Segments with Any Given Sum
Data Structures & AlgorithmsMedium

Modify the program so that it will work for any sum.

Q3
Java Pass by Value/Reference with Primitive, Array, and Object
OtherEasy

Question was where we have three different methods, one with int parameter, next with int[] parameter, lastly with an object of a class. All three methods were changing the values of the parameter. Need to figure out what will be the impact on those objects.

funA(int a) {a++} ;
funB(int[] a) {a[0] = 1} ;
funC(Object a) {a.value++} ;

main(){
    int a = 0 ;
    int[] b = {0 , 1} ;
    Object c = new SomeClass() ;
    funA(a) , funB(b) , funC(c) ;
    print a 
    print b 
    print c
}

above is just a psuedo code.

Q4
Design an E-commerce System
System DesignHard

Interviewer asked to design an e-commerce system. Need to do it on white board. The interview involved in-depth discussions across multiple areas.

Have a Arista Interview Experience to Share?

Help other candidates by sharing your interview experience. Your insights could make the difference for someone preparing for their dream job at Arista.