DistillPrep
PythonGenAI
Coming Soon
SML System Design
NNLP
MMachine Learning
DDeep Learning
QDB & SQL
TDS & Statistics
OMLOps
CCloud (ML-focused)
Blog
P

Python Mastery

Curriculum Engine

Knowledge Tracks

Mastery Insight

"Focus on topics where you've failed edge-case questions. MAANG interviewers look for conceptual depth, not speed."

Live Engine
Select Topic
easyRegular Expressions

A developer uses re.match() to validate email addresses in a list. Some invalid entries pass validation. What is wrong?

Code
import re

emails = ["user@example.com", "user@example.com INVALID", "bad@"]

for email in emails:
    if re.match(r"[\w.]+@[\w.]+\.\w+", email):
        print(f"valid: {email}")
    else:
        print(f"invalid: {email}")
Progress0%
0 of 401 concepts cleared
Accuracy
0%
Solved
0

Question Index

Interview Tips

  • 1.Concepts over memorization.
  • 2.Identify trade-offs in every solution.