qzjs
qzjs
全部文章
分类
LeetCode(3)
剑指offer(Java实现)(38)
华为机试(1)
基础知识及算法(2)
未归档(42)
牛客网(华为机试)(1)
纠删码(1)
归档
标签
去牛客网
登录
/
注册
永不止步
全部文章
(共88篇)
剑指offer(7)斐波那契数列
public class Solution { public int Fibonacci(int n) { int a = 1,b = 1,c = 0; if(n <= 0){ return 0; }else if...
2019-03-17
0
412
剑指offer(6)旋转数组的最小数字
import java.util.ArrayList; public class Solution { public int minNumberInRotateArray(int [] array) { if(array.length == 0){ r...
2019-03-16
0
391
剑指offer(5)用两个栈实现队列
import java.util.Stack; public class Solution { Stack<Integer> stack1 = new Stack<Integer>(); Stack<Integer> stack2 = new S...
2019-03-16
0
433
剑指offer(4)重建二叉树
/** * Definition for binary tree * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { val...
2019-03-15
0
379
剑指offer(3)从尾到头打印链表
/** * public class ListNode { * int val; * ListNode next = null; * * ListNode(int val) { * this.val = val; * ...
2019-03-15
0
425
剑指offer(2)替换空格
public class Solution { public String replaceSpace(StringBuffer str) { if(str == null){ return null; } StringB...
2019-03-15
0
411
剑指offer(1)二维数组中的查找
public class Solution { public boolean Find(int target, int [][] array) { int row = 0; int col = array[0].length-1; while(...
2019-03-15
0
376
纠删码的学习摘录(一)
《面向纠删码存储集群的节点并发重构 黄建忠 曹强 黄思倜 谢长生》 分布式存储具有很高的性价比和扩展性,已成为大规模数据中心的主流存储解耦股,然而,分布式存储系统包含大量存储节点,节点失效是经常性事件。为了避免数据丢失,通常采用副本进行容错,对于PB级以内的数据集而言,3副本方案所增加...
2018-11-06
0
691
首页
上一页
1
2
3
4
5
6
7
8
9
下一页
末页