Arista Networks vs Morgan Stanley Interview Questions

Arista Networks lists 39 LeetCode interview questions while Morgan Stanley lists 60. They share 8 problems — 21% of Arista Networks's bank and 13% of Morgan Stanley's. Focus on the overlap first, then drill into 31 Arista Networks-only and 52 Morgan Stanley-only questions.

Overview

Arista Networks

39 questions

Easy 12Medium 26Hard 1
Morgan Stanley

60 questions

Easy 13Medium 40Hard 7

Preparation Strategy

Step 1 — Shared core: Solve the 8 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Arista Networks and Morgan Stanley.

Step 2 — Company-specific depth: Add Arista Networks-specific problems like Construct String With Repeat Limit, Find the Town Judge, Reverse Nodes in k-Group and Morgan Stanley-specific problems from the exclusive lists below.

Step 3 — Difficulty tuning: Morgan Stanley skews harder in our data. Budget extra time for Hard problems if you are targeting that company.

Difficulty Comparison

Easy
Arista Networks
12
Morgan Stanley
13
Medium
Arista Networks
26
Morgan Stanley
40
Hard
Arista Networks
1
Morgan Stanley
7

Top Shared Topics

8 Shared Questions

High-priority problems to practice for both Arista Networks and Morgan Stanley.

ProblemDifficulty
Reorder ListMedium
Copy List with Random PointerMedium
LRU CacheMedium
Longest Palindromic SubstringMedium
Word SearchMedium
Longest Substring Without Repeating CharactersMedium
Maximum SubarrayMedium
Top K Frequent ElementsMedium

Unique to Arista Networks (31)

Problems in Arista Networks's list that do not appear at Morgan Stanley.

ProblemDifficulty
Construct String With Repeat LimitMedium
Find the Town JudgeEasy
Reverse Nodes in k-GroupHard
Restore IP AddressesMedium
Course Schedule IIMedium
Reverse Linked List IIMedium
Remove Linked List ElementsEasy
Contains Duplicate IIEasy
Inorder Successor in BST IIMedium
Maximum Depth of Binary TreeEasy
Missing NumberEasy
Search in Rotated Sorted ArrayMedium

Unique to Morgan Stanley (52)

Problems in Morgan Stanley's list that do not appear at Arista Networks.

ProblemDifficulty
Best Time to Buy and Sell StockEasy
Best Team With No ConflictsMedium
Minimum Number of Lines to Cover PointsMedium
Find the Longest Valid Obstacle Course at Each PositionHard
Minimum Cost to Move Chips to The Same PositionEasy
Find Subarrays With Equal SumEasy
The Employee That Worked on the Longest TaskEasy
Find The Original Array of Prefix XorMedium
Two SumEasy
Delete and EarnMedium
Count Subarrays With Fixed BoundsHard
Merge IntervalsMedium

Frequently Asked Questions

How many LeetCode questions do Arista Networks and Morgan Stanley share?

Arista Networks and Morgan Stanley share 8 LeetCode interview questions. 31 problems appear only in Arista Networks's list and 52 appear only in Morgan Stanley's list.

What topics overlap most between Arista Networks and Morgan Stanley?

The most common shared topics between Arista Networks and Morgan Stanley are Hash Table (4 shared questions), Linked List (3 shared questions), String (3 shared questions), Array (3 shared questions), Two Pointers (2 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Arista Networks or Morgan Stanley?

Arista Networks has 12 Easy, 26 Medium, and 1 Hard questions. Morgan Stanley has 13 Easy, 40 Medium, and 7 Hard questions. Morgan Stanley has a higher proportion of Hard problems in its interview set.

How should I prepare if interviewing at both Arista Networks and Morgan Stanley?

Start with the 8 shared problems since they cover what both companies ask most often. Then add 20 Arista Networks-specific and 20 Morgan Stanley-specific questions to round out your prep.

Explore More