Filter interviews by
I applied via Recruitment Consulltant and was interviewed in Jan 2024. There was 1 interview round.
The question asks to find the memory of a given structure by considering struct padding.
Struct padding refers to the unused bytes added to align the members of a structure.
To find the memory of a structure, we need to consider the size of each member and the padding added.
The total memory of a structure is the sum of the sizes of its members and the padding.
Code to find the position of a number in a BST
Implement a recursive function to traverse the BST
Compare the target number with the current node value
If the target is smaller, go to the left subtree; if larger, go to the right subtree
Repeat until the target is found or the subtree is null
A Trie is a tree-like data structure used for efficient retrieval of strings. It supports insertion and search operations.
A Trie is also known as a prefix tree.
Each node in the Trie represents a character.
The root node represents an empty string.
Each node can have multiple children, each representing a different character.
Insertion involves traversing the Trie and creating new nodes as needed.
Search involves traversing...
Q1 - Delete all entries of a given number from a linked list.
Q2 - Find inorder traversal of a BST (with and without recursion).
Binary search and design a data-structure to do insert, delete and get random in O(1)
Arista Networks interview questions for popular designations
I applied via Company Website and was interviewed in Sep 2023. There were 3 interview rounds.
There were 2 coding questions and 20 aptitude questions. Coding questiins were based in trees and graphs
Use Floyd's Tortoise and Hare algorithm to detect cycle in a linked list.
Initialize two pointers, slow and fast, at the head of the linked list.
Move slow pointer by one step and fast pointer by two steps.
If they meet at any point, there is a cycle in the linked list.
If fast pointer reaches the end of the list, there is no cycle.
Get interview-ready with Top Arista Networks Interview Questions
DSA round of 1 hour and asked 2 Medium level LC questions
A cache is a high-speed data storage layer that stores a subset of data, typically transient in nature, so that future requests for that data are served faster.
Define the cache size and eviction policy
Choose a suitable data structure for the cache (e.g. hashmap, linked list)
Implement methods for adding, retrieving, and removing data from the cache
Consider concurrency control mechanisms to handle multiple access to the ...
I applied via LinkedIn and was interviewed in Jan 2024. There was 1 interview round.
Design a routing table with insert, delete, and forward functionality in a defined class.
Create a class called RoutingTable with methods for insert, delete, and forward
Use a data structure like a hash table or tree to store routing information
Implement insert method to add new routes, delete method to remove routes, and forward method to look up and forward packets
I applied via Referral and was interviewed in Nov 2023. There were 2 interview rounds.
I applied via Approached by Company and was interviewed in Mar 2024. There was 1 interview round.
Had codility pad with multiple C/C++ questions
max sum sub array
bit wise operation
template class
I applied via Naukri.com and was interviewed in Oct 2023. There were 2 interview rounds.
Top trending discussions
Some of the top questions asked at the Arista Networks interview -
The duration of Arista Networks interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 33 interviews
Interview experience
based on 78 reviews
Rating in categories
10-18 Yrs
Not Disclosed
6-10 Yrs
Not Disclosed
Software Engineer
211
salaries
| ₹15.6 L/yr - ₹60 L/yr |
Software Developer
27
salaries
| ₹14 L/yr - ₹45 L/yr |
Softwaretest Engineer
26
salaries
| ₹11.4 L/yr - ₹43.4 L/yr |
Technical Solutions Engineer
13
salaries
| ₹8 L/yr - ₹22 L/yr |
Senior Software Engineer
12
salaries
| ₹15.5 L/yr - ₹56.6 L/yr |
Cisco
Juniper Networks
Hewlett Packard Enterprise
Extreme Networks