# Expedia Coding Interview Questions

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

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

54 DSA problems tagged as asked in Expedia coding interviews and online assessments. Below are all 54: 13 easy, 35 medium and 6 hard. Start with the easy ones, then move to medium. Practise free on InternHack and track your progress.

## Expedia 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. [Count Number of Pairs With Absolute Difference K](https://www.internhack.in/learn/dsa/problem/count-number-of-pairs-with-absolute-difference-k) (Easy)
3. [Count Vowel Substrings of a String](https://www.internhack.in/learn/dsa/problem/count-vowel-substrings-of-a-string) (Easy)
4. [Degree of an Array](https://www.internhack.in/learn/dsa/problem/degree-of-an-array) (Easy)
5. [Find Pivot Index](https://www.internhack.in/learn/dsa/problem/find-pivot-index) (Easy)
6. [Find the Index of the First Occurrence in a String](https://www.internhack.in/learn/dsa/problem/find-the-index-of-the-first-occurrence-in-a-string) (Easy)
7. [Minimum Number of Chairs in a Waiting Room](https://www.internhack.in/learn/dsa/problem/minimum-number-of-chairs-in-a-waiting-room) (Easy)
8. [Minimum Value to Get Positive Step by Step Sum](https://www.internhack.in/learn/dsa/problem/minimum-value-to-get-positive-step-by-step-sum) (Easy)
9. [Most Visited Sector in a Circular Track](https://www.internhack.in/learn/dsa/problem/most-visited-sector-in-a-circular-track) (Easy)
10. [Roman to Integer](https://www.internhack.in/learn/dsa/problem/roman-to-integer) (Easy)
11. [Two Sum](https://www.internhack.in/learn/dsa/problem/two-sum) (Easy)
12. [Valid Parentheses](https://www.internhack.in/learn/dsa/problem/valid-parentheses) (Easy)
13. [Valid Word](https://www.internhack.in/learn/dsa/problem/valid-word) (Easy)
14. [Break a Palindrome](https://www.internhack.in/learn/dsa/problem/break-a-palindrome) (Medium)
15. [Cheapest Flights Within K Stops](https://www.internhack.in/learn/dsa/problem/cheapest-flights-within-k-stops) (Medium)
16. [Container With Most Water](https://www.internhack.in/learn/dsa/problem/container-with-most-water) (Medium)
17. [Count and Say](https://www.internhack.in/learn/dsa/problem/count-and-say) (Medium)
18. [Divide Players Into Teams of Equal Skill](https://www.internhack.in/learn/dsa/problem/divide-players-into-teams-of-equal-skill) (Medium)
19. [Find the Smallest Divisor Given a Threshold](https://www.internhack.in/learn/dsa/problem/find-the-smallest-divisor-given-a-threshold) (Medium)
20. [Flip String to Monotone Increasing](https://www.internhack.in/learn/dsa/problem/flip-string-to-monotone-increasing) (Medium)
21. [Generate Parentheses](https://www.internhack.in/learn/dsa/problem/generate-parentheses) (Medium)
22. [Group Anagrams](https://www.internhack.in/learn/dsa/problem/group-anagrams) (Medium)
23. [House Robber](https://www.internhack.in/learn/dsa/problem/house-robber) (Medium)
24. [Kth Smallest Element in a BST](https://www.internhack.in/learn/dsa/problem/kth-smallest-element-in-a-bst) (Medium)
25. [Least Number of Unique Integers after K Removals](https://www.internhack.in/learn/dsa/problem/least-number-of-unique-integers-after-k-removals) (Medium)
26. [Letter Combinations of a Phone Number](https://www.internhack.in/learn/dsa/problem/letter-combinations-of-a-phone-number) (Medium)
27. [Longest Substring Without Repeating Characters](https://www.internhack.in/learn/dsa/problem/longest-substring-without-repeating-characters) (Medium)
28. [LRU Cache](https://www.internhack.in/learn/dsa/problem/lru-cache) (Medium)
29. [Max Consecutive Ones III](https://www.internhack.in/learn/dsa/problem/max-consecutive-ones-iii) (Medium)
30. [Maximum Palindromes After Operations](https://www.internhack.in/learn/dsa/problem/maximum-palindromes-after-operations) (Medium)
31. [Maximum Points You Can Obtain from Cards](https://www.internhack.in/learn/dsa/problem/maximum-points-you-can-obtain-from-cards) (Medium)
32. [Merge Intervals](https://www.internhack.in/learn/dsa/problem/merge-intervals) (Medium)
33. [Minimum Number of Swaps to Make the String Balanced](https://www.internhack.in/learn/dsa/problem/minimum-number-of-swaps-to-make-the-string-balanced) (Medium)
34. [Minimum Swaps to Group All 1's Together](https://www.internhack.in/learn/dsa/problem/minimum-swaps-to-group-all-1s-together) (Medium)
35. [Number of Good Binary Strings](https://www.internhack.in/learn/dsa/problem/number-of-good-binary-strings) (Medium)
36. [Number of Islands](https://www.internhack.in/learn/dsa/problem/number-of-islands) (Medium)
37. [Rearrange Words in a Sentence](https://www.internhack.in/learn/dsa/problem/rearrange-words-in-a-sentence) (Medium)
38. [Remove Duplicate Letters](https://www.internhack.in/learn/dsa/problem/remove-duplicate-letters) (Medium)
39. [Remove Stones to Minimize the Total](https://www.internhack.in/learn/dsa/problem/remove-stones-to-minimize-the-total) (Medium)
40. [Reorganize String](https://www.internhack.in/learn/dsa/problem/reorganize-string) (Medium)
41. [Rotting Oranges](https://www.internhack.in/learn/dsa/problem/rotting-oranges) (Medium)
42. [Set Matrix Zeroes](https://www.internhack.in/learn/dsa/problem/set-matrix-zeroes) (Medium)
43. [String Compression](https://www.internhack.in/learn/dsa/problem/string-compression) (Medium)
44. [The Earliest Moment When Everyone Become Friends](https://www.internhack.in/learn/dsa/problem/the-earliest-moment-when-everyone-become-friends) (Medium)
45. [The kth Factor of n](https://www.internhack.in/learn/dsa/problem/the-kth-factor-of-n) (Medium)
46. [Unique Substrings With Equal Digit Frequency](https://www.internhack.in/learn/dsa/problem/unique-substrings-with-equal-digit-frequency) (Medium)
47. [Valid Triangle Number](https://www.internhack.in/learn/dsa/problem/valid-triangle-number) (Medium)
48. [Verify Preorder Sequence in Binary Search Tree](https://www.internhack.in/learn/dsa/problem/verify-preorder-sequence-in-binary-search-tree) (Medium)
49. [Minimum One Bit Operations to Make Integers Zero](https://www.internhack.in/learn/dsa/problem/minimum-one-bit-operations-to-make-integers-zero) (Hard)
50. [Minimum Replacements to Sort the Array](https://www.internhack.in/learn/dsa/problem/minimum-replacements-to-sort-the-array) (Hard)
51. [Number of Visible People in a Queue](https://www.internhack.in/learn/dsa/problem/number-of-visible-people-in-a-queue) (Hard)
52. [Sliding Window Maximum](https://www.internhack.in/learn/dsa/problem/sliding-window-maximum) (Hard)
53. [Trapping Rain Water](https://www.internhack.in/learn/dsa/problem/trapping-rain-water) (Hard)
54. [Word Ladder](https://www.internhack.in/learn/dsa/problem/word-ladder) (Hard)

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