Interview Round DistributionClick any round below to filter
Topics:
Showing 20 of 101 results for Arista NetworksPage 1 of 6
Coding
48
Merge two sorted arrays into one sorted array.
You are given two integer arrays nums1 and nums2, sorted in non-decreasing order, and two integers m and n, representing the number of elements in nums1 and nums2 respectively. Merge them into a single array sorted in non-decreasing order.
Input: nums1 = [0], m = 0, nums2 = [1], n = 1
Outp…
# Arista OA Experience 2026 | Aptitude + Core CS + 3 Coding Questions
I recently appeared for the **Arista Online Assessment** and wanted to document the pattern and the questions I remember.
The OA had a mix of **aptitude/core CS MCQs** and **3 coding questions**. The technical section especially focused on Operating Systems, hashing,…
My Background :
- NIT Graduate
- 4 yrs of experience at Top EDA company.
# Online Assessment
- MCQ Questions on C++, linked list, Heap and Trees. This was very basic and anyone can do this easily.
## Coding Round :
#### 1. Server Processing Time
Given:
* `numTasks` tasks with `processTime[i]`, `numServer` servers
* Each server gets a **c…
Implement the next permutation algorithm.
Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such an arrangement is not possible, it must rearrange it as the lowest possible order.
Input: nums = [3,2,1]
Output: [1,2,3]
Explanation: The sequence is strictly decreasing…
Iterator over a Binary Search Tree
Implement an iterator over a binary search tree.
Input: root = [7,3,15,null,null,9,20], calls: next(), hasNext(), next()
Output: 3, TRUE, 7
Explanation: The iterator yields the smallest value (3), confirms more nodes exist, then properly yields the next in-order value (7).
Diameter of a Binary Tree
Find the diameter of a binary tree.
Input: root = [1,2]
Output: 1
Explanation: The longest path is simply the single edge connecting the root node to its only child.