摘要: //// 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的泥瓦匠 阅读(447) 评论(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的泥瓦匠 阅读(474) 评论(0) 推荐(0) 编辑