2017年8月26日

LeetCode: 136 Single Number(easy)

摘要: 题目: Given an array of integers, every element appears twice except for one. Find that single one. Note:Your algorithm should have a linear runtime com 阅读全文

posted @ 2017-08-26 11:36 玲珑子 阅读(133) 评论(0) 推荐(0) 编辑

LeetCode: 292 Nim Game(easy)

摘要: 题目: 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 阅读全文

posted @ 2017-08-26 10:52 玲珑子 阅读(89) 评论(0) 推荐(0) 编辑

LeetCode: 521 Longest Uncommon Subsequence I(easy)

摘要: 题目: anysubsequence of the other strings. A subsequence is a sequence that can be derived from one sequence by deleting some characters without changin 阅读全文

posted @ 2017-08-26 09:32 玲珑子 阅读(118) 评论(0) 推荐(0) 编辑

导航