摘要: Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that i != j, i != k, and j != k, and nums[i] + nums[j] + nums[k] 阅读全文
posted @ 2015-05-06 13:01 Grandyang 阅读(96043) 评论(24) 推荐(7) 编辑
摘要: // Write data FileStorage fs("test.yml", FileStorage::WRITE); fs << "MyString" << "123abc"; fs.release(); // Read data FileStorage ... 阅读全文
posted @ 2015-05-06 04:56 Grandyang 阅读(677) 评论(0) 推荐(0) 编辑
摘要: Given a string s, find the length of the longest substring without repeating characters. Example 1: Input: s = "abcabcbb" Output: 3 Explanation: The a 阅读全文
posted @ 2015-05-06 01:05 Grandyang 阅读(68690) 评论(27) 推荐(3) 编辑
Fork me on GitHub