随笔分类 -  LeetCode

摘要:ind 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 sh 阅读全文
posted @ 2018-03-18 23:21 Pretty9 阅读(136) 评论(0) 推荐(0)
摘要:Given a sorted array, remove the duplicates in-place such that each element appear only once and return the new length. Do not allocate extra space fo 阅读全文
posted @ 2018-03-17 23:28 Pretty9 阅读(128) 评论(0) 推荐(0)
摘要:Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. Example: 阅读全文
posted @ 2018-03-17 23:09 Pretty9 阅读(107) 评论(0) 推荐(0)
摘要:Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. The brackets must close in the 阅读全文
posted @ 2018-03-17 22:48 Pretty9 阅读(160) 评论(0) 推荐(0)
摘要:7. Reverse Integer 7. Reverse Integer 7. Reverse Integer 7. Reverse Integer DescriptionHintsSubmissionsDiscussSolution DescriptionHintsSubmissionsDisc 阅读全文
posted @ 2017-11-10 22:38 Pretty9 阅读(413) 评论(0) 推荐(0)
摘要:2. Add Two Numbers 2. Add Two Numbers 2. Add Two Numbers 2. Add Two Numbers DescriptionHintsSubmissionsDiscussSolution DescriptionHintsSubmissionsDisc 阅读全文
posted @ 2017-11-10 22:25 Pretty9 阅读(198) 评论(0) 推荐(0)
摘要:Add to List 1. Two Sum Add to List 1. Two Sum Add to List Add to List Add to List Add to List 1. Two Sum 1. Two Sum DescriptionHintsSubmissionsDiscuss 阅读全文
posted @ 2017-11-10 22:24 Pretty9 阅读(115) 评论(0) 推荐(0)