Skip to content

Commit

Permalink
twelfth week homework
Browse files Browse the repository at this point in the history
  • Loading branch information
DonaldY committed May 22, 2017
1 parent d033f14 commit 84a4b0e
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions group24/Homework/12-TwelfthWeek/BinarySearchTree.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
package com.coding.basic.tree;

import java.util.ArrayList;
import java.util.List;

import com.coding.basic.queue.Queue;

public class BinarySearchTree<T extends Comparable> {

BinaryTreeNode<T> root;
public BinarySearchTree(BinaryTreeNode<T> root){
this.root = root;
}
public BinaryTreeNode<T> getRoot(){
return root;
}
public T findMin(){
return null;
}
public T findMax(){
return null;
}
public int height() {
return -1;
}
public int size() {
return -1;
}
public void remove(T e){

}
public List<T> levelVisit(){

return null;
}
public boolean isValid(){
return false;
}
public T getLowestCommonAncestor(T n1, T n2){
return null;

}
public List<T> getNodesBetween(T n1, T n2){
return null;
}

}

0 comments on commit 84a4b0e

Please sign in to comment.