Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You…
My memo and playground
Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You…
Given an array of strings strs, group the anagrams together. You can return the answer in any order. An Anagram is a wor…
Found the answer on stackoverflow https://stackoverflow.com/a/68663970 The issue is the current login user cannot access docker. Open your terminal an…
Given two strings s and t, return true if t is an anagram of s, and false otherwise. An Anagram…
Given a pattern and a string s, find if s follows the same pattern. Here follow means a full match, such that there…
Given two strings s and t, determine if they are isomorphic. Two strings s and t are isomorphic if the charact…
Given two strings ransomNote and magazine, return true if ransomNote can be constructed by using the letters from&n…
You are given a sorted unique integer array nums. A range [a,b] is the set of all integers from a to b&nb…
Given a string s, find the length of the longest substring without repeating characters. Example 1:Input: s = “abcabcbbR…
Given an array of positive integers nums and a positive integer target, return the minimal length of a subarray&nb…