Python geometry problems
Points, lines, shapes and areas in Python, on problems with tests that check your answer.
Beginner
Intermediate
Advanced
- 378. Squares on the CorkboardPins on a corkboard: how many squares can you make from them?135 XP28 min
- 383. Do Two Walls Meet?Two straight walls on a floor plan: do they meet anywhere?140 XP28 min
- 410. Inside the FenceIs the sheep inside the fence, outside it, or standing right on it?150 XP30 min
- 425. Rubber Band Around the NailsStretch a rubber band around a board full of nails160 XP35 min
- 427. Area Covered by Sticky NotesSticky notes scattered on a desk: how much of the desk is hidden?165 XP35 min
Expert
Other topics
- Python Basics
- Strings
- Lists
- Dictionaries and sets
- Loops
- Functions
- Math
- Sorting and searching
- Two pointers
- Sliding window
- Stacks and queues
- Recursion and backtracking
- Dynamic programming
- Greedy
- Graphs
- Trees
- Bit manipulation
- Classes
- Iterators and generators
- Parsing
- Simulation
- Python idioms
- Regular expressions
- Codes and ciphers
- Working with data
- Grids and matrices
- Games and puzzles
- Heaps
- Data structures
Or see every challenge, with study plans, today's challenge and duels.