Deloitte Coding Interview Questions

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

Deloitte DSA problems, easiest first

  1. Add Binary (Easy)
  2. Best Time to Buy and Sell Stock (Easy)
  3. Climbing Stairs (Easy)
  4. Customers Who Never Order (Easy)
  5. First Unique Character in a String (Easy)
  6. Longest Common Prefix (Easy)
  7. Majority Element (Easy)
  8. Max Consecutive Ones (Easy)
  9. Palindrome Number (Easy)
  10. Remove Duplicates from Sorted Array (Easy)
  11. Rising Temperature (Easy)
  12. Roman to Integer (Easy)
  13. Two Sum (Easy)
  14. Valid Anagram (Easy)
  15. Valid Parentheses (Easy)
  16. 3Sum (Medium)
  17. Change Null Values in a Table to the Previous Value (Medium)
  18. Coin Change (Medium)
  19. Container With Most Water (Medium)
  20. Edit Distance (Medium)
  21. Group Anagrams (Medium)
  22. Kth Largest Element in an Array (Medium)
  23. Longest Consecutive Sequence (Medium)
  24. Longest Palindromic Substring (Medium)
  25. Longest Substring Without Repeating Characters (Medium)
  26. Managers with at Least 5 Direct Reports (Medium)
  27. Maximum Subarray (Medium)
  28. Merge Intervals (Medium)
  29. Minimum Time to Repair Cars (Medium)
  30. Nth Highest Salary (Medium)
  31. Remove K-Balanced Substrings (Medium)
  32. Reverse Integer (Medium)
  33. Rotate Array (Medium)
  34. Second Highest Salary (Medium)
  35. Shortest Unsorted Continuous Subarray (Medium)
  36. Merge k Sorted Lists (Hard)
  37. Reverse Pairs (Hard)
  38. Split Array Largest Sum (Hard)

Prepare for the rest of the Deloitte process

Other companies