Asked to explain and write the algorithms for Inorder, Preorder, and Postorder traversal of a binary tree.
Follow-up: difference between DFS and BFS traversals.
Questions around:
A question on JWT (JSON Web Token) – concept, usage in authentication, and security aspects.
Problem: Check if a target value exists along any root-to-leaf path.
Required to construct the full binary tree and then write the function for path-sum/target check.
Expected to implement full code (not just pseudo code).
A logic-based coding problem using bitwise operators.
Example (not exact wording): Given a number, perform certain bit manipulations (like checking set bits, or toggling).
Classic stack-based problem: find the next greater element for each element in an array.
Variation was asked (could be circular array or next greater frequency element).
Needed optimized solution (O(n) with stack).
Questions on pointers and memory (pointer arithmetic, dangling pointers).
Difference between pass by value and pass by reference, with code examples.
Some discussion around dynamic memory allocation and how it's managed in C++.
Emphasis on understanding how things work at a low-level in memory, not just syntax.
The following metrics were computed from 2 interview experiences for the Arista Networks Software Engineer (Internship) role in Bengaluru, Karnataka.
Arista Networks's interview process for their Software Engineer (Internship) roles in Bengaluru, Karnataka is extremely selective, failing the vast majority of engineers.
Candidates reported having very good feelings for Arista Networks's Software Engineer (Internship) interview process in Bengaluru, Karnataka.