Geometry DSA Problems

42 geometry problems for coding interviews and campus placements, with hints and company tags. Below are all 42: 9 easy, 19 medium and 14 hard. Practise them free on InternHack and track what you have solved.

Geometry problems, easiest first

  1. Check If It Is a Straight Line (Easy)
  2. Largest Triangle Area (Easy)
  3. Matrix Cells in Distance Order (Easy)
  4. Minimum Cuts to Divide a Circle (Easy)
  5. Minimum Time Visiting All Points (Easy)
  6. Projection Area of 3D Shapes (Easy)
  7. Rectangle Overlap (Easy)
  8. Surface Area of 3D Shapes (Easy)
  9. Valid Boomerang (Easy)
  10. Circle and Rectangle Overlapping (Medium)
  11. Convex Polygon (Medium)
  12. Count Lattice Points Inside a Circle (Medium)
  13. Count Number of Trapezoids I (Medium)
  14. Detonate the Maximum Bombs (Medium)
  15. Find Maximum Area of a Triangle (Medium)
  16. Find the Largest Area of Square Inside Two Rectangles (Medium)
  17. Find the Number of Ways to Place People I (Medium)
  18. Generate Random Point in a Circle (Medium)
  19. K Closest Points to Origin (Medium)
  20. Maximum Area Rectangle With Point Constraints I (Medium)
  21. Minimum Area Rectangle (Medium)
  22. Minimum Area Rectangle II (Medium)
  23. Minimum Lines to Represent a Line Chart (Medium)
  24. Minimum Number of Lines to Cover Points (Medium)
  25. Mirror Reflection (Medium)
  26. Queries on Number of Points Inside a Circle (Medium)
  27. Rectangle Area (Medium)
  28. Valid Square (Medium)
  29. Best Position for a Service Centre (Hard)
  30. Check if the Rectangle Corner Is Reachable (Hard)
  31. Count Number of Trapezoids II (Hard)
  32. Erect the Fence (Hard)
  33. Erect the Fence II (Hard)
  34. Find the Number of Ways to Place People II (Hard)
  35. Max Points on a Line (Hard)
  36. Maximum Area Rectangle With Point Constraints II (Hard)
  37. Maximum Number of Darts Inside of a Circular Dartboard (Hard)
  38. Maximum Number of Intersections on the Chart (Hard)
  39. Maximum Number of Visible Points (Hard)
  40. Minimize Manhattan Distances (Hard)
  41. Perfect Rectangle (Hard)
  42. Self Crossing (Hard)

Companies that ask geometry problems

Before your interview

Most resumes are filtered by software before a recruiter reads them. Check your resume ATS score free, no signup needed.

Other DSA topics