随笔分类 -  Leetcode

摘要:Description: Given an integer array arr and an integer k, modify the array by repeating it k times. For example, if arr = [1, 2] and k = 3 then the mo 阅读全文
posted @ 2020-01-06 20:35 zhaoyinghe 阅读(230) 评论(0) 推荐(0)
摘要:Description: Given a circular array C of integers represented by A, find the maximum possible sum of a non empty subarray of C. Here, a circular array 阅读全文
posted @ 2020-01-06 19:50 zhaoyinghe 阅读(138) 评论(0) 推荐(0)
摘要:Description There are n items each belonging to zero or one of m groups where group[i] is the group that the i th item belongs to and it's equal to 1 阅读全文
posted @ 2020-01-04 20:16 zhaoyinghe 阅读(439) 评论(0) 推荐(0)
摘要:Description You are given a square board of characters. You can move on the board starting at the bottom right square marked with the character 'S'. Y 阅读全文
posted @ 2019-12-29 15:05 zhaoyinghe 阅读(275) 评论(0) 推荐(0)