摘要: //// main.swift// leetcode02//// Created by GuoLa on 16/1/21.// Copyright © 2016年 GuoLa. All rights reserved.//import Foundationfunc input() -> St... 阅读全文
posted @ 2016-01-22 00:20 toon的泥瓦匠 阅读(458) 评论(0) 推荐(0)
摘要: class TwoSum { func sumTow(nums: [Int], target: Int)->[Int]{ var ret:[Int]=[0,0]; for (var x=0;x<nums.count;x++){ ... 阅读全文
posted @ 2016-01-22 00:17 toon的泥瓦匠 阅读(480) 评论(0) 推荐(0)