Tag: hash-table
All the problems with the tag "hash-table".
-
LeetCode 36 - Valid Sudoku
Determine if a 9x9 Sudoku board is valid based on specific rules for rows, columns, and 3x3 sub-boxes.
-
Leetcode 347 - Top K Frequent Elements
Given an integer array and an integer k, find the k most frequent elements in the array.
-
Leetcode 49 - Group Anagrams
Given an array of strings, group anagrams together. An anagram is a word formed by rearranging the letters of a different word, using all original letters exactly once.
-
Leetcode 242 - Valid Anagram
Given two strings s and t, return true if t is an anagram of s, and false otherwise.
-
Leetcode 217 - Contains Duplicate
Given an integer array nums, return true if any value appears at least twice in the array, and return false if every element is distinct.
-
Leetcode 567 - Permutation in String
Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.
-
Leetcode 1 - Two Sum
Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.