Crashing Misconfigured Pod
Reddit medium Kubernetes
Python
Quick Solution
Beginner mode
1def solve(nums, target):
2 """Find pairs that sum to target"""
3 seen = {}
4 result = []
5
6 for i, num in enumerate(nums):
7 complement = target - num
8 if complement in seen:
9 result.append((seen[complement], i))
10 seen[num] = i
11
12 return result
Case 1
Case 2
Case 3
Daily free limit reached
You've viewed 3 of 3 free questions today
· resets in 22h 10m
Upgrade to unlock
- 2 Active machines
- 2 vCPU · 8 GB RAM
- 20 GB storage
- 7-day labs data retention
- Unlimited time workspace data retention
- Labs and tutorials that need more powerful machines
- All interviews, including premium interviews
- + Everything in Free
Sign in to save your progress
Sign in to save your progress Sign In
Track
| Question | Difficulty | Company | Access |
|---|
Need more practice in this area? Explore more questions →