5 独L无二

尚未进行身份认证

我要认证

一位颇为清高的女程序媛

等级
TA的排名 5w+

How to run background tasks In Dropwizard?

Running Background Tasks In DropWizard with GuavaRecently, I wrote a RESTful web service in Java 8 using Dropwizard. I like Dropwizard's simple, lightweight, getting-things-done attitude. In this post I will demonstrate how to combine Dropwizard'sManage.

2020-07-06 09:35:35

LeetCode136:只出现一次的数字

https://leetcode.com/problems/single-number/题目描述Given a non-emptyarray of integers, every element appears twice except for one. Find that single one.Note:Your algorithm should have a linear runtime complexity. Could you implement it without using .

2020-06-30 16:56:08

LeetCode131:分割回文串

https://leetcode.com/problems/palindrome-partitioning/问题描述Given a string s, partition s such that every substring of the partition is a palindrome.Return all possible palindrome partitioning of s.Example:Input:"aab"Output:[ ["aa","b"], [".

2020-06-28 10:51:17

常用 Git 命令清单

一般来说,日常使用Git只要记住下图6个命令,就可以了。但是熟练使用,恐怕要记住60~100个命令。下面是我整理的常用 Git 命令清单。几个专用名词的译名如下。Workspace:工作区 Index / Stage:暂存区 Repository:仓库区(或本地仓库) Remote:远程仓库一、新建代码库# 在当前目录新建一个Git代码库$ git init# 新建一个目录,将其初始化为Git代码库$ git init [project-name]# 下载一个

2020-06-24 17:38:27

LeetCode130:被包围的区域

https://leetcode.com/problems/surrounded-regions/问题描述Given a 2D board containing 'X' and 'O' (the letter O), capture all regions surrounded by 'X'.A region is captured by flipping all 'O's into 'X's in that surrounded region.Example:X X X XX O

2020-06-24 09:11:35

LeetCode128:最长连续子序列

https://leetcode.com/problems/longest-consecutive-sequence/问题描述Given an unsorted array of integers, find the length of the longest consecutive elements sequence.Your algorithm should run in O(n) complexity.Example:Input:[100, 4, 200, 1, 3, 2]O.

2020-06-23 09:40:09

通过 Kubernetes Java Client API 操作Kubernetes Cluster

https://blog.csdn.net/lw277232240/article/details/97282278

2020-06-01 15:30:58

LeeCode127:单词接龙

https://leetcode.com/problems/word-ladder/问题描述Given two words (beginWord and endWord), and a dictionary's word list, find the length of shortest transformation sequence from beginWord to endWord, such that:Only one letter can be changed at a time. E

2020-05-25 18:32:33

LeetCode125:有效的回文串

https://leetcode.com/problems/valid-palindrome/问题描述Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.Note:For the purpose of this problem, we define empty string as valid palindrome.Exampl.

2020-05-19 18:26:43

LeetCode124: 二叉树中的最大路径和

https://leetcode.com/problems/binary-tree-maximum-path-sum/问题描述Given a non-empty binary tree, find the maximum path sum.For this problem, a path is defined as any sequence of nodes from some sta...

2020-05-07 12:05:59

GDB debug with parameters

gdb --args executablename arg1 arg2 arg3

2020-03-20 11:11:36

Vim查找全匹配字符串

/\<string_to_exact_match\>

2020-02-27 13:52:21

LeetCode122:买卖股票的最佳时机 II

https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/问题描述Say you have an array for which the ith element is the price of a given stock on day i.Design an algorithm to find the maximu...

2020-02-22 17:16:25

Docker cp 命令拷贝文件和文件夹

SRC_PATH does not end with /.the source directory is copied into this directorySRC_PATH does end with /.the content of the source directory is copied into this directory

2020-02-12 20:25:30

MAC安装Chrome之后,无法正常运行(闪退);MAC无法打开Chrome

https://blog.csdn.net/u010113247/article/details/79290633

2020-02-12 20:19:47

LeetCode121:买卖股票的最佳时机

https://leetcode.com/problems/best-time-to-buy-and-sell-stock问题描述Say you have an array for which the ith element is the price of a given stock on day i.If you were only permitted to complete at ...

2020-02-09 19:44:13

LeetCode118:杨辉三角

https://leetcode.com/problems/pascals-triangle/问题描述Given a non-negative integernumRows, generate the first numRows of Pascal's triangle.In Pascal's triangle, each number is the sum of the two ...

2020-02-09 17:32:34

LeetCode116:填充每个节点的下一个右侧节点指针

https://leetcode.com/problems/populating-next-right-pointers-in-each-node/问题描述You are given a perfect binary treewhereall leaves are on the same level, and every parent has two children. The bin...

2020-02-06 12:35:09

LeetCode108:把有序数组转换成二叉搜索树

https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree/问题描述Given an array where elements are sorted in ascending order, convert it to a height balanced BST.For this problem, a ...

2020-02-06 10:59:14

LeetCode105:由先序和中序构建二叉树

https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/问题描述Given preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume that du...

2020-02-05 18:38:52

查看更多

勋章 我的勋章
  • 持之以恒
    持之以恒
    授予每个自然月内发布4篇或4篇以上原创或翻译IT博文的用户。不积跬步无以至千里,不积小流无以成江海,程序人生的精彩需要坚持不懈地积累!
  • 勤写标兵Lv2
    勤写标兵Lv2
    授予每个自然周发布4篇到6篇原创IT博文的用户。本勋章将于次周周三上午根据用户上周的博文发布情况由系统自动颁发。