Tech Notes

Your project can be on or off. Your project's priority can be changed. Your job can be changed. But the technology is always heading north!

Saturday, November 8, 2014

IndexMinPQ

›
Index minimal priority queue combine the beauty of priority queue and functionality from array. It is a priority queue sorted by Key (Key ...
Monday, October 20, 2014

Yet the best explanation for Kerberos

›
http://windowsitpro.com/security/kerberos-active-directory
Saturday, October 18, 2014

Find a duplicate in array

›
Given an array of N elements in which each element is an integer between 1 and N-1, write an algorithm to find any duplicate. Your algorith...
Wednesday, October 15, 2014

Add Kerberos to Hadoop

›
Environment: CentOS 6.5; HW 1.3; Install Kerberos: yum install krb5-server krb5-libs krb5-auth-dialog krb5-workstation Intialize KDC: ...
Sunday, October 5, 2014

Insert a node to red-black tree: LLRB algorithm is doing the best job!

›
    private Node put(Node h, Key key, Value val) {         if (h == null) return new Node(key, val, RED, 1);         int cmp = key.compar...
Saturday, September 27, 2014

Magic of the array

›
1. Union find:     public void union(int p, int q) {         int rootP = find(p);         int rootQ = find(q);         if (rootP == roo...
Sunday, August 31, 2014

Write ORC file

›
First of all, there is no way to write ORC file for hive-exec-0.12 or earlier version since OrcStruct is package private for these old ver...
1 comment:
‹
›
Home
View web version
Powered by Blogger.