Mid-Level
November 10, 2026Spot the bug: Data Analytics
One snippet. Find the bug, or prove there isn't one.
python
1def find_outliers(values: list[float], threshold: float) -> list[float]:
2 outliers = []
3 for v in values:
4 if abs(v) > threshold:
5 return [v]
6 return outliersClick the lines that carry the problem.
Your verdict
One attempt per day. The answer shows up right after.
Keep your streak
Create an account to keep your streak and track your progress.