Posted inInterview Questions
Valid Anagram
Leetcode#242 Problem StatementExample 1Example 2Golang solutionOptimised codeOutput Problem Statement Given two strings s and t, return true if t is an anagram of s, and false otherwise. Example 1 Input: s = "anagram", t = "nagaram" Output: true Example 2 Input: s = "rat",…