摘要:
题目如下: There is a room with n bulbs, numbered from 0 to n-1, arranged in a row from left to right. Initially all the bulbs are turned off. Your task is 阅读全文
posted @ 2020-09-14 15:41
seyjs
阅读(213)
评论(0)
推荐(0)
摘要:
题目如下: Given a string s and an integer array indices of the same length. The string s will be shuffled such that the character at the ith position move 阅读全文
posted @ 2020-09-14 15:25
seyjs
阅读(296)
评论(0)
推荐(0)
摘要:
题目如下: You are given a string s, a split is called good if you can split s into 2 non-empty strings p and q where its concatenation is equal to s and t 阅读全文
posted @ 2020-09-14 15:20
seyjs
阅读(388)
评论(0)
推荐(0)
摘要:
题目如下: Given an array of integers arr. Return the number of sub-arrays with odd sum. As the answer may grow large, the answer must be computed modulo 1 阅读全文
posted @ 2020-09-14 15:12
seyjs
阅读(271)
评论(0)
推荐(0)
摘要:
题目如下: Given two non-negative integers low and high. Return the count of odd numbers between low and high (inclusive). Example 1: Input: low = 3, high 阅读全文
posted @ 2020-09-14 15:03
seyjs
阅读(235)
评论(0)
推荐(0)
摘要:
题目如下: Given numBottles full water bottles, you can exchange numExchange empty water bottles for one full water bottle. The operation of drinking a ful 阅读全文
posted @ 2020-09-14 14:55
seyjs
阅读(325)
评论(0)
推荐(0)
摘要:
题目如下: You are given an undirected weighted graph of n nodes (0-indexed), represented by an edge list where edges[i] = [a, b] is an undirected edge con 阅读全文
posted @ 2020-09-14 14:52
seyjs
阅读(320)
评论(0)
推荐(0)
浙公网安备 33010602011771号