摘要:
Given an arraySofnintegers, are there elementsa,b,c, anddinSsuch thata+b+c+d= target? Find all unique quadruplets in the array which gives the sum of ... 阅读全文
posted @ 2015-10-17 07:09
茜茜的技术空间
阅读(157)
评论(0)
推荐(0)
摘要:
Given an arraySofnintegers, are there elementsa,b,cinSsuch thata+b+c= 0? Find all unique triplets in the array which gives the sum of zero.Note:Elemen... 阅读全文
posted @ 2015-10-17 03:26
茜茜的技术空间
阅读(253)
评论(0)
推荐(0)
摘要:
Given an array of integers that is alreadysorted in ascending order, find two numbers such that they add up to a specific target number.The function t... 阅读全文
posted @ 2015-10-17 02:52
茜茜的技术空间
阅读(357)
评论(0)
推荐(0)
摘要:
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu... 阅读全文
posted @ 2015-10-17 02:16
茜茜的技术空间
阅读(270)
评论(0)
推荐(0)
摘要:
You are playing the following Flip Game with your friend: Given a string that contains only these two characters:+and-, you and your friend take turns... 阅读全文
posted @ 2015-10-17 01:17
茜茜的技术空间
阅读(671)
评论(0)
推荐(0)
摘要:
You are playing the following Flip Game with your friend: Given a string that contains only these two characters:+and-, you and your friend take turns... 阅读全文
posted @ 2015-10-17 00:59
茜茜的技术空间
阅读(269)
评论(0)
推荐(0)
摘要:
You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 ston... 阅读全文
posted @ 2015-10-17 00:42
茜茜的技术空间
阅读(183)
评论(0)
推荐(0)

浙公网安备 33010602011771号