Goldman Sachs vs Palo Alto Networks Interview Questions

Goldman Sachs lists 261 LeetCode interview questions while Palo Alto Networks lists 46. They share 28 problems — 11% of Goldman Sachs's bank and 61% of Palo Alto Networks's. Focus on the overlap first, then drill into 233 Goldman Sachs-only and 18 Palo Alto Networks-only questions.

Overview

Goldman Sachs

261 questions

Easy 48Medium 165Hard 48
Palo Alto Networks

46 questions

Easy 12Medium 29Hard 5

Preparation Strategy

Step 1 — Shared core: Solve the 28 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Goldman Sachs and Palo Alto Networks.

Step 2 — Company-specific depth: Add Goldman Sachs-specific problems like Trapping Rain Water, First Unique Character in a String, Fraction to Recurring Decimal and Palo Alto Networks-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Goldman Sachs
48
Palo Alto Networks
12
Medium
Goldman Sachs
165
Palo Alto Networks
29
Hard
Goldman Sachs
48
Palo Alto Networks
5

Top Shared Topics

28 Shared Questions

High-priority problems to practice for both Goldman Sachs and Palo Alto Networks.

ProblemDifficulty
Median of Two Sorted ArraysHard
LRU CacheMedium
Longest Substring Without Repeating CharactersMedium
String CompressionMedium
Merge IntervalsMedium
Group AnagramsMedium
Search in Rotated Sorted ArrayMedium
Two SumEasy
Design HashMapEasy
Sliding Window MaximumHard
Subarray Sum Equals KMedium
Longest Palindromic SubstringMedium
Valid ParenthesesEasy
Maximum Profit in Job SchedulingHard
Linked List CycleEasy
Add Two NumbersMedium
Merge Sorted ArrayEasy
Koko Eating BananasMedium
Decode StringMedium
Path SumEasy
Binary Tree Level Order TraversalMedium
Integer to RomanMedium
Merge Two Sorted ListsEasy
Word BreakMedium
Basic Calculator IIMedium
Restore IP AddressesMedium
Binary Tree Zigzag Level Order TraversalMedium
Top K Frequent WordsMedium

Unique to Goldman Sachs (233)

Problems in Goldman Sachs's list that do not appear at Palo Alto Networks.

ProblemDifficulty
Trapping Rain WaterHard
First Unique Character in a StringEasy
Fraction to Recurring DecimalMedium
High FiveEasy
Minimum Path SumMedium
Container With Most WaterMedium
Find the Winner of the Circular GameMedium
Robot Bounded In CircleMedium
Decode WaysMedium
Number of IslandsMedium
Best Time to Buy and Sell StockEasy
Find Minimum in Rotated Sorted ArrayMedium

Unique to Palo Alto Networks (18)

Problems in Palo Alto Networks's list that do not appear at Goldman Sachs.

ProblemDifficulty
Find the Longest Equal SubarrayMedium
Logger Rate LimiterEasy
Minimum Number of Food Buckets to Feed the HamstersMedium
Min StackMedium
Insert Delete GetRandom O(1)Medium
Longest Common PrefixEasy
Design TwitterMedium
Diameter of Binary TreeEasy
Basic CalculatorHard
Invert Binary TreeEasy
Meeting RoomsEasy
Path Sum IIMedium

Frequently Asked Questions

How many LeetCode questions do Goldman Sachs and Palo Alto Networks share?

Goldman Sachs and Palo Alto Networks share 28 LeetCode interview questions. 233 problems appear only in Goldman Sachs's list and 18 appear only in Palo Alto Networks's list.

What topics overlap most between Goldman Sachs and Palo Alto Networks?

The most common shared topics between Goldman Sachs and Palo Alto Networks are Array (13 shared questions), String (11 shared questions), Hash Table (10 shared questions), Linked List (5 shared questions), Sorting (5 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Goldman Sachs or Palo Alto Networks?

Goldman Sachs has 48 Easy, 165 Medium, and 48 Hard questions. Palo Alto Networks has 12 Easy, 29 Medium, and 5 Hard questions. Goldman Sachs has a higher proportion of Hard problems in its interview set.

How should I prepare if interviewing at both Goldman Sachs and Palo Alto Networks?

Start with the 28 shared problems since they cover what both companies ask most often. Then add 20 Goldman Sachs-specific and 18 Palo Alto Networks-specific questions to round out your prep.

Explore More