Ebay Coding Interview Questions

60 DSA problems tagged as asked in Ebay coding interviews and online assessments. Below are all 60: 12 easy, 38 medium and 10 hard. Start with the easy ones, then move to medium. Practise free on InternHack and track your progress.

Ebay DSA problems, easiest first

  1. Alternating Digit Sum (Easy)
  2. Binary Gap (Easy)
  3. Find Pivot Index (Easy)
  4. Move Zeroes (Easy)
  5. Palindrome Linked List (Easy)
  6. Remove One Element to Make the Array Strictly Increasing (Easy)
  7. Repeated Substring Pattern (Easy)
  8. Sort Array By Parity (Easy)
  9. Subtree of Another Tree (Easy)
  10. Two Sum (Easy)
  11. Valid Palindrome II (Easy)
  12. Valid Parentheses (Easy)
  13. 3Sum Closest (Medium)
  14. Accounts Merge (Medium)
  15. Best Time to Buy and Sell Stock II (Medium)
  16. Clone Graph (Medium)
  17. Course Schedule (Medium)
  18. Design a Stack With Increment Operation (Medium)
  19. Find Peak Element (Medium)
  20. Generate Parentheses (Medium)
  21. Group Anagrams (Medium)
  22. Interleaving String (Medium)
  23. Jump Game II (Medium)
  24. Kth Largest Element in an Array (Medium)
  25. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit (Medium)
  26. Longest Palindromic Substring (Medium)
  27. Longest Substring Without Repeating Characters (Medium)
  28. LRU Cache (Medium)
  29. Matchsticks to Square (Medium)
  30. Maximal Square (Medium)
  31. Meeting Rooms II (Medium)
  32. Merge Intervals (Medium)
  33. Minimize Maximum Pair Sum in Array (Medium)
  34. Nearest Exit from Entrance in Maze (Medium)
  35. Number of Islands (Medium)
  36. Open the Lock (Medium)
  37. Partition Equal Subset Sum (Medium)
  38. Pow(x, n) (Medium)
  39. Reorganize String (Medium)
  40. Restore the Array From Adjacent Pairs (Medium)
  41. Rotting Oranges (Medium)
  42. Set Matrix Zeroes (Medium)
  43. Shortest Unsorted Continuous Subarray (Medium)
  44. Sort Colors (Medium)
  45. Spiral Matrix (Medium)
  46. Time Based Key-Value Store (Medium)
  47. Top K Frequent Elements (Medium)
  48. Top K Frequent Words (Medium)
  49. Walls and Gates (Medium)
  50. Word Search (Medium)
  51. Binary Tree Cameras (Hard)
  52. Concatenated Words (Hard)
  53. Design Skiplist (Hard)
  54. Earliest Possible Day of Full Bloom (Hard)
  55. Integer to English Words (Hard)
  56. Merge k Sorted Lists (Hard)
  57. Minimum Window Subsequence (Hard)
  58. Reconstruct Itinerary (Hard)
  59. Sudoku Solver (Hard)
  60. Word Ladder (Hard)

Prepare for the rest of the Ebay process

Other companies