Solving LeetCode 929 with HashSet and String Manipulation

----Back to solving and staying consistent. Solved: * Unique Email Addresses (LeetCode 929) * Approach: Used a HashSet to store normalized emails by: • Ignoring everything after ‘+’ in the local name • Removing all ‘.’ from the local name • Keeping the domain unchanged * Key Learning: String manipulation + hashing can simplify problems that look complex at first. #LeetCode #DSA #Java #ProblemSolving

  • text

To view or add a comment, sign in

Explore content categories