自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 leetcode打卡 Longest Valid Parentheses

题目Given a string containing just the characters'(' and')', find the length of the longest valid (well-formed) parentheses substring.大意就是:给定一个只包含 '('和 ')' 的字符串,找出最长的包含有效括号的子串的长度。示例1:Input: "(()"Ou...

2018-10-29 12:40:09 139

原创 LeetCode 打卡 SameTree

题目Given two binary trees, write a function to check if they are the same or not.Two binary trees are considered the same if they are structurally identical and the nodes have the same value.大意就是判断给...

2018-10-21 19:13:16 100

原创 Spring注解开发之生命周期函数

Spring创建和销毁容器对象时会调用对象的创建和销毁函数,我们可以在这些生命周期函数中加入一些业务处理,去完成一些特定的功能生命周期-@Bean指定初始化和销毁方法.我们可以在@Bean组件中指定组件的init-method函数和destroy-method函数,在init-method和destroy-method函数中指定我们的初始化逻辑和销毁逻辑public class Car {...

2018-10-11 23:52:34 744

原创 leetcode打卡之ZigZag Conversion

题目The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility)P A H NA P L S I ...

2018-10-11 20:13:51 139

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除