Given an arbitrary ransom note string and another string containing letters from all the magazines, write a function that will return true if the rans Read More
Given two strings s and t which consist of only lowercase letters. String t is generated by random shuffling string s and then add one more letter at Read More
Given two arrays, write a function to compute their intersection. Example:Given nums1 = [1, 2, 2, 1], nums2 = [2, 2], return [2]. 别人的思路 我还是太菜了! Read More