DEV Community

Harsha S
Harsha S

Posted on

Day 5 100 Days Of Code Challenge:- Solved Valid Anagram Problem

I solved it both in python and java code

In python, Using defaultdict
In java, using HashMap and then comparing with the .entrySet()

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay