# Arista Networks Coding Interview Questions

> 43 DSA problems asked in Arista Networks coding interviews and online assessments, sorted easiest first with hints. Free practice for placements on InternHack.

Canonical: https://www.internhack.in/learn/dsa/companies/arista-networks
Last updated: 2026-11-28

43 DSA problems tagged as asked in Arista Networks coding interviews and online assessments. Below are all 43: 10 easy, 31 medium and 2 hard. Start with the easy ones, then move to medium. Practise free on InternHack and track your progress.

## Arista Networks DSA problems, easiest first

1. [Best Time to Buy and Sell Stock](https://www.internhack.in/learn/dsa/problem/best-time-to-buy-and-sell-stock) (Easy)
2. [Contains Duplicate II](https://www.internhack.in/learn/dsa/problem/contains-duplicate-ii) (Easy)
3. [Find the Town Judge](https://www.internhack.in/learn/dsa/problem/find-the-town-judge) (Easy)
4. [Kth Largest Element in a Stream](https://www.internhack.in/learn/dsa/problem/kth-largest-element-in-a-stream) (Easy)
5. [Maximum Depth of Binary Tree](https://www.internhack.in/learn/dsa/problem/maximum-depth-of-binary-tree) (Easy)
6. [Maximum Units on a Truck](https://www.internhack.in/learn/dsa/problem/maximum-units-on-a-truck) (Easy)
7. [Merge Two Sorted Lists](https://www.internhack.in/learn/dsa/problem/merge-two-sorted-lists) (Easy)
8. [Missing Number](https://www.internhack.in/learn/dsa/problem/missing-number) (Easy)
9. [Remove Linked List Elements](https://www.internhack.in/learn/dsa/problem/remove-linked-list-elements) (Easy)
10. [Valid Palindrome](https://www.internhack.in/learn/dsa/problem/valid-palindrome) (Easy)
11. [Construct String With Repeat Limit](https://www.internhack.in/learn/dsa/problem/construct-string-with-repeat-limit) (Medium)
12. [Copy List with Random Pointer](https://www.internhack.in/learn/dsa/problem/copy-list-with-random-pointer) (Medium)
13. [Course Schedule II](https://www.internhack.in/learn/dsa/problem/course-schedule-ii) (Medium)
14. [Edit Distance](https://www.internhack.in/learn/dsa/problem/edit-distance) (Medium)
15. [Find the Winner of the Circular Game](https://www.internhack.in/learn/dsa/problem/find-the-winner-of-the-circular-game) (Medium)
16. [Implement Trie (Prefix Tree)](https://www.internhack.in/learn/dsa/problem/implement-trie-prefix-tree) (Medium)
17. [Inorder Successor in BST II](https://www.internhack.in/learn/dsa/problem/inorder-successor-in-bst-ii) (Medium)
18. [Integer to Roman](https://www.internhack.in/learn/dsa/problem/integer-to-roman) (Medium)
19. [Longest Palindromic Substring](https://www.internhack.in/learn/dsa/problem/longest-palindromic-substring) (Medium)
20. [Longest Substring Without Repeating Characters](https://www.internhack.in/learn/dsa/problem/longest-substring-without-repeating-characters) (Medium)
21. [LRU Cache](https://www.internhack.in/learn/dsa/problem/lru-cache) (Medium)
22. [Maximum Subarray](https://www.internhack.in/learn/dsa/problem/maximum-subarray) (Medium)
23. [Merge In Between Linked Lists](https://www.internhack.in/learn/dsa/problem/merge-in-between-linked-lists) (Medium)
24. [Missing Element in Sorted Array](https://www.internhack.in/learn/dsa/problem/missing-element-in-sorted-array) (Medium)
25. [Number of Islands](https://www.internhack.in/learn/dsa/problem/number-of-islands) (Medium)
26. [Palindromic Substrings](https://www.internhack.in/learn/dsa/problem/palindromic-substrings) (Medium)
27. [Path Sum II](https://www.internhack.in/learn/dsa/problem/path-sum-ii) (Medium)
28. [Permutations](https://www.internhack.in/learn/dsa/problem/permutations) (Medium)
29. [Remove All Occurrences of a Substring](https://www.internhack.in/learn/dsa/problem/remove-all-occurrences-of-a-substring) (Medium)
30. [Remove Duplicates from Sorted List II](https://www.internhack.in/learn/dsa/problem/remove-duplicates-from-sorted-list-ii) (Medium)
31. [Reorder List](https://www.internhack.in/learn/dsa/problem/reorder-list) (Medium)
32. [Restore IP Addresses](https://www.internhack.in/learn/dsa/problem/restore-ip-addresses) (Medium)
33. [Reverse Linked List II](https://www.internhack.in/learn/dsa/problem/reverse-linked-list-ii) (Medium)
34. [Rotated Digits](https://www.internhack.in/learn/dsa/problem/rotated-digits) (Medium)
35. [Search a 2D Matrix](https://www.internhack.in/learn/dsa/problem/search-a-2d-matrix) (Medium)
36. [Search in Rotated Sorted Array](https://www.internhack.in/learn/dsa/problem/search-in-rotated-sorted-array) (Medium)
37. [Simplify Path](https://www.internhack.in/learn/dsa/problem/simplify-path) (Medium)
38. [Swap Nodes in Pairs](https://www.internhack.in/learn/dsa/problem/swap-nodes-in-pairs) (Medium)
39. [Top K Frequent Elements](https://www.internhack.in/learn/dsa/problem/top-k-frequent-elements) (Medium)
40. [Word Break](https://www.internhack.in/learn/dsa/problem/word-break) (Medium)
41. [Word Search](https://www.internhack.in/learn/dsa/problem/word-search) (Medium)
42. [Binary Tree Maximum Path Sum](https://www.internhack.in/learn/dsa/problem/binary-tree-maximum-path-sum) (Hard)
43. [Reverse Nodes in k-Group](https://www.internhack.in/learn/dsa/problem/reverse-nodes-in-k-group) (Hard)

## Prepare for the rest of the Arista Networks process

- [Aptitude questions by company](https://www.internhack.in/learn/aptitude/companies)
- [Technical interview questions](https://www.internhack.in/learn/interview)
- [Free ATS resume check](https://www.internhack.in/ats-score/try), no signup

## Other companies

- [Google](https://www.internhack.in/learn/dsa/companies/google) (2217)
- [Amazon](https://www.internhack.in/learn/dsa/companies/amazon) (1938)
- [Meta](https://www.internhack.in/learn/dsa/companies/meta) (1387)
- [Microsoft](https://www.internhack.in/learn/dsa/companies/microsoft) (1352)
- [Bloomberg](https://www.internhack.in/learn/dsa/companies/bloomberg) (1173)
- [Tiktok](https://www.internhack.in/learn/dsa/companies/tiktok) (383)
- [Uber](https://www.internhack.in/learn/dsa/companies/uber) (381)
- [Apple](https://www.internhack.in/learn/dsa/companies/apple) (356)
- [Oracle](https://www.internhack.in/learn/dsa/companies/oracle) (340)
- [Goldman Sachs](https://www.internhack.in/learn/dsa/companies/goldman-sachs) (270)
- [Adobe](https://www.internhack.in/learn/dsa/companies/adobe) (227)
- [TCS](https://www.internhack.in/learn/dsa/companies/tcs) (217)
- [Salesforce](https://www.internhack.in/learn/dsa/companies/salesforce) (189)
- [Linkedin](https://www.internhack.in/learn/dsa/companies/linkedin) (180)
- [Zoho](https://www.internhack.in/learn/dsa/companies/zoho) (179)
- [IBM](https://www.internhack.in/learn/dsa/companies/ibm) (170)
- [Infosys](https://www.internhack.in/learn/dsa/companies/infosys) (158)
- [Walmart Labs](https://www.internhack.in/learn/dsa/companies/walmart-labs) (152)
- [Accenture](https://www.internhack.in/learn/dsa/companies/accenture) (144)
- [Nvidia](https://www.internhack.in/learn/dsa/companies/nvidia) (137)
- [Yandex](https://www.internhack.in/learn/dsa/companies/yandex) (134)
- [DE Shaw](https://www.internhack.in/learn/dsa/companies/de-shaw) (124)
- [Visa](https://www.internhack.in/learn/dsa/companies/visa) (124)
- [Flipkart](https://www.internhack.in/learn/dsa/companies/flipkart) (117)

## Related

- [Home](https://www.internhack.in/)
- [Learn](https://www.internhack.in/learn)
- [DSA by company](https://www.internhack.in/learn/dsa/companies)
