• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
lychnis
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理
上一页 1 2 3 4 5 6 7 8 9 下一页

2019年10月22日

32. Longest Valid Parentheses
摘要: Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring. Example 1: Exampl 阅读全文
posted @ 2019-10-22 23:05 lychnis 阅读(126) 评论(0) 推荐(0)
 
 

2019年10月19日

42. Trapping Rain Water
摘要: Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. 阅读全文
posted @ 2019-10-19 20:11 lychnis 阅读(166) 评论(0) 推荐(0)
 
41. First Missing Positive
摘要: 41. First Missing Positive Hard 2193655FavoriteShare 41. First Missing Positive Hard 2193655FavoriteShare Hard Given an unsorted integer array, find t 阅读全文
posted @ 2019-10-19 19:40 lychnis 阅读(91) 评论(0) 推荐(0)
 
40. Combination Sum II
摘要: Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidates where the candidate numb 阅读全文
posted @ 2019-10-19 19:22 lychnis 阅读(114) 评论(0) 推荐(0)
 
39. Combination Sum
摘要: Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), find all unique combinations in candidates where the 阅读全文
posted @ 2019-10-19 19:12 lychnis 阅读(94) 评论(0) 推荐(0)
 
38. Count and Say
摘要: The count-and-say sequence is the sequence of integers with the first five terms as following: 1 is read off as "one 1" or 11.11 is read off as "two 1 阅读全文
posted @ 2019-10-19 18:53 lychnis 阅读(116) 评论(0) 推荐(0)
 
36. Valid Sudoku
摘要: Determine if a 9x9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules: A partially filled sudoku which 阅读全文
posted @ 2019-10-19 18:19 lychnis 阅读(129) 评论(0) 推荐(0)
 
 

2019年10月16日

19. Remove Nth Node From End of List
摘要: Given a linked list, remove the n-th node from the end of list and return its head. Example: Note: Given n will always be valid. Follow up: Could you 阅读全文
posted @ 2019-10-16 22:43 lychnis 阅读(124) 评论(0) 推荐(0)
 
 

2019年10月15日

23. Merge k Sorted Lists
摘要: Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. Example: 阅读全文
posted @ 2019-10-15 22:52 lychnis 阅读(144) 评论(0) 推荐(0)
 
 

2019年10月13日

7. Reverse Integer
摘要: Given a 32-bit signed integer, reverse digits of an integer. Example 1: Example 2: Example 3: Note:Assume we are dealing with an environment which cou 阅读全文
posted @ 2019-10-13 17:10 lychnis 阅读(83) 评论(0) 推荐(0)
 
 
上一页 1 2 3 4 5 6 7 8 9 下一页

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3