两鬓已不能斑白
码龄12年
关注
提问 私信
  • 博客:1,529,481
    社区:46
    1,529,527
    总访问量
  • 407
    原创
  • 2,314,865
    排名
  • 818
    粉丝
  • 2
    铁粉
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:北京市
  • 加入CSDN时间: 2013-04-23
博客简介:

两鬓已不能斑白的专栏

博客描述:
临渊羡鱼,不如退而结网
查看详细资料
个人成就
  • 获得798次点赞
  • 内容获得311次评论
  • 获得2,448次收藏
  • 代码片获得1,523次分享
创作历程
  • 3篇
    2020年
  • 4篇
    2019年
  • 23篇
    2018年
  • 362篇
    2017年
  • 16篇
    2016年
  • 55篇
    2015年
成就勋章
TA的专栏
  • Linux入门笔记
    7篇
  • Java基础学习
    28篇
  • 笔试题小记
    36篇
  • 面试题梳理
    77篇
  • LeetCode刷题笔记
    74篇
  • OpenCV学习笔记
    39篇
  • 剑指Offer代码笔记
    69篇
  • OpenCV
    41篇
  • 计算机视觉和图形学
    6篇
  • 剑指Offer
    71篇
  • LeetCode
    96篇
  • 笔试面试
    72篇
  • 基础知识
    43篇
  • Android
    6篇
  • Ubuntu
    14篇
  • MySQL
    14篇
  • Java
    49篇
  • Python
    34篇
  • PHP
    3篇
  • C/C++
    17篇
  • BMap
    7篇
  • Coreseek
    4篇
  • Design Patterns
    5篇
  • Respberry
    4篇
  • Arduino
    1篇
  • 数据
    1篇
  • 网络
    5篇
  • 前端
    1篇
  • Linux
    7篇
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

2020-11-30

