摘要:
Given two strings s and t which consist of only lowercase letters. String t is generated by random shuffling string s and then add one more letter at 阅读全文
posted @ 2017-05-12 21:10
hellowOOOrld
阅读(167)
评论(0)
推荐(0)
摘要:
Given an array of integers, 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Find all the elements that appear twi 阅读全文
posted @ 2017-05-12 20:23
hellowOOOrld
阅读(141)
评论(0)
推荐(0)
摘要:
Given an array of integers where 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Find all the elements of [1, n] 阅读全文
posted @ 2017-05-12 16:17
hellowOOOrld
阅读(148)
评论(0)
推荐(0)
摘要:
Given a binary array, find the maximum number of consecutive 1s in this array. Example 1: Input: [1,1,0,1,1,1] Output: 3 Explanation: The first two di 阅读全文
posted @ 2017-05-12 11:09
hellowOOOrld
阅读(186)
评论(0)
推荐(0)


浙公网安备 33010602011771号