摘要: 题目: Given a singly linked list, determine if it is a palindrome. Follow up: Could you do it in O(n) time and O(1) space? 题目解答:题目中要求在O(n)的时间复杂度和O(1)的空间 阅读全文
posted @ 2016-04-28 19:02 CodingGirl121 阅读(141) 评论(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 阅读全文
posted @ 2016-04-28 14:36 CodingGirl121 阅读(156) 评论(0) 推荐(0)