摘要:
【题目】 An array is monotonic if it is either monotone increasing or monotone decreasing. An array A is monotone increasing if for all i <= j, A[i] <= A[ 阅读全文
posted @ 2019-01-23 18:23
xxxinn
阅读(132)
评论(0)
推荐(0)
摘要:
【题目】 Given an array A of non-negative integers, half of the integers in A are odd, and half of the integers are even. Sort the array so that whenever 阅读全文
posted @ 2019-01-23 17:57
xxxinn
阅读(121)
评论(0)
推荐(0)
摘要:
【题目】 Given an array A of non-negative integers, return an array consisting of all the even elements of A, followed by all the odd elements of A. You m 阅读全文
posted @ 2019-01-23 17:47
xxxinn
阅读(146)
评论(0)
推荐(0)
摘要:
【题目】 The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed 阅读全文
posted @ 2019-01-23 17:35
xxxinn
阅读(148)
评论(0)
推荐(0)

浙公网安备 33010602011771号