摘要: Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example,"A man, a plan, a canal: Pan 阅读全文
posted @ 2016-10-16 13:55 微微程序媛 阅读(123) 评论(0) 推荐(0)
摘要: 118. Pascal's Triangle Given numRows, generate the first numRows of Pascal's triangle. For example, given numRows = 5,Return 阅读全文
posted @ 2016-10-16 13:53 微微程序媛 阅读(131) 评论(0) 推荐(0)
摘要: Find the total area covered by two rectilinear rectangles in a 2D plane. Each rectangle is defined by its bottom left corner and top right corner as s 阅读全文
posted @ 2016-10-16 12:49 微微程序媛 阅读(159) 评论(0) 推荐(0)
摘要: A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down). Find all strobogrammatic numbers that are o 阅读全文
posted @ 2016-10-16 08:12 微微程序媛 阅读(183) 评论(0) 推荐(0)
摘要: A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down). Write a function to determine if a number i 阅读全文
posted @ 2016-10-16 08:11 微微程序媛 阅读(145) 评论(0) 推荐(0)
摘要: Given a string which consists of lowercase or uppercase letters, find the length of the longest palindromes that can be built with those letters. This 阅读全文
posted @ 2016-10-16 06:09 微微程序媛 阅读(207) 评论(0) 推荐(1)