Tag: hash table
Given an array of integers and an integer k, you need to find the total number of continuous subarrays whose sum equals to k. Example 1: Input:nums = , …
On a N * N grid, we place some 1 * 1 * 1 cubes that are axis-aligned with the x, y, and z axes. Each value v = …
Given an array A of strings made only from lowercase letters, return a list of all characters that show up in all strings within the list (including duplicates). For …
Given an array of string that is in the format of “count domain”, count the subdomain visits. For example, input the output is – could be in any order. …
Given any string (assume both lowercase or uppercase letters), check if a permutation of the string could form a palindrome. For example, canPermutePalindrome(“aab”) = true while canPermutePalindrome(“ab”) = false. …