- 博客(2)
- 收藏
- 关注
原创 Print BT using Java by layer
Print Binary Tree from Top to DownThe method print binary tree from top to downStart a new line for each layerPrint ‘null’ for nil nodes whose parent is not nullUse queue to search through each l...
2018-11-02 10:31:28 115
原创 Java 实现 Quicksort 和 Selection
Java 实现 Quicksort 和 SelectionQuickSortimport java.util.Arrays;import java.util.Random;public class Quicksort { private static int partition(int[] arr, int low, int high) { Random rand...
2018-11-01 10:36:11 132
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人