Some Data Structure and Algorithm Code