摘要: Given an input string (s) and a pattern (p), implement regular expression matching with support for '.' and ' '. '.' Matches any single character. ' ' 阅读全文
posted @ 2018-10-06 13:22 bernieloveslife 阅读(144) 评论(0) 推荐(0)
摘要: You have a list of points in the plane. Return the area of the largest triangle that can be formed by any 3 of the points. Example: Input: points = [[ 阅读全文
posted @ 2018-10-06 13:22 bernieloveslife 阅读(100) 评论(0) 推荐(0)
摘要: You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version of your product fails the quality c 阅读全文
posted @ 2018-10-06 13:22 bernieloveslife 阅读(98) 评论(0) 推荐(0)
摘要: A rectangle is represented as a list [x1, y1, x2, y2], where (x1, y1) are the coordinates of its bottom left corner, and (x2, y2) are the coordinates 阅读全文
posted @ 2018-10-06 13:22 bernieloveslife 阅读(117) 评论(0) 推荐(0)
摘要: Given a linked list, return the node where the cycle begins. If there is no cycle, return null. Note: Do not modify the linked list. Follow up: Can yo 阅读全文
posted @ 2018-10-06 13:22 bernieloveslife 阅读(100) 评论(0) 推荐(0)