(1)web服务器连接很卡: 网络问题,网络延时,网络丢包 查看服务器的连接数,是不是同时连接人数太多,超过服务器的正常负载 查看日志 查看服务器的TCP连接情况,是不是被DDOS攻击 查看服务器内存使用量,是否某个应用出现问题;CPU 通过iostat查看,是不是服务器的IO吃紧 数据库,数据库的 ...
分类:
其他好文 时间:
2018-06-26 01:12:50
阅读次数:
214
一、前言 只有光头才能变强 回顾前面: "广州三本找Java实习经历" 上一篇写了自己面试的经历和一些在面试的时候遇到的题目(笔试题和面试题)。 我在面试前针对Java基础也花了不少的时间,期间也将自己写过的博文粗略地刷了一遍,同时也在网上 找了不少比较好的资料 (部分是没看完的)。在这里给大家分享 ...
分类:
编程语言 时间:
2018-06-24 22:35:48
阅读次数:
221
Implement a function to check if a binary tree is balanced. For the purpose of this question, a balanced tree is defined to be a tree such that the he ...
分类:
其他好文 时间:
2018-06-16 10:34:06
阅读次数:
169
Implement a function to check if a binary tree is a binary search tree. 这道题很经典,让我们判断一棵树是不是二叉查找树。但是首先要确定一下二叉查找树的定义,比如leetcode 98题中的定义左<根<右就可以直接通过判断中序遍历 ...
分类:
其他好文 时间:
2018-06-16 10:32:49
阅读次数:
156
Given a binary tree, design an algorithm which creates a linked list of all the nodes at each depth.(e.g., if you have a tree with depth D, you'll hav ...
分类:
其他好文 时间:
2018-06-16 01:01:26
阅读次数:
144
Given a sorted(increasing order) array with unique integer elements, write an algorithm to create a binary search tree with minimal height. 这道题给了我们一个从 ...
分类:
其他好文 时间:
2018-06-15 11:02:26
阅读次数:
161
Dropbox Interview – Design Hit Counter It starts with a simple question – if you are building a website, how do you count the number of visitors for t ...
分类:
其他好文 时间:
2018-06-13 15:15:15
阅读次数:
182
Design a Cache System Similar to our previous posts, we would like to select system design interview questions that are popular and practical so that ...
分类:
系统相关 时间:
2018-06-13 14:35:15
阅读次数:
369
package com.fh.interview.cache; /** * 事实上,Redis的高效性和灵活性正是得益于对于同一个对象类型采取不同的底层结构, * 并在必要的时候对二者进行转换;以及各种底层结构对内存的合理利用。 * * redis的数据结构 * String * List * Se... ...
分类:
其他好文 时间:
2018-06-09 19:49:42
阅读次数:
137
最近准备跳槽了,可能要从安卓转做javaweb,抓紧时间复习一下java的基础内容。正好在github上发现了crossoverJie的Java-Interview项目,就来逐项学习一下。 ——————————————————————————————————————————————————————— ...
分类:
编程语言 时间:
2018-06-09 18:59:30
阅读次数:
195