Longest Valid ParenthesesGiven a string containing just the characters ‘(’ and ‘)’, find thelength of the longest valid (well-formed) parentheses substring.Example 1:Input: s = “(()”Output: 2 Explanation: The longest valid parenthesessubstring is .
原创
发布博客 2020.11.30 ·
380 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

2020-11-30

Merge k Sorted ListsYou are given an array of k linked-lists lists, each linked-list is sorted in ascending order.Merge all the linked-lists into one sorted linked-list and return it.Example 1:Input: lists = [[1,4,5],[1,3,4],[2,6]]Output: [1,1,2,3,.
原创
发布博客 2020.11.30 ·
332 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

spring-data-jpa 是如何渲染查询的

spring-data-jpa 是如何渲染查询的1、 spring-data-jpa是什么, 它和jpa有什么关系?jpa: Java Persistence API, 是一种规范, 定义了一系列的接口, 用于将对象映射到表上.Hibernate: 是jpa的一种实现spring-data-jpa spring全家通成员之一, 也是jpa的一种实现, 并且是hibernate的封装, 底层调用的是hibernate三者的关系可以参考下图(图片源自网络)从上图中可以看出, spring-data
原创
发布博客 2020.06.25 ·
779 阅读 ·
0 点赞 ·
1 评论 ·
1 收藏

897. Increasing Order Search Tree

897. Increasing Order Search TreeGiven a tree, rearrange the tree in in-order so that the leftmost node in the tree is now the root of the tree, and every node has no left child and only 1 right chil...
原创
发布博客 2019.03.27 ·
348 阅读 ·
3 点赞 ·
0 评论 ·
0 收藏

942. DI String Match

942. DI String Match下班到家后,刷了刷leetcode,发现了一道很有意思的小题,题目如下:Given a string S that only contains “I” (increase) or “D” (decrease), let N = S.length.Return any permutation A of [0, 1, …, N] such that fo...
原创
发布博客 2019.03.26 ·
281 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

LeetCode刷题笔记目录

1、Two Sumhttps://blog.csdn.net/u010429424/article/details/7764898927、Remove Elementhttps://blog.csdn.net/u010429424/article/details/7326056453、Maximum Subarrayhttps://blog.csdn.net/u010429424/art...
原创
发布博客 2019.03.01 ·
517 阅读 ·
3 点赞 ·
0 评论 ·
1 收藏

692. Top K Frequent Words:HashMap排序

因为平时工作中较少能接触到HashMap的排序,因此周末借由一道leetcode上的小题,再写一写HashMap的排序代码,特此记录。原题如下:Top K Frequent WordsGiven a non-empty list of words, return the k most frequent elements.Your answer should be sorted by f...
原创
发布博客 2019.01.06 ·
527 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

Leetcode 215. Kth Largest Element in an Array

Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element.Example 1:Input: [3,2,1,5,6,4] and k = 2Output: 5Exampl...
原创
发布博客 2018.12.31 ·
223 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Leetcode 946. Validate Stack Sequences

Given two sequences pushed and popped with distinct values, return true if and only if this could have been the result of a sequence of push and pop operations on an initially empty stack.Example 1:...
原创
发布博客 2018.12.23 ·
486 阅读 ·
1 点赞 ·
0 评论 ·
1 收藏

338. Counting Bits

Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate the number of 1’s in their binary representation and return them as an array.Example 1:Input: 2Output...
原创
发布博客 2018.11.11 ·
257 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Leetcode 703.Kth Largest Element in a Stream

Design a class to find the kth largest element in a stream. Note that it is the kth largest element in the sorted order, not the kth distinct element.Your KthLargest class will have a constructor whi...
原创
发布博客 2018.11.03 ·
361 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Java Exception、Error学习

Java Exception、Error学习一、Exception(异常)、Error(错误)均继承自Throwable,表示可以被抛出,需要使用catch捕获。IOException:I/O操作异常,一般在文件读写时捕获ClassNotFoundException:找不到指定类的异常(编译时Class.forName)TimeoutException:超时异常,Exception th...
原创
发布博客 2018.10.28 ·
278 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

yolo3 + python 找出图像中的汉字

yolo3 + python 识别二维码中的汉字源码下载地址https://github.com/lijialinneu/keras-yolo3-master/准备环境(1)python环境,安装anaconda3,我装的是python3.6版本(2)安装tensorflow(cpu版)、keras,直接用pip install 命令下载,或conda install命令(3)下载...
原创
发布博客 2018.10.21 ·
10922 阅读 ·
19 点赞 ·
11 评论 ·
79 收藏

leetcode 广搜小题两道

leetcode 广搜小题两道周末无聊,故刷两道小题,用的都是广搜的思想Minimum Depth of Binary TreeGiven a binary tree, find its minimum depth.The minimum depth is the number of nodes along the shortest path from the root node ...
原创
发布博客 2018.09.22 ·
429 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

783. Minimum Distance Between BST Nodes

Given a Binary Search Tree (BST) with the root node root, return the minimum difference between the values of any two different nodes in the tree.Example :Input: root = [4,2,6,1,3,null,null...
原创
发布博客 2018.09.09 ·
283 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

SQL join、left join小例子

最近在刷Leetcode中,遇到两道SQL小题,记录在此 join小例子: 181. Employees Earning More Than Their Managers 197. Rising Temperature left join 小例子: 175. Combine Two Tables181. Employees Earning More...
原创
发布博客 2018.09.09 ·
1458 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

690. Employee Importance

You are given a data structure of employee information, which includes the employee’s unique id, his importance value and his direct subordinates’ id. For example, employee 1 is the leader of employ...
原创
发布博客 2018.09.08 ·
236 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

888. Fair Candy Swap

**888. Fair Candy Swap**Alice and Bob have candy bars of different sizes: A[i] is the size of the i-th bar of candy that Alice has, and B[j] is the size of the j-th bar of candy that Bob has.Since...
原创
发布博客 2018.08.25 ·
516 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Leetcode 关于树的题:589. N-ary Tree Preorder Traversal 和 429. N-ary Tree Level Order Traversal

Given an n-ary tree, return the preorder traversal of its nodes’ values.For example, given a 3-ary tree:Return its preorder traversal as: [1,3,5,6,2,4].Note: Recursive solution is trivial, cou...
原创
发布博客 2018.08.25 ·
442 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

695. Max Area of Island

Given a non-empty 2D array grid of 0’s and 1’s, an island is a group of 1’s (representing land) connected 4-directionally (horizontal or vertical.) You may assume all four edges of the grid are surro...
原创
发布博客 2018.06.28 ·
313 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多