i
Arista
Networks
Filter interviews by
A unique ID generator creates distinct identifiers for entities, ensuring no duplicates across a system.
Use UUIDs (Universally Unique Identifiers) for global uniqueness. Example: '550e8400-e29b-41d4-a716-446655440000'.
Timestamp-based IDs can ensure uniqueness over time. Example: '20231005123000' for a timestamp.
Combining user-specific data with random elements can create unique IDs. Example: 'user123-abc456'.
Consi...
Design a data structure for LRU cache with get and put operations, evicting least recently used item when capacity is reached.
Implement a doubly linked list to keep track of the order of keys based on their usage
Use a hashmap to store key-value pairs for quick access
Update the order of keys in the linked list when a key is accessed or inserted
Evict the least recently used item when the cache reaches its capacity
Identify erroneous values in a data stream of integers received every second.
Define what constitutes an erroneous value (e.g., out of range, duplicates).
Use a sliding window to analyze recent values for anomalies.
Implement statistical methods (mean, standard deviation) to detect outliers.
Example: If values are expected to be between 1-100, flag 150 as erroneous.
Consider using machine learning models for more compl...
Trie is a tree data structure used for efficient retrieval of key-value pairs, commonly used in autocomplete and spell check applications.
Advantages: efficient prefix search, space optimization for storing keys with common prefixes, easy to implement autocomplete and spell check functionalities
Disadvantages: can be memory intensive for large datasets, complex to implement compared to other data structures like has...
Calculate the running median of a stream of numbers.
Use two heaps - a max heap for the smaller half of the numbers and a min heap for the larger half.
Keep the heaps balanced by ensuring the size difference is at most 1.
If the heaps are balanced, the median is the average of the top elements of the two heaps. Otherwise, it is the top element of the larger heap.
Double pointers are pointers that store the memory address of another pointer.
Double pointers are used in C and C++ to store the address of a pointer variable.
They are commonly used in functions to modify the value of a pointer passed as an argument.
Example: int **ptr; // declares a double pointer to an integer pointer.
OOPS stands for Object-Oriented Programming, a programming paradigm based on the concept of objects.
OOPS focuses on creating objects that contain both data and methods to manipulate that data.
Encapsulation, inheritance, and polymorphism are key principles of OOPS.
Example: Inheritance allows a class to inherit properties and methods from another class, promoting code reusability.
I applied via Approached by Company and was interviewed in Jul 2024. There were 3 interview rounds.
Design a data structure for LRU cache with get and put operations, evicting least recently used item when capacity is reached.
Implement a doubly linked list to keep track of the order of keys based on their usage
Use a hashmap to store key-value pairs for quick access
Update the order of keys in the linked list when a key is accessed or inserted
Evict the least recently used item when the cache reaches its capacity
A unique ID generator creates distinct identifiers for entities, ensuring no duplicates across a system.
Use UUIDs (Universally Unique Identifiers) for global uniqueness. Example: '550e8400-e29b-41d4-a716-446655440000'.
Timestamp-based IDs can ensure uniqueness over time. Example: '20231005123000' for a timestamp.
Combining user-specific data with random elements can create unique IDs. Example: 'user123-abc456'.
Consider u...
I applied via Recruitment Consulltant and was interviewed in Aug 2024. There were 2 interview rounds.
I was a software engineer responsible for developing and maintaining web applications for a financial services company.
Developed and maintained web applications using technologies such as Java, Spring, and Angular
Collaborated with cross-functional teams to gather requirements and deliver solutions
Participated in code reviews and testing to ensure high quality software
Implemented new features and enhancements to improve...
Yes, I am willing to join Arista as a Software Engineer.
I am excited about the opportunity to work at Arista and contribute to their innovative projects.
I have researched the company and believe that my skills align well with their values and goals.
I am confident that I can make a positive impact on the team and help drive success at Arista.
One Hr interview with 3-4 coding questions on strings,array and linked list
I applied via LinkedIn and was interviewed in Mar 2024. There were 2 interview rounds.
Question from Strings and Question from Linked Lists
OOPS stands for Object-Oriented Programming, a programming paradigm based on the concept of objects.
OOPS focuses on creating objects that contain both data and methods to manipulate that data.
Encapsulation, inheritance, and polymorphism are key principles of OOPS.
Example: Inheritance allows a class to inherit properties and methods from another class, promoting code reusability.
Identify erroneous values in a data stream of integers received every second.
Define what constitutes an erroneous value (e.g., out of range, duplicates).
Use a sliding window to analyze recent values for anomalies.
Implement statistical methods (mean, standard deviation) to detect outliers.
Example: If values are expected to be between 1-100, flag 150 as erroneous.
Consider using machine learning models for more complex pa...
I applied via Referral and was interviewed in Nov 2023. There were 2 interview rounds.
I applied via Approached by Company and was interviewed before Jun 2023. There were 2 interview rounds.
Calculate the running median of a stream of numbers.
Use two heaps - a max heap for the smaller half of the numbers and a min heap for the larger half.
Keep the heaps balanced by ensuring the size difference is at most 1.
If the heaps are balanced, the median is the average of the top elements of the two heaps. Otherwise, it is the top element of the larger heap.
I applied via Naukri.com and was interviewed in Jan 2022. There were 4 interview rounds.
It's a one hour coding test which tests basic problem solving skills.
I applied via Campus Placement and was interviewed before Jan 2023. There were 3 interview rounds.
3 coding questions; 1 was of Trie, 1 was greedy and another was related to OOPs, and high level data structures
I applied via LinkedIn and was interviewed before Jun 2023. There were 2 interview rounds.
Javascript related test
Shopping cart, How to develop a shopping cart, its architecture
Top trending discussions
Some of the top questions asked at the Arista Networks Software Engineer interview -
based on 9 interview experiences
Difficulty level
Duration
based on 20 reviews
Rating in categories
Software Engineer
258
salaries
| ₹29 L/yr - ₹58.2 L/yr |
Software Developer
42
salaries
| ₹27.4 L/yr - ₹48.1 L/yr |
Senior Software Engineer
36
salaries
| ₹28 L/yr - ₹45 L/yr |
Softwaretest Engineer
29
salaries
| ₹18.1 L/yr - ₹32 L/yr |
Technical Solutions Engineer
19
salaries
| ₹11.1 L/yr - ₹30.4 L/yr |
Cisco
Sterlite Technologies
BT Business
Indus Towers