• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
xiaoba1203
记录leetcode之路
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 19 下一页

2016年10月25日

leetcode 97 Interleaving String ----- java
摘要: Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2. For example,Given:s1 = "aabcc",s2 = "dbbca", When s3 = "aadbbcbcac", ret 阅读全文
posted @ 2016-10-25 16:25 xiaoba1203 阅读(223) 评论(0) 推荐(0)
 
 

2016年10月21日

leetcode 95 Unique Binary Search Trees II ----- java
摘要: Given an integer n, generate all structurally unique BST's (binary search trees) that store values 1...n. For example,Given n = 3, your program should 阅读全文
posted @ 2016-10-21 18:46 xiaoba1203 阅读(176) 评论(0) 推荐(0)
 
 

2016年10月20日

leetcode 96 Unique Binary Search Trees ----- java
摘要: Given n, how many structurally unique BST's (binary search trees) that store values 1...n? For example,Given n = 3, there are a total of 5 unique BST' 阅读全文
posted @ 2016-10-20 22:45 xiaoba1203 阅读(116) 评论(0) 推荐(0)
 
leetcode 94 Binary Tree Inorder Traversal ----- java
摘要: Given a binary tree, return the inorder traversal of its nodes' values. For example:Given binary tree [1,null,2,3], return [1,3,2]. Note: Recursive so 阅读全文
posted @ 2016-10-20 19:02 xiaoba1203 阅读(207) 评论(0) 推荐(0)
 
leetcode 93 Restore IP Addresses ----- java
摘要: Given a string containing only digits, restore it by returning all possible valid IP address combinations. For example:Given "25525511135", return ["2 阅读全文
posted @ 2016-10-20 18:23 xiaoba1203 阅读(306) 评论(0) 推荐(0)
 
leetcode 92 Reverse Linked List II ----- java
摘要: Reverse a linked list from position m to n. Do it in-place and in one-pass. For example:Given 1->2->3->4->5->NULL, m = 2 and n = 4, return 1->4->3->2- 阅读全文
posted @ 2016-10-20 16:37 xiaoba1203 阅读(226) 评论(0) 推荐(0)
 
leetcode 91 Decode Ways ----- java
摘要: A message containing letters from A-Z is being encoded to numbers using the following mapping: Given an encoded message containing digits, determine t 阅读全文
posted @ 2016-10-20 15:19 xiaoba1203 阅读(309) 评论(0) 推荐(0)
 
 

2016年10月19日

leetcode 90 Subsets II ----- java
摘要: Given a collection of integers that might contain duplicates, nums, return all possible subsets. Note: The solution set must not contain duplicate sub 阅读全文
posted @ 2016-10-19 23:25 xiaoba1203 阅读(619) 评论(0) 推荐(0)
 
leetcode 89 Gray Code ----- java
摘要: The gray code is a binary numeral system where two successive values differ in only one bit. Given a non-negative integer n representing the total num 阅读全文
posted @ 2016-10-19 22:06 xiaoba1203 阅读(290) 评论(0) 推荐(0)
 
leetcode 88 Merge Sorted Array ----- java
摘要: Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note:You may assume that nums1 has enough space (size tha 阅读全文
posted @ 2016-10-19 22:04 xiaoba1203 阅读(139) 评论(0) 推荐(0)
 
 
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 19 下一页

公告


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