05 2020 档案

摘要:题目如下: 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 - 阅读全文
posted @ 2020-05-29 05:58 seyjs 阅读(230) 评论(0) 推荐(0)
摘要:题目如下: 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 阅读全文
posted @ 2020-05-29 05:55 seyjs 阅读(240) 评论(0) 推荐(0)
摘要:题目如下: 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. 阅读全文
posted @ 2020-05-29 05:49 seyjs 阅读(283) 评论(0) 推荐(0)
摘要:题目如下: 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 阅读全文
posted @ 2020-05-29 05:46 seyjs 阅读(181) 评论(0) 推荐(0)
摘要:题目如下: 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 阅读全文
posted @ 2020-05-22 22:26 seyjs 阅读(254) 评论(0) 推荐(0)
摘要:题目如下: 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 阅读全文
posted @ 2020-05-22 22:24 seyjs 阅读(241) 评论(0) 推荐(0)