Expedia Coding Interview Questions

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 (Easy)
  2. Count Number of Pairs With Absolute Difference K (Easy)
  3. Count Vowel Substrings of a String (Easy)
  4. Degree of an Array (Easy)
  5. Find Pivot Index (Easy)
  6. Find the Index of the First Occurrence in a String (Easy)
  7. Minimum Number of Chairs in a Waiting Room (Easy)
  8. Minimum Value to Get Positive Step by Step Sum (Easy)
  9. Most Visited Sector in a Circular Track (Easy)
  10. Roman to Integer (Easy)
  11. Two Sum (Easy)
  12. Valid Parentheses (Easy)
  13. Valid Word (Easy)
  14. Break a Palindrome (Medium)
  15. Cheapest Flights Within K Stops (Medium)
  16. Container With Most Water (Medium)
  17. Count and Say (Medium)
  18. Divide Players Into Teams of Equal Skill (Medium)
  19. Find the Smallest Divisor Given a Threshold (Medium)
  20. Flip String to Monotone Increasing (Medium)
  21. Generate Parentheses (Medium)
  22. Group Anagrams (Medium)
  23. House Robber (Medium)
  24. Kth Smallest Element in a BST (Medium)
  25. Least Number of Unique Integers after K Removals (Medium)
  26. Letter Combinations of a Phone Number (Medium)
  27. Longest Substring Without Repeating Characters (Medium)
  28. LRU Cache (Medium)
  29. Max Consecutive Ones III (Medium)
  30. Maximum Palindromes After Operations (Medium)
  31. Maximum Points You Can Obtain from Cards (Medium)
  32. Merge Intervals (Medium)
  33. Minimum Number of Swaps to Make the String Balanced (Medium)
  34. Minimum Swaps to Group All 1's Together (Medium)
  35. Number of Good Binary Strings (Medium)
  36. Number of Islands (Medium)
  37. Rearrange Words in a Sentence (Medium)
  38. Remove Duplicate Letters (Medium)
  39. Remove Stones to Minimize the Total (Medium)
  40. Reorganize String (Medium)
  41. Rotting Oranges (Medium)
  42. Set Matrix Zeroes (Medium)
  43. String Compression (Medium)
  44. The Earliest Moment When Everyone Become Friends (Medium)
  45. The kth Factor of n (Medium)
  46. Unique Substrings With Equal Digit Frequency (Medium)
  47. Valid Triangle Number (Medium)
  48. Verify Preorder Sequence in Binary Search Tree (Medium)
  49. Minimum One Bit Operations to Make Integers Zero (Hard)
  50. Minimum Replacements to Sort the Array (Hard)
  51. Number of Visible People in a Queue (Hard)
  52. Sliding Window Maximum (Hard)
  53. Trapping Rain Water (Hard)
  54. Word Ladder (Hard)

Prepare for the rest of the Expedia process

Other companies