Tesla Coding Interview Questions

46 DSA problems tagged as asked in Tesla coding interviews and online assessments. Below are all 46: 14 easy, 27 medium and 5 hard. Start with the easy ones, then move to medium. Practise free on InternHack and track your progress.

Tesla DSA problems, easiest first

  1. Best Time to Buy and Sell Stock (Easy)
  2. Decode the Message (Easy)
  3. Design Parking System (Easy)
  4. Find Followers Count (Easy)
  5. Happy Number (Easy)
  6. Intersection of Two Linked Lists (Easy)
  7. Is Subsequence (Easy)
  8. Minimum Changes To Make Alternating Binary String (Easy)
  9. Move Zeroes (Easy)
  10. Moving Average from Data Stream (Easy)
  11. Reverse Linked List (Easy)
  12. Two Sum (Easy)
  13. Valid Anagram (Easy)
  14. Valid Parentheses (Easy)
  15. 3Sum (Medium)
  16. Basic Calculator II (Medium)
  17. Building H2O (Medium)
  18. Combination Sum II (Medium)
  19. Container With Most Water (Medium)
  20. Course Schedule (Medium)
  21. Design Circular Queue (Medium)
  22. Design Tic-Tac-Toe (Medium)
  23. Design Twitter (Medium)
  24. Evaluate Division (Medium)
  25. Evaluate Reverse Polish Notation (Medium)
  26. Flatten Nested List Iterator (Medium)
  27. Letter Combinations of a Phone Number (Medium)
  28. Longest Consecutive Sequence (Medium)
  29. Longest Palindromic Substring (Medium)
  30. Longest Substring Without Repeating Characters (Medium)
  31. LRU Cache (Medium)
  32. Max Area of Island (Medium)
  33. Maximum Subarray (Medium)
  34. Merge Intervals (Medium)
  35. Number of Islands (Medium)
  36. Reorganize String (Medium)
  37. Rotate Image (Medium)
  38. Rotting Oranges (Medium)
  39. Shortest Bridge (Medium)
  40. Top K Frequent Elements (Medium)
  41. UTF-8 Validation (Medium)
  42. Basic Calculator (Hard)
  43. First Missing Positive (Hard)
  44. Reverse Nodes in k-Group (Hard)
  45. Serialize and Deserialize Binary Tree (Hard)
  46. Trapping Rain Water (Hard)

Prepare for the rest of the Tesla process

Other companies