摘要:
题目如下: Given a binary tree where node values are digits from 1 to 9. A path in the binary tree is said to be pseudo-palindromic if at least one permuta 阅读全文
摘要:
题目如下: Given a string s and an integer k. Return the maximum number of vowel letters in any substring of s with length k. Vowel letters in English are 阅读全文
摘要:
题目如下: Given a sentence that consists of some words separated by a single space, and a searchWord. You have to check if searchWord is a prefix of any w 阅读全文
摘要:
题目如下: Given the array favoriteCompanies where favoriteCompanies[i] is the list of favorites companies for the ith person (indexed from 0). Return the 阅读全文
摘要:
题目如下: Given a sentence text (A sentence is a string of space-separated words) in the following format: First letter is in upper case. Each word in tex 阅读全文
摘要:
题目如下: Given two integer arrays startTime and endTime and given an integer queryTime. The ith student started doing their homework at the time startTim 阅读全文
摘要:
题目如下: Given a binary tree root, a node X in the tree is named good if in the path from root to X there are no nodes with a value greater than X. Retur 阅读全文
摘要:
题目如下: Given an integer n, return a list of all simplified fractions between 0 and 1 (exclusive) such that the denominator is less-than-or-equal-to n. 阅读全文
摘要:
题目如下: Given a string s, the power of the string is the maximum length of a non-empty substring that contains only one unique character. Return the pow 阅读全文
摘要:
题目如下: Given an array of integers arr. We want to select three indices i, j and k where (0 <= i < j <= k < arr.length). Let's define a and b as follows 阅读全文