Databricks Coding Interview Questions

31 DSA problems tagged as asked in Databricks coding interviews and online assessments. Below are all 31: 1 easy, 23 medium and 7 hard. Start with the easy ones, then move to medium. Practise free on InternHack and track your progress.

Databricks DSA problems, easiest first

  1. Number of Recent Calls (Easy)
  2. Closest Leaf in a Binary Tree (Medium)
  3. Design Hit Counter (Medium)
  4. Design Tic-Tac-Toe (Medium)
  5. Find All Anagrams in a String (Medium)
  6. Find Peak Element (Medium)
  7. Find the Length of the Longest Common Prefix (Medium)
  8. Finding Pairs With a Certain Sum (Medium)
  9. House Robber (Medium)
  10. House Robber II (Medium)
  11. IP to CIDR (Medium)
  12. Longest Mountain in Array (Medium)
  13. Longest Palindrome by Concatenating Two Letter Words (Medium)
  14. Merge Intervals (Medium)
  15. Minimum Knight Moves (Medium)
  16. Permutation in String (Medium)
  17. RLE Iterator (Medium)
  18. Rotting Oranges (Medium)
  19. Shortest Path in Binary Matrix (Medium)
  20. Snapshot Array (Medium)
  21. Spiral Matrix (Medium)
  22. Step-By-Step Directions From a Binary Tree Node to Another (Medium)
  23. String to Integer (atoi) (Medium)
  24. Time Based Key-Value Store (Medium)
  25. Count Integers in Intervals (Hard)
  26. Minimum Cost to Reach Destination in Time (Hard)
  27. Number of Flowers in Full Bloom (Hard)
  28. Shortest Path in a Grid with Obstacles Elimination (Hard)
  29. Split Message Based on Limit (Hard)
  30. Text Justification (Hard)
  31. Unique Paths III (Hard)

Prepare for the rest of the Databricks process

Other companies