摘要:
题目要求 We are given an array A of N lowercase letter strings, all of the same length. Now, we may choose any set of deletion indices, and for each strin 阅读全文
摘要:
题目要求 Given a binary matrix A, we want to flip the image horizontally, then invert it, and return the resulting image. To flip an image horizontally me 阅读全文
摘要:
题目要求 Given an array A of non-negative integers, return an array consisting of all the even elements of A, followed by all the odd elements of A. You m 阅读全文
摘要:
题目要求 International Morse Code defines a standard encoding where each letter is mapped to a series of dots and dashes, as follows: "a" maps to ".-", "b 阅读全文
摘要:
题目要求 In a array A of size 2N, there are N+1 unique elements, and exactly one of these elements is repeated N times. Return the element repeated N time 阅读全文
摘要:
题目要求 Implement function ToLowerCase() that has a string parameter str, and returns the same string in lowercase. 题目分析及思路 题目要求返回一个字符串的小写形式。可以直接使用lower( 阅读全文
摘要:
题目要求 A binary tree is univalued if every node in the tree has the same value. Return true if and only if the given tree is univalued. 题目分析及思路 题目要求当输入的 阅读全文
摘要:
题目要求 Every email consists of a local name and a domain name, separated by the @ sign. For example, in alice@leetcode.com, alice is the local name, and 阅读全文
摘要:
题目要求 You're given strings J representing the types of stones that are jewels, and S representing the stones you have. Each character in S is a type of 阅读全文