---
title: "Discussion on \"242. Valid Anagram\" | Hashnode"
description: "Discussion on \"242. Valid Anagram\". [EASY] Link: https://leetcode.com/problems/valid-anagram/description/\nDescription: Given two strings s and t, return true if t is an anagram of s, and false otherwise.\n\nExample 1:\nInput: s = “listen” , t = “silent” & s = “heart”, t = “earth” …\nOutput..."
url: "https://hashnode.com/posts/242-valid-anagram/689c41b0df62a901afa649df"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [242\. Valid Anagram](https://dwnngnn.hashnode.dev/242-valid-anagram?utm_source=hashnode&utm_medium=feed)

\[EASY\] Link: https://leetcode.com/problems/valid-anagram/description/ Description: Given two strings s and t, return true if t is an anagram of s, and false otherwise. Example 1: Input: s = “listen” , t = “silent” & s = “heart”, t = “earth” … Output...

Aug 13, 2025 · 1 min read · dwnngnn.hashnode.dev  
Read the article

-   [#leetcode](https://hashnode.com/tag/leetcode)

## Written by

[Duong Thi Kim Ngan](https://hashnode.com/@dwnngnn0324)

@dwnngnn0324

  
[View profile](https://hashnode.com/@dwnngnn0324)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
