- 博客(7)
- 资源 (2)
- 收藏
- 关注
原创 [LeetCode]ZigZag Conversion
Description: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 N A
2017-05-31 08:06:40 240
原创 [LeetCode]Longest Substring Without Repeating Characters
Description: Given a string, find the length of the longest substring without repeating characters.Examples:Given “abcabcbb”, the answer is “abc”, which the length is 3.Given “bbbbb”, the answer is “b
2017-05-27 08:04:17 181
原创 [LeetCode]Reverse Integer
Description: Reverse digits of an integer.Example1: x = 123, return 321 Example2: x = -123, return -321Have you thought about this? Here are some good questions to ask before coding. Bonus points fo
2017-05-26 07:58:14 251
原创 [LeetCode]AddTwoNumbers
[LeetCode] Add Two Numbers Descrition: You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single
2017-05-25 00:02:32 205
原创 [LeetCode]Two Sum
[LeetCode]Two SumDescrition: Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, an
2017-05-23 07:32:28 244
原创 Linux操作系统下/etc/hosts文件详解
Linux操作系统下/etc/hosts文件详解 今天在公司的环境上部署一个服务时,发现通过指定的ip和端口号访问失败.于是用netstat -an | grep “port”,发现指定的端口号的ip在127.0.0.1上。后来通过修改/etc/hosts的配置文件,成功解决。 这个文件可以配置主机IP及其对应的主机名,对于服务器类型的linux系统其作用还试不可忽略的。
2017-05-19 08:13:28 2256
原创 JVM性能问题定位
JVM性能问题定位 最近有一个性能单需要解决,由于之前都没处理过性能问题,所以一开始都不知道怎么入手。以下是我问题解决定位的过程:1,通过lsof命令查找进程。首先,你要知道你的程序进程信息,可以在linux下通过lsof -i (端口号)获取相关的信息,主要是PID的信息。例如: 查看22端口现在运行的情况 # lsof -i :22COMMAND PID USER FD
2017-05-18 07:58:13 1245
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人