Arista Networks 2025 [Rejected]
- Result
- Rejected
- Experience
- 4 years
- Posted
- 1 Oct 2025
Summary
I interviewed with Arista Networks, solving two DSA problems and answering Java theory questions, but ultimately received a rejection despite feeling confident in my performance.
How it went
I had an interview with Arista Networks. The discussion started with my current work. Following that, I was given two DSA problems: 'Search in Rotated Sorted Array' and 'Longest Substring Without Repeating Characters'. There were also several Java-specific theory questions, including topics like the Singleton pattern, and the static and final keywords. I successfully solved both DSA problems and provided answers for all the theory questions. I felt confident about qualifying for the next round, but unfortunately, I received a rejection. I'm unsure what companies are looking for these days; perhaps the position was filled or there was a misalignment with the role. Nevertheless, I wish everyone the best of luck!
Questions asked (5)
- 01
Search in Rotated Sorted Array
Data Structures & Algorithms
Given a sorted array that has been rotated at some pivot unknown to you beforehand, search for a given target value. If the target is found in the array, return its index, otherwise return -1. You may assume no duplicate exists in the array.
- 02
Longest Substring Without Repeating Characters
Data Structures & Algorithms
Given a string
s, find the length of the longest substring without repeating characters. - 03
Java Singleton Pattern
Other
Explain the Singleton design pattern in Java, including its purpose, common implementations (e.g., eager, lazy, thread-safe), and scenarios where it is typically used.
- 04
Java static keyword
Other
Describe the
statickeyword in Java. Discuss its usage with variables, methods, and blocks, and explain its implications for memory management and access. - 05
Java final keyword
Other
Explain the
finalkeyword in Java. Discuss its application to variables, methods, and classes, and describe the behavior and restrictions it imposes in each context.