Valid Anagram – 242. Leetcode

An anagram is a word or phrase formed by rearranging the letters of another word or phrase. For example, “listen” and “silent” are anagrams. This problem asks you to determine if two given strings are anagrams of each other, but it should also work with Unicode characters like emojis or…

read more

3Sum – 15. LeetCode

The threeSum problem is a classic question that aims to find all unique triplets in an array that add up to zero. Given an integer array nums, the goal is to return a list of lists where each list represents a unique triplet that satisfies this condition. Solving this problem…

read more