# Palo Alto Networks Coding Interview Questions

> 40 DSA problems asked in Palo Alto Networks coding interviews and online assessments, sorted easiest first with hints. Free practice for placements on...

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

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

## Palo Alto Networks DSA problems, easiest first

1. [Design HashMap](https://www.internhack.in/learn/dsa/problem/design-hashmap) (Easy)
2. [Invert Binary Tree](https://www.internhack.in/learn/dsa/problem/invert-binary-tree) (Easy)
3. [Linked List Cycle](https://www.internhack.in/learn/dsa/problem/linked-list-cycle) (Easy)
4. [Logger Rate Limiter](https://www.internhack.in/learn/dsa/problem/logger-rate-limiter) (Easy)
5. [Longest Common Prefix](https://www.internhack.in/learn/dsa/problem/longest-common-prefix) (Easy)
6. [Meeting Rooms](https://www.internhack.in/learn/dsa/problem/meeting-rooms) (Easy)
7. [Merge Two Sorted Lists](https://www.internhack.in/learn/dsa/problem/merge-two-sorted-lists) (Easy)
8. [Path Sum](https://www.internhack.in/learn/dsa/problem/path-sum) (Easy)
9. [Two Sum](https://www.internhack.in/learn/dsa/problem/two-sum) (Easy)
10. [Valid Parentheses](https://www.internhack.in/learn/dsa/problem/valid-parentheses) (Easy)
11. [Add Two Numbers](https://www.internhack.in/learn/dsa/problem/add-two-numbers) (Medium)
12. [Advantage Shuffle](https://www.internhack.in/learn/dsa/problem/advantage-shuffle) (Medium)
13. [Basic Calculator II](https://www.internhack.in/learn/dsa/problem/basic-calculator-ii) (Medium)
14. [Binary Tree Level Order Traversal](https://www.internhack.in/learn/dsa/problem/binary-tree-level-order-traversal) (Medium)
15. [Decode String](https://www.internhack.in/learn/dsa/problem/decode-string) (Medium)
16. [Find the Longest Equal Subarray](https://www.internhack.in/learn/dsa/problem/find-the-longest-equal-subarray) (Medium)
17. [Group Anagrams](https://www.internhack.in/learn/dsa/problem/group-anagrams) (Medium)
18. [Insert Delete GetRandom O(1)](https://www.internhack.in/learn/dsa/problem/insert-delete-getrandom-o1) (Medium)
19. [Integer to Roman](https://www.internhack.in/learn/dsa/problem/integer-to-roman) (Medium)
20. [Koko Eating Bananas](https://www.internhack.in/learn/dsa/problem/koko-eating-bananas) (Medium)
21. [Longest Substring Without Repeating Characters](https://www.internhack.in/learn/dsa/problem/longest-substring-without-repeating-characters) (Medium)
22. [LRU Cache](https://www.internhack.in/learn/dsa/problem/lru-cache) (Medium)
23. [Min Stack](https://www.internhack.in/learn/dsa/problem/min-stack) (Medium)
24. [Minimum Number of Food Buckets to Feed the Hamsters](https://www.internhack.in/learn/dsa/problem/minimum-number-of-food-buckets-to-feed-the-hamsters) (Medium)
25. [Minimum Path Sum](https://www.internhack.in/learn/dsa/problem/minimum-path-sum) (Medium)
26. [Multiply Strings](https://www.internhack.in/learn/dsa/problem/multiply-strings) (Medium)
27. [Path Sum II](https://www.internhack.in/learn/dsa/problem/path-sum-ii) (Medium)
28. [Restore IP Addresses](https://www.internhack.in/learn/dsa/problem/restore-ip-addresses) (Medium)
29. [Reverse Linked List II](https://www.internhack.in/learn/dsa/problem/reverse-linked-list-ii) (Medium)
30. [Search in Rotated Sorted Array](https://www.internhack.in/learn/dsa/problem/search-in-rotated-sorted-array) (Medium)
31. [Shortest Path in Binary Matrix](https://www.internhack.in/learn/dsa/problem/shortest-path-in-binary-matrix) (Medium)
32. [String Compression](https://www.internhack.in/learn/dsa/problem/string-compression) (Medium)
33. [Subarray Sum Equals K](https://www.internhack.in/learn/dsa/problem/subarray-sum-equals-k) (Medium)
34. [Top K Frequent Words](https://www.internhack.in/learn/dsa/problem/top-k-frequent-words) (Medium)
35. [Valid Parenthesis String](https://www.internhack.in/learn/dsa/problem/valid-parenthesis-string) (Medium)
36. [Word Break](https://www.internhack.in/learn/dsa/problem/word-break) (Medium)
37. [Basic Calculator](https://www.internhack.in/learn/dsa/problem/basic-calculator) (Hard)
38. [Median of Two Sorted Arrays](https://www.internhack.in/learn/dsa/problem/median-of-two-sorted-arrays) (Hard)
39. [Reconstruct Itinerary](https://www.internhack.in/learn/dsa/problem/reconstruct-itinerary) (Hard)
40. [Sliding Window Maximum](https://www.internhack.in/learn/dsa/problem/sliding-window-maximum) (Hard)

## Prepare for the rest of the Palo Alto 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)
