摘要:
题目如下: Given alphanumeric string s. (Alphanumeric string is a string consisting of lowercase English letters and digits). You have to find a permutatio 阅读全文
摘要:
题目如下: A happy string is a string that: consists only of letters of the set ['a', 'b', 'c']. s[i] != s[i + 1] for all values of i from 1 to s.length - 阅读全文
摘要:
题目如下: Given an array of integers nums, you start with an initial positive value startValue. In each iteration, you calculate the step by step sum of s 阅读全文
摘要:
题目如下: HTML entity parser is the parser that takes HTML code as input and replace all the entities of the special characters by the characters itself. 阅读全文
摘要:
题目如下: Given the array queries of positive integers between 1 and m, you have to process all queries[i] (from i=0 to i=queries.length-1) according to t 阅读全文
摘要:
题目如下: Given an array of string words. Return all strings in words which is substring of another word in any order. String words[i] is substring of wor 阅读全文
摘要:
题目如下: Given a number s in their binary representation. Return the number of steps to reduce it to 1 under the following rules: If the current number i 阅读全文
摘要:
题目如下: Given the array nums, obtain a subsequence of the array whose sum of elements is strictly greater than the sum of the non included elements in s 阅读全文
摘要:
题目如下: Given an integer n. Each number from 1 to n is grouped according to the sum of its digits. Return how many groups have the largest size. Example 阅读全文
摘要:
题目如下: Implement the class UndergroundSystem that supports three methods: 1. checkIn(int id, string stationName, int t) A customer with id card equal t 阅读全文