摘要:
题目如下: 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, an 阅读全文
摘要:
题目如下: Given an integer array A, and an integer target, return the number of tuples i, j, k such that i < j < k and A[i] + A[j] + A[k] == target. As th 阅读全文
摘要:
题目如下: Given an array A of 0s and 1s, divide the array into 3 non-empty parts such that all of these parts represent the same binary value. If it is po 阅读全文
摘要:
题目如下: A string of '0's and '1's is monotone increasing if it consists of some number of '0's (possibly 0), followed by some number of '1's (also possi 阅读全文
摘要:
题目如下: Your friend is typing his name into a keyboard. Sometimes, when typing a character c, the key might get long pressed, and the character will be 阅读全文
摘要:
题目如下: In a network of nodes, each node i is directly connected to another node j if and only if graph[i][j] = 1. Some nodes initial are initially infe 阅读全文