Skip to content
Jithendar
.com
Articles
News
Projects
About
Search
Open menu
Python practice
Roles
Problems
Leaderboard
Achievements
Python practice
Problems
Problems
29 problems for Backend Engineer. Read any of them; sign in to code, run and submit.
All roles
Python Developer
DevOps Engineer
AI Engineer
Generative AI Engineer
Forward Deployed Engineer
Platform Engineer
Site Reliability Engineer
Cloud Engineer
AWS Engineer
Backend Engineer
Data Engineer
Machine Learning Engineer
MLOps Engineer
Kubernetes Engineer
Infrastructure Automation Engineer
Security Engineer / DevSecOps
Full Stack Engineer
Software Development Engineer
Automation Engineer
Solutions Architect
All levels
Beginner
Easy
Medium
Hard
Expert
All topics
Strings
Lists and tuples
Loops and control flow
Functions
Formatting output
Dates and times
Classes and objects
Dataclasses
Decorators
Dictionaries
Sets
Stacks and queues
Hashing
Heaps
Tries
Sorting
Graphs
Intervals
Binary search
Dynamic programming
Simulation and state machines
asyncio
Threads and concurrency
HTTP and REST APIs
Pagination
Rate limiting
Validation and schemas
Streaming responses
Files and configuration
Log analysis
Monitoring and alerting
Infrastructure as code
CI/CD automation
Security automation
Kubernetes
AWS SDK (Boto3-style)
IAM and policies
Vectors and embeddings
Retrieval-augmented generation
LLM integration
AI agents and tools
MCP and JSON-RPC
Model evaluation
JSON
Parsing text
Regular expressions
ETL pipelines
SQL patterns in Python
Statistics
Exceptions
Retries and backoff
Resilience patterns
Context managers
Testing and test data
Caching
Generators and laziness
Time and space complexity
Filter
Classify request latencies
Loops and control flow · Lists and tuples
~5 min
Beginner
Count HTTP status classes
Dictionaries · Monitoring and alerting
~5 min
Beginner
Generate URL slugs
Strings
~8 min
Beginner
Collect every page from an API
Pagination · HTTP and REST APIs
~12 min
Easy
Cumulative histogram buckets
Monitoring and alerting · Statistics
~10 min
Easy
Exponential backoff schedule
Retries and backoff · Functions
~8 min
Easy
Keep the latest event per ID
Dictionaries · ETL pipelines
~10 min
Easy
Mask secrets in nested config
Security automation · Dictionaries
~12 min
Easy
Read a nested value by path
JSON · Parsing text
~12 min
Easy
Autocomplete with a trie
Tries · Sorting
~20 min
Medium
Build an LRU cache
Caching · Classes and objects · Time and space complexity
~20 min
Medium
Clean a JSON Lines export
ETL pipelines · JSON · Validation and schemas
~20 min
Medium
Compute an invoice with dataclasses
Dataclasses · Classes and objects · Formatting output
~20 min
Medium
Fetch concurrently with a limit
asyncio · Threads and concurrency
~20 min
Medium
p95 latency per route
Log analysis · Statistics · Parsing text
~20 min
Medium
Time code with a context manager
Context managers · Classes and objects · Exceptions
~15 min
Medium
Token bucket rate limiter
Rate limiting · Simulation and state machines
~20 min
Medium
Validate a request against a schema
Validation and schemas · JSON
~25 min
Medium
Write a retry decorator
Decorators · Retries and backoff · Exceptions
~20 min
Medium
Async worker pool with retries
asyncio · Retries and backoff · Threads and concurrency
~30 min
Hard
Implement a circuit breaker
Resilience patterns · Simulation and state machines · Classes and objects
~30 min
Hard
Parse a server-sent event stream
Streaming responses · Parsing text · Generators and laziness
~30 min
Hard
Partition keys with a consistent hash ring
Hashing · Binary search
~30 min
Hard
Sync through a rate-limited API
Rate limiting · Retries and backoff · Pagination
~35 min
Hard
Window functions in Python
SQL patterns in Python · Sorting · ETL pipelines
~30 min
Hard
Advance a Raft leader's commit index
Simulation and state machines · Sorting
~45 min
Expert
Exactly-once effects over at-least-once delivery
Simulation and state machines · Hashing · ETL pipelines
~45 min
Expert
Order events with vector clocks
Simulation and state machines · Dictionaries
~40 min
Expert
Route MCP tool calls over JSON-RPC
MCP and JSON-RPC · Validation and schemas · JSON
~60 min
Expert