2014年9月16日

[leetcode] Add Binary @Python

摘要: 题目:https://oj.leetcode.com/problems/add-binary/Given two binary strings, return their sum (also a binary string).For example,a = "11"b = "1"Return "10... 阅读全文

posted @ 2014-09-16 09:32 AIDasr 阅读(934) 评论(0) 推荐(0) 编辑

[leetcode] Valid Palindrome @ Python

摘要: 原题地址:https://oj.leetcode.com/problems/valid-palindrome/题意:Given a string, determine if it is a palindrome, considering only alphanumeric characters an... 阅读全文

posted @ 2014-09-16 07:09 AIDasr 阅读(619) 评论(0) 推荐(0) 编辑

[leetcode] LRU Cache @ Python

摘要: Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset.get(key)- Get the valu... 阅读全文

posted @ 2014-09-16 02:50 AIDasr 阅读(820) 评论(0) 推荐(0) 编辑

导航