Given an array of strings, group anagrams together. Example: Note:All inputs will be in...
Given an array of strings, group anagrams together. Example: Note:All inputs will be in...
A website domain like "discuss.leetcode.com" consists of various subdomains. At the top...
Given a non-empty array of integers, every element appears twice except for one. Find t...
Write a program to solve a Sudoku puzzle by filling the empty cells. A sudoku solution ...
Determine if a 9x9 Sudoku board is valid. Only the filled cells need to be validated ac...
Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic...
Given two integers representing the numerator and denominator of a fraction, return the...
Design a HashMap without using any built-in hash table libraries. To be specific, your ...
You are given a string, s, and a list of words, words, that are all of the same length....
Given an array nums of n integers and an integer target, are there elements a, b, c, an...
Given an array of integers, return indices of the two numbers such that they add up to ...
Given a non-empty array of integers, every element appears twice except for one. Find t...
Given a string, find the length of the longest substring without repeating characters. ...