Arista Networks | Software engineer interview| Off campus
I recently gave Arista SDE 1 interview, it was an off campus opportunity.
College : IIT (2nd Gen), 4th year
Prev experience : intern at 2 companies
Questions:
It was a debugging question in C. The question was related to pointers, struct data type , forcing string to int then again to char sth sth. It took me some hints to solve.
DSA1 : given a circular linked list, i have to output two lists sth like
1-2-3-4-5-6 is given (circular), output will be two normal linked lists(1-3-5, 2-4-6), i had to do it inplace not making new lists, also had to write whole code from start to end.
also, got segmentation fault once , asked to explain the error, why, segmentation fault, when it happens and why
asked difference between binary tree and binary search tree
DSA2: Given a BST, give the kth smallest value.
Did all the questions, in first one i got stucked a bit and took one hints.
also wasted time on internet connectivity issue, dont think will get R2.
Edit:
Got R2 call and ig couldn't do as expected.
Interview started with discussion on my courses and projects, i had a CN project so the whole interview just escalated there only, asked about my project in details and terms related to it like sockets, tcp connection, how multiple clients connect to same sockets, how server distinguish messages from different clients?
server connected to rest of clients through one wire itself, how are these messages multiplexed into diff. sockets?basically related to multiplexing and demultiplexing,
osi model all stages in details,
then some normal qs, array vs vectors, hashmap internal implementation, collision handling, chaining, open addressing,
then OS questions: virtual memory, i actually fumbled in this and i know i couldnt explain the best what i had in my mind and what i spoke there, and there were some deep questions related to it,
then about process, process vs threads and some other questions.
interviewer said expected a little bit more deeper knowledge,
don't think will get R3.


